Re: [PATCH 2/2] FS/CONFIGFS: Use pr_fmt
From: Valdis . Kletnieks
Date: Tue May 13 2014 - 18:08:58 EST
On Tue, 13 May 2014 13:50:49 -0700, Andrew Morton said:
> On Tue, 13 May 2014 20:24:28 +0200 Fabian Frederick <fabf@xxxxxxxxx> wrote:
> > +#ifdef pr_fmt
> > +#undef pr_fmt
> > +#endif
>
> Why this?
>
> > +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Won't GCC whinge by default about the #define if it doesn't exactly match the
previous definition?
Attachment:
pgpqjhlgTy9PJ.pgp
Description: PGP signature