summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorMagnus Lindholm <linmag7@gmail.com>2025-01-25 12:49:22 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-02-04 01:54:56 +0300
commit5233e3235dec3065ccc632729675575dbe3c6b8a (patch)
tree0bd0c0e2820dac17ed6380cacc70706081f4a946 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent1a78a56ea65252bb089e0daace989167227f2d31 (diff)
downloadlinux-5233e3235dec3065ccc632729675575dbe3c6b8a.tar.xz
scsi: qla1280: Fix kernel oops when debug level > 2
A null dereference or oops exception will eventually occur when qla1280.c driver is compiled with DEBUG_QLA1280 enabled and ql_debug_level > 2. I think its clear from the code that the intention here is sg_dma_len(s) not length of sg_next(s) when printing the debug info. Signed-off-by: Magnus Lindholm <linmag7@gmail.com> Link: https://lore.kernel.org/r/20250125095033.26188-1-linmag7@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions