Re: [PATCH net-next 03/11] rsxx: remove extraneous 'const' qualifier

2020-10-29 Thread Joe Perches
On Thu, 2020-10-29 at 12:34 -0700, Nick Desaulniers wrote: > On Mon, Oct 26, 2020 at 2:31 PM Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > The returned string from rsxx_card_state_to_str is 'const', > > but the other qualifier doesn't change anything here except > > causing a

Re: [PATCH net-next 03/11] rsxx: remove extraneous 'const' qualifier

2020-10-29 Thread Nick Desaulniers
On Mon, Oct 26, 2020 at 2:31 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > The returned string from rsxx_card_state_to_str is 'const', > but the other qualifier doesn't change anything here except > causing a warning with 'clang -Wextra': > > drivers/block/rsxx/core.c:393:21: warning:

[PATCH net-next 03/11] rsxx: remove extraneous 'const' qualifier

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann The returned string from rsxx_card_state_to_str is 'const', but the other qualifier doesn't change anything here except causing a warning with 'clang -Wextra': drivers/block/rsxx/core.c:393:21: warning: 'const' type qualifier on return type has no effect