[SCSI] u14-34f: fix scsi_dma_map failure case
authorroel kluin <roel.kluin@gmail.com>
Wed, 29 Oct 2008 21:24:47 +0000 (14:24 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:14 +0000 (11:24 -0600)
commit8d6dda7f0ce53c55ec14eb5eaa360d549641586b
treedbbbe196a28c005cb7500d2bc1ee3d953b1e2137
parent237abac6ff093aa5cb64faf6f632c479e00a67be
[SCSI] u14-34f: fix scsi_dma_map failure case

When unsigned, scsi_dma_map may return -ENOMEM without triggering BUG_ON()

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/u14-34f.c