diff options
author | Dan Carpenter <error27@gmail.com> | 2010-11-12 05:31:46 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-09 16:24:13 +0100 |
commit | 057f02a38e67a944a2d0b89bb0111efb9dbe6e6e (patch) | |
tree | 0ca2b93e59d960da0973ed7882ffac06e74c2a45 /block/bsg.c | |
parent | Merge branches 'x86-fixes-for-linus', 'perf-fixes-for-linus' and 'sched-fixes... (diff) | |
download | linux-057f02a38e67a944a2d0b89bb0111efb9dbe6e6e.tar.xz linux-057f02a38e67a944a2d0b89bb0111efb9dbe6e6e.zip |
[SCSI] osd: checking NULL instead of ERR_PTR()
bio_map_kern() returns ERR_PTRs on failure and never returns NULL.
[jejb: remove redundant unlikely spotted by Tobias Klauser]
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions