Re: [PATCH] mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()

From
Miquel Raynal <miquel.raynal@bootlin.com>
Date
2021-03-02 20:39:32
Also in
kernel-janitors
Reply to
Dan Carpenter, 2021-02-15
On Mon, 2021-02-15 at 15:58:49 UTC, Dan Carpenter wrote:
If dma_request_channel() fails then the probe fails and it should
return a negative error code, but currently it returns success.

fixes: 4774fb0a48aa ("mtd: nand/fsmc: Add DMA support")
Signed-off-by: Dan Carpenter <redacted>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel
Thread (2 messages) 2 messages, 2 authors, last reply 2021-03-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help