May 27, 2016
12:59 p.m.
"Robert P. J. Day" <rpjday@crashcourse.ca> writes:
while i'm here, some pedantry ... what is the point of adding a header file somewhere under include/uapi/<somedir> without *immediately* adding it to the Kbuild file so that it's exported?
I don't know the answer to that. But having done this once, I can answer why *I* did it: Ignorance. I didn't realize that I had to update the Kbuild file, but wrongly assumed that creating a file somewhere in include/uapi was enough. Maybe that's the reason for most of these errors? Some automatic check, or maybe even automatic fix, would be nice. Should be pretty easy to do. Bjørn