summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/soc_common.h
diff options
context:
space:
mode:
authorJoe Lawrence <joe.lawrence@stratus.com>2014-07-02 23:35:16 +0400
committerJens Axboe <axboe@fb.com>2014-08-27 01:20:23 +0400
commiteb571eeade2598635f813b3284d02c13a380301e (patch)
tree539842ad23a4eaae8c272278fd9fea389afa6b93 /drivers/pcmcia/soc_common.h
parent52addcf9d6669fa439387610bc65c92fa0980cef (diff)
downloadlinux-eb571eeade2598635f813b3284d02c13a380301e.tar.xz
block,scsi: verify return pointer from blk_get_request
The blk-core dead queue checks introduce an error scenario to blk_get_request that returns NULL if the request queue has been shutdown. This affects the behavior for __GFP_WAIT callers, who should verify the return value before dereferencing. Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com> Acked-by: Jiri Kosina <jkosina@suse.cz> [for pktdvd] Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/pcmcia/soc_common.h')
0 files changed, 0 insertions, 0 deletions