mtd: meson: fix meson_nfc_dma_buffer_release() arguments
Subsystems (5)
PATCH 1/1 mtd: meson: fix meson_nfc_dma_buffer_release() arguments
Arguments 'infolen' and 'datalen' to meson_nfc_dma_buffer_release() were mixed up.
--- drivers/mtd/nand/raw/meson_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/raw/meson_nand.c +1 -1
@@ -510,7 +510,7 @@ static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, }static void meson_nfc_dma_buffer_release (struct nand_chip *nand, -int infolen,int datalen, +int datalen,int infolen,enum dma_data_direction dir) {struct meson_nfc *nfc =nand_get_controller_data (nand);
Signature · 6 lines
2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
Miquel Raynal
maintainerHi Sergei,
Sergei Antonov <[email protected]> wrote on Wed, 28 Oct 2020 12:49:40 +0300:
Quoted 5 lines
Arguments 'infolen' and 'datalen' to
meson_nfc_dma_buffer_release()were mixed up.Fixes 8fae856c53500 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")Signed-off-by Sergei Antonov <[email protected]>
This patch looks good to me. Next time you send a new iteration of a patch, please use [PATCH v2] in the subject prefix and also add a changelog below the three dashes.
(your other patch to fix the style is still welcome)
Quoted 9 lines
--- drivers/mtd/nand/raw/meson_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mtd/nand/raw/meson_nand.c +0
-0
drivers/mtd/nand/raw/meson_nand.c static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, · line 516
Quoted 8 lines
drivers/mtd/nand/raw/meson_nand.c +1
-1@@ -510,7 +510,7 @@ static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, }static void meson_nfc_dma_buffer_release (struct nand_chip *nand, -int infolen,int datalen, +int datalen,int infolen,enum dma_data_direction dir) {struct meson_nfc *nfc =nand_get_controller_data (nand);
Thanks,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Hi Sergei, miquel
Quoted 14 lines · Sergei Antonov
Arguments 'infolen' and 'datalen' to
meson_nfc_dma_buffer_release()were mixed up.Fixes 8fae856c53500 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")Signed-off-by Sergei Antonov <[email protected]>--- drivers/mtd/nand/raw/meson_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mtd/nand/raw/meson_nand.c +0
-0
drivers/mtd/nand/raw/meson_nand.c static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, · line 516
Quoted 8 lines
drivers/mtd/nand/raw/meson_nand.c +1
-1@@ -510,7 +510,7 @@ static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, }static void meson_nfc_dma_buffer_release (struct nand_chip *nand, -int infolen,int datalen, +int datalen,int infolen,enum dma_data_direction dir) {struct meson_nfc *nfc =nand_get_controller_data (nand);
It is good to me:
and thanks.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Quoted 5 lines · Sergei Antonov
Arguments 'infolen' and 'datalen' to
meson_nfc_dma_buffer_release()were mixed up.Fixes 8fae856c53500 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")Signed-off-by Sergei Antonov <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/