[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0fb5bff4b99c40e5956b8af34d5c1483@intel.com>
Date: Mon, 26 Oct 2020 16:37:39 +0000
From: "Rojewski, Cezary" <cezary.rojewski@...el.com>
To: Arnd Bergmann <arnd@...nel.org>
CC: Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>,
"Jiri Kosina" <jkosina@...e.cz>, Petr Mladek <pmladek@...e.cz>,
Arnd Bergmann <arnd@...db.de>,
Piotr Maziarz <piotrx.maziarz@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] seq_buf: avoid type mismatch for seq_buf_init
On 2020-10-26 5:10 PM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> Building with W=2 prints a number of warnings for one function that
> has a pointer type mismatch:
>
> linux/seq_buf.h: In function 'seq_buf_init':
> linux/seq_buf.h:35:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
>
> Change the type in the function prototype according to the type in
> the structure.
>
> Fixes: 9a7777935c34 ("tracing: Convert seq_buf fields to be like seq_file fields")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
Reviewed-by: Cezary Rojewski <cezary.rojewski@...el.com>
Thanks,
Czarek
Powered by blists - more mailing lists