]> git.karo-electronics.de Git - karo-tx-linux.git/commit
qla4xxx: check the return value of dma_alloc_coherent()
authorMaurizio Lombardi <mlombard@redhat.com>
Mon, 28 Jul 2014 12:55:27 +0000 (14:55 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Jul 2014 11:49:37 +0000 (07:49 -0400)
commita5c277ec5a331171c6508924ce7767e363bf3a05
treece8312cc20a327d56bb086c7de957b9c284903e4
parent4d0a21f1fd31adb3ec66db4c1af3856ae0b8549f
qla4xxx: check the return value of dma_alloc_coherent()

the qla4xxx_alloc_fw_dump() calls dma_alloc_coherent() but does not
check its return value.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Acked-By: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla4xxx/ql4_init.c