Re: [PATCH 4/4] lib: Remove redundant module.h includes

From: Tom Zanussi
Date: Fri Apr 10 2015 - 14:27:36 EST


On Fri, 2015-04-10 at 12:28 -0400, Steven Rostedt wrote:
> On Fri, 10 Apr 2015 11:05:03 -0500
> Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> wrote:
>
> > kallsyms.h now includes module.h, so remove module.h includes that
> > were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN.
> >
> > Signed-off-by: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx>
> > ---
> > lib/vsprintf.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/lib/vsprintf.c b/lib/vsprintf.c
> > index b235c96..a573500 100644
> > --- a/lib/vsprintf.c
> > +++ b/lib/vsprintf.c
> > @@ -17,7 +17,7 @@
> > */
> >
> > #include <stdarg.h>
> > -#include <linux/module.h> /* for KSYM_SYMBOL_LEN */
> > +#include <linux/module.h> /* for KSYM_SYMBOL_LEN */
>
> Hmm.

Hmm, yeah, I originally had everything in the same patch then moved
things around - obviously something went wrong ;-) Will fix in the
updated set.

Tom

>
> -- Steve
>
> > #include <linux/types.h>
> > #include <linux/string.h>
> > #include <linux/ctype.h>
>


--
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/