]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: onenand: Pass correct pointer to IRQ handler
authorDan Carpenter <dan.carpenter@linaro.org>
Sat, 1 Nov 2025 13:25:48 +0000 (16:25 +0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 3 Nov 2025 10:37:57 +0000 (11:37 +0100)
commit97315e7c901a1de60e8ca9b11e0e96d0f9253e18
tree59c8037fce44f4851afe7ca0ead82c7ab8120fe9
parenta1d3bc606bf5c3b3ea811cc2019df6285d75b00f
mtd: onenand: Pass correct pointer to IRQ handler

This was supposed to pass "onenand" instead of "&onenand" with the
ampersand.  Passing a random stack address which will be gone when the
function ends makes no sense.  However the good thing is that the pointer
is never used, so this doesn't cause a problem at run time.

Fixes: e23abf4b7743 ("mtd: OneNAND: S5PC110: Implement DMA interrupt method")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/onenand/onenand_samsung.c