Re: QUERY: Inclusion of header files in kernel header files

From: viresh kumar
Date: Tue Feb 23 2010 - 23:28:13 EST


> Before someone goes crazy and starts sending hundreds of patches to the trivial patch folks,
> please make sure that you only do this for places where header file foo uses "struct bar" in
>bar.h --- and NOT if it is using "struct bar *". Blind structure pointers don't cause compile
>failures, and is a perfectly good thing from the standpoint of data hiding.
>

Ted,
Actually bus.h is using direct instances of these structures and thus
it is giving compilation warnings.


viresh.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/