summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-09-28 11:56:36 +0200
committerLee Jones <lee.jones@linaro.org>2015-10-30 18:19:47 +0100
commitf3a654c5198b1de3e6241ab6a9d5c52295504970 (patch)
tree5a939b645442150e64df5576fe889bac1697c6d1 /include
parentmfd: da9052: Simplify function return logic (diff)
downloadlinux-f3a654c5198b1de3e6241ab6a9d5c52295504970.tar.xz
linux-f3a654c5198b1de3e6241ab6a9d5c52295504970.zip
mfd: intel_soc_pmic_bxtwc: 64 bit bug in bxtwc_val_store()
The call to kstrtoul() will corrupt memory on 64 bit systems because an int is 4 bytes and a long is 8. Also it's not a good idea to let users trigger a dev_err() because it just ends up flooding /var/log/messages so I removed the printk. Fixes: 2ddd2086ea9c ('mfd: add Intel Broxton Whiskey Cove PMIC driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions