summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2013-03-14 14:30:20 +0100
committerGuenter Roeck <linux@roeck-us.net>2013-03-14 14:57:19 +0100
commit6975404fb9bcc3ca41946ce0506f97db30fb8705 (patch)
tree530eb057a39ca7a6822fe8054c644f8e9661e580 /drivers/of
parenthwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attrib... (diff)
downloadlinux-6975404fb9bcc3ca41946ce0506f97db30fb8705.tar.xz
linux-6975404fb9bcc3ca41946ce0506f97db30fb8705.zip
hwmon: (pmbus) Fix krealloc() misuse in pmbus_add_attribute()
If krealloc() returns NULL, it *doesn't* free the original. So any code of the form 'foo = krealloc(foo, …);' is almost certainly a bug. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions