[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240529141323.7015f3d9@xps-13>
Date: Wed, 29 May 2024 14:13:23 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Richard Weinberger <richard@....at>, Vignesh Raghavendra
<vigneshr@...com>, David Woodhouse <David.Woodhouse@...el.com>, Akinobu
Mita <akinobu.mita@...il.com>, Artem Bityutskiy
<artem.bityutskiy@...ux.intel.com>, Arnd Bergmann <arnd@...db.de>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: make mtd_test.c a separate module
Hi Arnd,
arnd@...nel.org wrote on Wed, 29 May 2024 11:50:39 +0200:
> From: Arnd Bergmann <arnd@...db.de>
>
> This file gets linked into nine different modules, which causes a warning:
>
> scripts/Makefile.build:236: drivers/mtd/tests/Makefile: mtd_test.o is added to multiple modules: mtd_nandbiterrs mtd_oobtest mtd_pagetest mtd_readtest mtd_speedtest mtd_stresstest mtd_subpagetest mtd_torturetest
I've never experienced this warning myself, how did you produce it?
> Make it a separate module instead.
I'm not a total fan of this just because it now requires an additional
step to insert these test modules (they are likely used for
debugging/development purposes, so not properly installed in the
rootfs). Is there any chance we can find another way?
Thanks,
Miquèl
Powered by blists - more mailing lists