diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2014-05-29 15:54:20 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-06-02 07:55:01 (GMT) |
commit | a84d794d5c12a4c118bcdc4fecc2ca76ed02f643 (patch) | |
tree | 3c78bb4366d77e7ae99d7841a77b097aa7aa196a /drivers/scsi/hpsa_cmd.h | |
parent | 24a4b07879d6d750ef868b94cbdde510d63a1de9 (diff) | |
download | linux-a84d794d5c12a4c118bcdc4fecc2ca76ed02f643.tar.xz |
hpsa: return -ENOMEM not -1 on kzalloc failure in hpsa_get_device_id
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mike Miller <michael.miller@canonical.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/hpsa_cmd.h')
0 files changed, 0 insertions, 0 deletions