diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-06-19 08:00:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-02 09:47:25 -0700 |
commit | bc2f6ff9239c013e9ad1ff5a64b86d85d7fc4a3f (patch) | |
tree | 8b33c254d503d27e8aa27ed3bbec5979c5157231 /drivers/hwmon/lm63.c | |
parent | d344b6d390854d7c5774e550171b75db50a330fe (diff) | |
download | kernel_samsung_smdk4412-bc2f6ff9239c013e9ad1ff5a64b86d85d7fc4a3f.zip kernel_samsung_smdk4412-bc2f6ff9239c013e9ad1ff5a64b86d85d7fc4a3f.tar.gz kernel_samsung_smdk4412-bc2f6ff9239c013e9ad1ff5a64b86d85d7fc4a3f.tar.bz2 |
hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements
commit 73d7c119255615a26070f9d6cdb722a166a29015 upstream.
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>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/lm63.c')
0 files changed, 0 insertions, 0 deletions