Re: [PATCH] hwmon (ina2xx) Fix NULL id pointer in probe()

2018-11-09 Thread Guenter Roeck
On Fri, Nov 09, 2018 at 04:42:14PM -0800, Nicolin Chen wrote: > When using DT configurations, the id pointer might turn out to > be NULL. Then the driver encounters NULL pointer access: > > Unable to handle kernel read from unreadable memory at vaddr 0018 > [...] > PC is at

[PATCH] hwmon (ina2xx) Fix NULL id pointer in probe()

2018-11-09 Thread Nicolin Chen
When using DT configurations, the id pointer might turn out to be NULL. Then the driver encounters NULL pointer access: Unable to handle kernel read from unreadable memory at vaddr 0018 [...] PC is at ina2xx_probe+0x114/0x200 LR is at ina2xx_probe+0x10c/0x200 [...] Kernel panic -

Re: [PATCH v6 00/10] hwmon and fsi: Add On-Chip Controller Driver

2018-11-09 Thread Guenter Roeck
On Thu, Nov 08, 2018 at 03:05:19PM -0600, Eddie James wrote: > From: Eddie James > > This series adds a hwmon driver to support the OCC on POWER8 and POWER9 > processors. The OCC is an embedded processor that provides realtime power and > thermal monitoring and management. > > The series also

Re: [PATCH v5 0/4] hwmon: (ina3221) Implement PM runtime to save power

2018-11-09 Thread Guenter Roeck
On Mon, Nov 05, 2018 at 12:48:39PM -0800, Nicolin Chen wrote: > This series patches implement PM runtime feature in the ina3221 hwmon > driver (PATCH-4). However, PATCH-[1:3] are required to make sure that > the PM runtime feature would be functional and safe. > Series applied to hwmon-next.