Re: [PATCH] i3c/master/mipi-i3c-hci: re-fix __maybe_unused attribute

2020-12-30 Thread Alexandre Belloni
On 30/12/2020 14:43:21-0700, Nathan Chancellor wrote: > On Wed, Dec 30, 2020 at 10:40:53PM +0100, Alexandre Belloni wrote: > > On 30/12/2020 16:23:56-0500, Nicolas Pitre wrote: > > > On Wed, 30 Dec 2020, Arnd Bergmann wrote: > > > > > > > From: Arnd Bergmann > > > > > > > > clang warns because

Re: [PATCH] i3c/master/mipi-i3c-hci: re-fix __maybe_unused attribute

2020-12-30 Thread Nathan Chancellor
On Wed, Dec 30, 2020 at 10:40:53PM +0100, Alexandre Belloni wrote: > On 30/12/2020 16:23:56-0500, Nicolas Pitre wrote: > > On Wed, 30 Dec 2020, Arnd Bergmann wrote: > > > > > From: Arnd Bergmann > > > > > > clang warns because the added __maybe_unused attribute is in > > > the wrong place: > >

Re: [PATCH] i3c/master/mipi-i3c-hci: re-fix __maybe_unused attribute

2020-12-30 Thread Alexandre Belloni
On 30/12/2020 16:23:56-0500, Nicolas Pitre wrote: > On Wed, 30 Dec 2020, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > clang warns because the added __maybe_unused attribute is in > > the wrong place: > > > > drivers/i3c/master/mipi-i3c-hci/core.c:780:21: error: attribute declaration

Re: [PATCH] i3c/master/mipi-i3c-hci: re-fix __maybe_unused attribute

2020-12-30 Thread Nicolas Pitre
On Wed, 30 Dec 2020, Arnd Bergmann wrote: > From: Arnd Bergmann > > clang warns because the added __maybe_unused attribute is in > the wrong place: > > drivers/i3c/master/mipi-i3c-hci/core.c:780:21: error: attribute declaration > must precede definition [-Werror,-Wignored-attributes] > static

[PATCH] i3c/master/mipi-i3c-hci: re-fix __maybe_unused attribute

2020-12-30 Thread Arnd Bergmann
From: Arnd Bergmann clang warns because the added __maybe_unused attribute is in the wrong place: drivers/i3c/master/mipi-i3c-hci/core.c:780:21: error: attribute declaration must precede definition [-Werror,-Wignored-attributes] static const struct __maybe_unused of_device_id