Messages in this thread | | | Date | Fri, 31 Dec 2021 09:27:01 +0100 | From | Dominik Brodowski <> | Subject | Re: [PATCH] random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs |
| |
Am Thu, Dec 30, 2021 at 04:14:10PM +0100 schrieb Jason A. Donenfeld: > Rather than an awkward combination of ifdefs and __maybe_unused, we can > ensure more source gets parsed, regardless of the configuration, by > using IS_ENABLED for the CONFIG_NUMA conditional code. This makes things > cleaner and easier to follow. > > I've confirmed that on !CONFIG_NUMA, we don't wind up with excess code > by accident; the generated object file is the same. > > Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Thanks, Dominik
| |