Re: [v3,17/19] arch/sparc: Implement fb_is_primary_device() in source file

2023-06-28 Thread Arnd Bergmann
On Sat, Jun 24, 2023, at 16:21, Arnd Bergmann wrote: > On Sat, Jun 24, 2023, at 15:26, Guenter Roeck wrote: >> On 6/24/23 02:27, Arnd Bergmann wrote: >>> On Sat, Jun 24, 2023, at 03:55, Guenter Roeck wrote: ERROR: modpost: "__xchg_called_with_bad_pointer" [lib/atomic64_test.ko] undef

Re: [v3,17/19] arch/sparc: Implement fb_is_primary_device() in source file

2023-06-24 Thread Arnd Bergmann
On Sat, Jun 24, 2023, at 15:26, Guenter Roeck wrote: > On 6/24/23 02:27, Arnd Bergmann wrote: >> On Sat, Jun 24, 2023, at 03:55, Guenter Roeck wrote: >>> >>> On Mon, Apr 17, 2023 at 02:56:49PM +0200, Thomas Zimmermann wrote: Other architectures implment fb_is_primary_device() in a source

Re: [v3,17/19] arch/sparc: Implement fb_is_primary_device() in source file

2023-06-24 Thread Guenter Roeck
On 6/24/23 02:27, Arnd Bergmann wrote: On Sat, Jun 24, 2023, at 03:55, Guenter Roeck wrote: On Mon, Apr 17, 2023 at 02:56:49PM +0200, Thomas Zimmermann wrote: Other architectures implment fb_is_primary_device() in a source file. Do the same on sparc. No functional changes, but allows to remove

Re: [v3,17/19] arch/sparc: Implement fb_is_primary_device() in source file

2023-06-24 Thread Arnd Bergmann
On Sat, Jun 24, 2023, at 03:55, Guenter Roeck wrote: > > On Mon, Apr 17, 2023 at 02:56:49PM +0200, Thomas Zimmermann wrote: >> Other architectures implment fb_is_primary_device() in a source >> file. Do the same on sparc. No functional changes, but allows to >> remove several include statement from

Re: [v3,17/19] arch/sparc: Implement fb_is_primary_device() in source file

2023-06-23 Thread Guenter Roeck
Hi, On Mon, Apr 17, 2023 at 02:56:49PM +0200, Thomas Zimmermann wrote: > Other architectures implment fb_is_primary_device() in a source > file. Do the same on sparc. No functional changes, but allows to > remove several include statement from . > > v2: > * don't include in header file >