On Mon, Mar 27, 2023 at 06:12:51PM +0200, Viktor Malik wrote: > Functions for searching module kallsyms should have non-empty > definitions only if CONFIG_MODULES=y and CONFIG_KALLSYMS=y. Until now, > only CONFIG_MODULES check was used for many of these, which may have > caused complilation errors on some configs. > > This patch moves all relevant functions under the correct configs. > > Signed-off-by: Viktor Malik <vmalik@xxxxxxxxxx> > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Link: https://lore.kernel.org/oe-kbuild-all/202303181535.RFDCnz3E-lkp@xxxxxxxxx/ Thanks Viktor! Does this fix something from an existing commit? If so which one? The commit log should mention it. LUis