On Mon, 2020-10-26 at 22:29 +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@xxxxxxxx> > > There are thousands of warnings in a W=2 build from just one file: > > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/table.c:3788:15: warning: > pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char > *' differ in signedness [-Wpointer-sign] > > Change the types to consistently use 'const char *' for the > strings. > > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > --- > .../wireless/realtek/rtlwifi/rtl8821ae/phy.c | 81 ++++++++++--------- > .../realtek/rtlwifi/rtl8821ae/table.c | 4 +- > .../realtek/rtlwifi/rtl8821ae/table.h | 4 +- > 3 files changed, 45 insertions(+), 44 deletions(-) > [snip]