summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTamura Dai <kirinode0@gmail.com>2025-04-17 04:16:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-02 09:02:13 +0300
commit055ef73bb1afc3f783a9a13b496770a781964a07 (patch)
treeb4c47f4334c9d55d02d8c79b10bbdeb10764c499 /tools/perf/scripts/python/export-to-postgresql.py
parent3bae87bf5af394359313c4580b4acbc3068b3f39 (diff)
downloadlinux-055ef73bb1afc3f783a9a13b496770a781964a07.tar.xz
spi: spi-imx: Add check for spi_imx_setupxfer()
[ Upstream commit 951a04ab3a2db4029debfa48d380ef834b93207e ] Add check for the return value of spi_imx_setupxfer(). spi_imx->rx and spi_imx->tx function pointer can be NULL when spi_imx_setupxfer() return error, and make NULL pointer dereference. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 Call trace: 0x0 spi_imx_pio_transfer+0x50/0xd8 spi_imx_transfer_one+0x18c/0x858 spi_transfer_one_message+0x43c/0x790 __spi_pump_transfer_message+0x238/0x5d4 __spi_sync+0x2b0/0x454 spi_write_then_read+0x11c/0x200 Signed-off-by: Tamura Dai <kirinode0@gmail.com> Reviewed-by: Carlos Song <carlos.song@nxp.com> Link: https://patch.msgid.link/20250417011700.14436-1-kirinode0@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions