[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200801013615.GA796@jagdpanzerIV.localdomain>
Date: Sat, 1 Aug 2020 10:36:15 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
linux-kernel@...r.kernel.org,
Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: Re: [PATCH v2 3/3] lib/vsprintf: Force type of flags value for gfp_t
On (20/07/31 16:49), Steven Rostedt wrote:
> On Fri, 31 Jul 2020 21:08:24 +0300
> Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
>
> > Sparse is not happy about restricted type being assigned:
> > lib/vsprintf.c:1940:23: warning: incorrect type in assignment (different base types)
> > lib/vsprintf.c:1940:23: expected unsigned long [assigned] flags
> > lib/vsprintf.c:1940:23: got restricted gfp_t [usertype]
> >
> > Force type of flags value to make sparse happy.
> >
> > Cc: Steven Rostedt (VMware) <rostedt@...dmis.org>
>
> Reviewed-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
Thanks.
> Petr or Sergey,
>
> Want to take these through the printk tree?
Can take through the printk-tree.
-ss
Powered by blists - more mailing lists