commit | 06634d5b6e923ed0d4772aba8def5a618f44c7fe | [log] [tgz] |
---|---|---|
author | Zheyu Ma <zheyuma97@gmail.com> | Mon Oct 18 01:56:21 2021 +0000 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Oct 18 23:01:10 2021 -0400 |
tree | bcd687360c8b283b08be5586a67bcbd7d704a8d1 | |
parent | 85374b6392293d103c2b3406ceb9a1253f81d328 [diff] |
scsi: qla2xxx: Return -ENOMEM if kzalloc() fails The driver probing function should return < 0 for failure, otherwise kernel will treat value > 0 as success. Link: https://lore.kernel.org/r/1634522181-31166-1-git-send-email-zheyuma97@gmail.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Zheyu Ma <zheyuma97@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>