should include/uapi include header files *unused* in kernel space?
Jim Davis
jim.epost at gmail.com
Fri Feb 3 16:53:18 EST 2017
On Sun, Jan 22, 2017 at 6:18 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
> was perusing the UAPI content in the kernel source, prepping for a
> course i'm teaching tomorrow, and just noticed there is a header file:
>
> $ find . -name mtd-user.h
> ./include/uapi/mtd/mtd-user.h
> $
>
> which appears to be *entirely* unreferenced in the entire kernel code
> base (outside of the Kbuild file that refers to it):
>
> $ grep -r 'mtd-user.h' *
> include/uapi/mtd/Kbuild:header-y += mtd-user.h
> $
Someone has a patch to remove msr-index.h which, in a similar way,
only ended up being exported because of a Kbuild rule. So I'd imagine
this file would be a candidate for a similar patch.
https://lkml.org/lkml/2017/2/2/228.
--
Jim
More information about the Kernelnewbies
mailing list