]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pktcdvd: fix defective misuses of pkt_<level>
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:25:59 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:34 +0000 (15:59 -0700)
commit666dc7c90ab2531f7f0f13ef21afab8cd61478a9
treed19e6bfc3fe89d160221f76f3ad1330f5bbf947c
parentf3ded788bbd95af344a34ae40d1ab578cb76c7fb
pktcdvd: fix defective misuses of pkt_<level>

Fix thinkos where pkt_<level> needs a valid pktcdvd_device * and the
pointer is known to be NULL.

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com> (go smatch!)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/pktcdvd.c