git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e08afeb
)
[SCSI] fnic: remove redundant BUG_ONs and fix checks on unsigned
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 22 Jun 2009 23:06:40 +0000
(
01:06
+0200)
committer
James Bottomley
<James.Bottomley@HansenPartnership.com>
Thu, 25 Jun 2009 16:08:23 +0000
(11:08 -0500)
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>
No differences found