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:
238822b
)
Staging: zram: Fix variable dereferenced before check
author
Rashika Kheria
<rashika.kheria@gmail.com>
Wed, 30 Oct 2013 13:13:32 +0000
(18:43 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 30 Oct 2013 16:32:10 +0000
(09:32 -0700)
This patch fixes the following Smatch warning in zram_drv.c-
drivers/staging/zram/zram_drv.c:899
destroy_device() warn: variable dereferenced before check 'zram->disk' (see line 896)
Acked-by: Minchan Kim <minchan@kernel.org>
Acked-by: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found