aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2011-02-09 15:34:36 -0800
committerJames Bottomley <[email protected]>2011-02-12 11:29:07 -0600
commit3ae279d25954de47c704ca713a2711ac10fcd1ee (patch)
treecb5b7976ad78d86c761a8e66e9c13cd718c03937 /net/lapb/lapb_in.c
parenta361cc0025614fdd07f5f69aeeaa8075530870bc (diff)
[SCSI] target: iblock/pscsi claim checking for NULL instead of IS_ERR
blkdev_get_by_path() returns an ERR_PTR() or error and it doesn't return a NULL. It looks like this bug would be easy to trigger by mistake. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Nicholas A. Bellinger <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions