Thread (3 messages) 3 messages, 2 authors, 2017-02-04

should include/uapi include header files *unused* in kernel space?

From: Jim Davis <hidden>
Date: 2017-02-03 21:53:18

On Sun, Jan 22, 2017 at 6:18 AM, Robert P. J. Day [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help