Messages in this thread | | | From | "Rojewski, Cezary" <> | Subject | RE: [PATCH] seq_buf: avoid type mismatch for seq_buf_init | Date | Mon, 26 Oct 2020 16:37:39 +0000 |
| |
On 2020-10-26 5:10 PM, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.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@arndb.de> > ---
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Thanks, Czarek
| |