[SCSI] iscsi: fix crypto_alloc_hash() error check
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 17 Dec 2006 18:10:25 +0000 (12:10 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 6 Jan 2007 14:59:52 +0000 (08:59 -0600)
commit59c17ec1690fd76ce6ae586daac29b04601be3e0
treeb4785ba61c29a4102586fad0534d9d8d430d47cb
parentc959e1c2a475e0ad0d24eff200de9b6dcb3710c6
[SCSI] iscsi: fix crypto_alloc_hash() error check

The return value of crypto_alloc_hash() should be checked by
IS_ERR().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/iscsi_tcp.c