summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-06-22 23:06:40 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-25 16:08:23 (GMT)
commit87a2d34b0372dcf6bc4caf4d97a7889f5e62a1af (patch)
tree534c1842d1321629e12149a69ff032f5585c8139 /arch
parente08afeb7e69f45e4ab9fbb8530fe433484b96606 (diff)
downloadlinux-fsl-qoriq-87a2d34b0372dcf6bc4caf4d97a7889f5e62a1af.tar.xz
[SCSI] fnic: remove redundant BUG_ONs and fix checks on unsigned
The shost sg tablesize is set to FNIC_MAX_SG_DESC_CNT and fnic uses scsi_dma_map, so both BUG_ONs can be removed. scsi_dma_map may return -ENOMEM, sg_count should be int to catch that. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions