aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorZheyu Ma <[email protected]>2021-10-18 01:56:21 +0000
committerMartin K. Petersen <[email protected]>2021-10-18 23:01:10 -0400
commit06634d5b6e923ed0d4772aba8def5a618f44c7fe (patch)
treebcd687360c8b283b08be5586a67bcbd7d704a8d1 /scripts/gcc-plugins/sancov_plugin.c
parent85374b6392293d103c2b3406ceb9a1253f81d328 (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/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Zheyu Ma <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions