diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-06-19 19:00:00 +0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2012-09-12 08:16:27 +0400 |
commit | 73d7c119255615a26070f9d6cdb722a166a29015 (patch) | |
tree | 0cd14b1cd889fb0e04a8d3e234bce9657ea2102c /drivers/hwmon/ina2xx.c | |
parent | 55d512e245bc7699a8800e23df1a24195dd08217 (diff) | |
download | linux-73d7c119255615a26070f9d6cdb722a166a29015.tar.xz |
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/ina2xx.c')
0 files changed, 0 insertions, 0 deletions