Files
linux/drivers
Dan Carpenter a77d60aec7 generic-adc-battery: Pointer math issue in gab_probe()
psy->properties is an enum (32 bit type) so adding sizeof() puts us four
times further along than we intended.  It should be cast to a char pointer
before doing the math.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
2012-11-16 18:36:11 -08:00
..
2012-10-15 14:45:51 -04:00
2012-10-24 16:58:53 +02:00
2012-10-17 15:53:03 -05:00
2012-10-16 18:07:12 -07:00