summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ad7314.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-06-19 08:00:00 -0700
committerGuenter Roeck <linux@roeck-us.net>2012-09-11 21:16:27 -0700
commit73d7c119255615a26070f9d6cdb722a166a29015 (patch)
tree0cd14b1cd889fb0e04a8d3e234bce9657ea2102c /drivers/hwmon/ad7314.c
parent55d512e245bc7699a8800e23df1a24195dd08217 (diff)
downloadlinux-73d7c119255615a26070f9d6cdb722a166a29015.tar.bz2
hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements
twl4030_madc_conversion uses do_avg and type structure elements of twl4030_madc_request. Initialize structure to avoid random operation. Fix for: Coverity CID 200794 Uninitialized scalar variable. Cc: Keerthy <j-keerthy@ti.com> Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org> Acked-by: Keerthy <j-keerthy@ti.com>
Diffstat (limited to 'drivers/hwmon/ad7314.c')
0 files changed, 0 insertions, 0 deletions