Re: [PATCH v2] powerpc/powernv: hwmon driver for power values, fan rpm and temperature

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

 




On 05/28/2014 01:11 PM, Benjamin Herrenschmidt wrote:
On Wed, 2014-05-28 at 00:23 -0700, Guenter Roeck wrote:
Consider using of_property_read_u32().

+             sdata[count].id = *sensor_id;
+             sdata[count].type = type;
Especially since this is broken for Little Endian !

Neelesh, please make sure you test your patch on LE.

Cheers,
Ben.

Fixing it and will surely test on LE as well before posting.

- Neelesh


_______________________________________________
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