Re: [PATCH v6] Kunit to check the longest symbol length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 28, 2025 at 1:24 PM Sergio González Collado
<sergio.collado@xxxxxxxxx> wrote:
>
> > > +#include <linux/kallsysms.h>
> >
> > Typo?
>
> #include <linux/kallsysms.h> is needed to be able to read
> KSYM_NAME_LEN: https://elixir.bootlin.com/linux/v6.13/source/include/linux/kallsyms.h#L18

What I meant is that the `#include` in the patch is:

    kallsysms.h

which is different from:

    kallsyms.h

Does that file build? Or am I missing something?

I just tried, and I indeed get:

      HOSTCC  arch/x86/tools/insn_decoder_test
    arch/x86/tools/insn_decoder_test.c:13:10: fatal error:
'linux/kallsysms.h' file not found
      13 | #include <linux/kallsysms.h>
          |          ^~~~~~~~~~~~~~~~~~~
    1 error generated.

Thanks!

Cheers,
Miguel





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux