diff options
author | Syam Sidhardhan <syamsidhardh@gmail.com> | 2013-02-25 04:33:25 +0530 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-03-18 19:43:03 -0700 |
commit | c6cc9fc9d42ec82da2c770f0bef1488dc467f29c (patch) | |
tree | 792940a7c9afc196d69453b2b96b8c65f7dd3fe9 /drivers/power/ab8500_fg.c | |
parent | 9239ebcffb9301eab75c638dcb702688884cc5d6 (diff) |
s3c-adc-battery: Fix possible NULL pointer dereference
Check for (bat == NULL) has to be done before accessing bat
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/ab8500_fg.c')
0 files changed, 0 insertions, 0 deletions