The first one isn't a bug, it's an important part of mkdep. mkdep really
is supposed to give you the closure of all possible header files you can
end up with, and personally I think that if any kernel header file
... non-kernel stuff ...
then the kernel header file is broken. The closure really is meant to
catch all configuration options, not catch broken code like the above.
Also, the # /**/ include thing is very dubious C in the first place, and
not worth worrying about. I'd happily flag it as an error rather than
trying to parse it.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org