summaryrefslogtreecommitdiffstats
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-09-29 09:13:46 +0200
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-17 03:36:11 +0100
commita77d60aec70183faa68b7df4a3fa89fbaf592cf5 (patch)
treee504b7cfaaf8b51f20c201ded948e1961c9c33d2 /crypto/xor.c
parentgeneric-adc-battery: Fix checking return value of request_any_context_irq (diff)
downloadlinux-a77d60aec70183faa68b7df4a3fa89fbaf592cf5.tar.xz
linux-a77d60aec70183faa68b7df4a3fa89fbaf592cf5.zip
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>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions