summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2023-07-25 15:54:26 +0300
committerGuenter Roeck <linux@roeck-us.net>2023-07-25 17:56:47 +0300
commit0bd66784274a287beada2933c2c0fa3a0ddae0d7 (patch)
treea2afa3ddb7313f63eb239f25d924639a00081b38 /scripts/gdb/linux/utils.py
parent55aab08f1856894d7d47d0ee23abbb4bc4854345 (diff)
downloadlinux-0bd66784274a287beada2933c2c0fa3a0ddae0d7.tar.xz
hwmon: (pmbus_core) Fix NULL pointer dereference
Pass i2c_client to _pmbus_is_enabled to drop the assumption that a regulator device is passed in. This will fix the issue of a NULL pointer dereference when called from _pmbus_get_flags. Fixes: df5f6b6af01c ("hwmon: (pmbus/core) Generalise pmbus get status") Cc: stable@vger.kernel.org # v6.4 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com> Link: https://lore.kernel.org/r/20230725125428.3966803-2-Naresh.Solanki@9elements.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions