Re: [PATCH net-next] octeontx2: fix -Wnonnull warning

2021-03-24 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 23 Mar 2021 13:53:29 +0100 you wrote: > From: Arnd Bergmann > > When compile testing this driver on a platform on which probe() is > known to fail at compile time, gcc warns about the cgx_lmactype_string[] > array

Re: [PATCH net-next] octeontx2: fix -Wnonnull warning

2021-03-24 Thread Sunil Kovvuri
On Tue, Mar 23, 2021 at 6:26 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > When compile testing this driver on a platform on which probe() is > known to fail at compile time, gcc warns about the cgx_lmactype_string[] > array being uninitialized: > > In function 'strncpy', > inlined from

[PATCH net-next] octeontx2: fix -Wnonnull warning

2021-03-23 Thread Arnd Bergmann
From: Arnd Bergmann When compile testing this driver on a platform on which probe() is known to fail at compile time, gcc warns about the cgx_lmactype_string[] array being uninitialized: In function 'strncpy', inlined from 'link_status_user_format' at /git/arm-soc/drivers/net/ethernet/marve