]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: master: svc: Initialize 'dev' to NULL in svc_i3c_master_ibi_isr()
authorFrank Li <Frank.Li@nxp.com>
Mon, 15 Dec 2025 20:08:51 +0000 (15:08 -0500)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 14:52:51 +0000 (15:52 +0100)
commit3c9ffb4db787428a5851d5865823ab23842d5103
treefdf2b89cf72152ba799f7ffb59c6194f4f705efd
parent9904232ae30bc65d7822f50c885987a7876f0beb
i3c: master: svc: Initialize 'dev' to NULL in svc_i3c_master_ibi_isr()

Initialize the 'dev' pointer to NULL in svc_i3c_master_ibi_isr() and add
a NULL check in the error path.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202512131016.YCKIsDXM-lkp@intel.com/
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251215200852.3079073-1-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/svc-i3c-master.c