Re: [PATCH 2/2] hwmon: (w83627ehf) Fix memory leak in probe function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 12, 2012 at 11:04:50AM -0700, Guenter Roeck wrote:

> The only thing I don't know for sure is if platform_set_drvdata(pdev,
> NULL); is still needed. It doesn't hurt, though, so I don't remove it.

Any driver relying on it has always been buggy, anything might happen to
the value while the driver isn't bound.  I keep thinking we should have
a debugging option to write random data there for unbound devices just
in case.

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux