summaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorZheyu Ma <zheyuma97@gmail.com>2021-10-18 04:56:21 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-10-19 06:01:10 +0300
commit06634d5b6e923ed0d4772aba8def5a618f44c7fe (patch)
treebcd687360c8b283b08be5586a67bcbd7d704a8d1 /net/unix/unix_bpf.c
parent85374b6392293d103c2b3406ceb9a1253f81d328 (diff)
downloadlinux-06634d5b6e923ed0d4772aba8def5a618f44c7fe.tar.xz
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>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions