git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55d512e
)
hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements
author
Guenter Roeck
<linux@roeck-us.net>
Tue, 19 Jun 2012 15:00:00 +0000
(08:00 -0700)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 12 Sep 2012 04:16:27 +0000
(21:16 -0700)
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>
drivers/hwmon/twl4030-madc-hwmon.c
patch
|
blob
|
history
diff --cc
drivers/hwmon/twl4030-madc-hwmon.c
Simple merge