aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2026-09-03 17:21:42 +0200
committerLee Jones <lee@kernel.org>2026-09-24 15:12:45 +0100
commitdcf0e640b553d33512fbcaedb909c32ba9636a64 (patch)
treea17ea2a6f9d85bb1ac44c5989a068fbfa9e05dfc /scripts/Makefile.thinlto
parentmfd: wcd934x: set DMA mask on parent to silence "DMA mask not set" (diff)
mfd: wcd934x: Fix NULL pointer dereference on IRQ probe deferral
ddata->dev is only assigned at the end of wcd934x_slim_probe(), but the of_irq_get() error path has passed it to the error print since the driver was added, while it is still NULL. This used to be harmless with dev_err(), which copes with a NULL device and was skipped on -EPROBE_DEFER. Since the switch to dev_err_probe(), a deferred IRQ reaches device_set_deferred_probe_reason() -> dev_driver_string(), which dereferences the NULL pointer and crashes during probe. Use dev, which is already valid at this point. Cc: stable@vger.kernel.org Fixes: 0f1b1b899521 ("mfd: wcd934x: Simplify with dev_err_probe()") Reported-by: Sashiko <sashiko-bot@kernel.org> Link: https://lore.kernel.org/mfd/20260903145651.AC1311F00ACA@smtp.kernel.org/ Signed-off-by: David Heidelberg <david@ixit.cz> Link: https://patch.msgid.link/20260903-wcd-dma-v3-1-d3920c6563c4@ixit.cz Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions