From: <markus.stockhausen@gmx.de>
To: "'Geert Uytterhoeven'" <geert@linux-m68k.org>
Cc: <linux-mtd@lists.infradead.org>, <linux-kernel@vger.kernel.org>,
"'Miquel Raynal'" <miquel.raynal@bootlin.com>,
"'Richard Weinberger'" <richard@nod.at>,
"'Vignesh Raghavendra'" <vigneshr@ti.com>
Subject: AW: [PATCH] mtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA
Date: Wed, 8 Oct 2025 14:57:10 +0200 [thread overview]
Message-ID: <01f801dc3853$104b8ce0$30e2a6a0$@gmx.de> (raw)
In-Reply-To: <5109cd228940c246d2e1ef4ff01799315601c285.1759916792.git.geert@linux-m68k.org>
> Von: Geert Uytterhoeven <geert@linux-m68k.org>
> Gesendet: Mittwoch, 8. Oktober 2025 11:47
>
> If CONFIG_NO_DMA=y:
>
> ERROR: modpost: "dma_free_pages" [drivers/mtd/nand/ecc-realtek.ko]
undefined!
> ERROR: modpost: "dma_alloc_pages" [drivers/mtd/nand/ecc-realtek.ko]
undefined!
>
> The driver cannot function without DMA, hence fix this by adding a
> dependency on HAS_DMA.
>
> Fixes: 3148d0e5b1c5733d ("mtd: nand: realtek-ecc: Add Realtek external ECC
engine support")
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Thank you.
next prev parent reply other threads:[~2025-10-08 12:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-08 9:47 [PATCH] mtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA Geert Uytterhoeven
2025-10-08 12:57 ` markus.stockhausen [this message]
2025-10-22 9:56 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='01f801dc3853$104b8ce0$30e2a6a0$@gmx.de' \
--to=markus.stockhausen@gmx.de \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox