On Tue, Jul 13, 2021 at 01:23:01PM +0200, Greg Kroah-Hartman wrote:
Life is messy and can not easily be partitioned into tiny pieces. That way usually ends up being even messier in the end...
One advantage is less chance of header loops which very often involve kernel.h and one of the most common reasons for other header files to include kernel.h is to access container_of.
However, I don't see much point in touching *.c files that include kernel.h.
Cheers,