[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <00cfae5d-1e96-484b-b294-2fd54f5ad2b8@kernel.org>
Date: Fri, 11 Jul 2025 15:25:15 +0200
From: Daniel Gomez <da.gomez@...nel.org>
To: Thomas Weißschuh <thomas.weissschuh@...utronix.de>,
Luis Chamberlain <mcgrof@...nel.org>, Petr Pavlu <petr.pavlu@...e.com>,
Sami Tolvanen <samitolvanen@...gle.com>, Daniel Gomez
<da.gomez@...sung.com>, Brendan Higgins <brendan.higgins@...ux.dev>,
David Gow <davidgow@...gle.com>, Rae Moar <rmoar@...gle.com>
Cc: linux-modules@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, kunit-dev@...glegroups.com
Subject: Re: [PATCH 3/3] kunit: test: Drop CONFIG_MODULE ifdeffery
On 12/06/2025 16.53, Thomas WeiÃschuh wrote:
> The function stubs exposed by module.h allow the code to compile properly
> without the ifdeffery. The generated object code stays the same, as the
> compiler can optimize away all the dead code.
> As the code is still typechecked developer errors can be detected faster.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Reviewed-by: Daniel Gomez <da.gomez@...sung.com>
Powered by blists - more mailing lists