[Linux-parport] [PATCH] SPARC: Fix parport_pc support for 32-bit platforms
Maciej W. Rozycki
macro at orcam.me.uk
Sun Jun 18 16:45:20 PDT 2023
On Sun, 18 Jun 2023, Randy Dunlap wrote:
> There is one new warning that should be fixed as well:
>
> <stdin>:1519:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> In file included from ../include/linux/spinlock.h:88,
> from ../include/linux/kref.h:16,
> from ../include/linux/mm_types.h:8,
> from ../include/linux/buildid.h:5,
> from ../include/linux/module.h:14,
> from ../drivers/parport/parport_pc.c:46:
> ../arch/sparc/include/asm/parport.h:27:24: warning: 'dma_spin_lock' defined but not used [-Wunused-variable]
> 27 | static DEFINE_SPINLOCK(dma_spin_lock);
> | ^~~~~~~~~~~~~
> ../include/linux/spinlock_types.h:43:44: note: in definition of macro 'DEFINE_SPINLOCK'
> 43 | #define DEFINE_SPINLOCK(x) spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
> | ^
Ah, that's because `sparc32_defconfig' doesn't have CONFIG_WERROR enabled
and I didn't double-check. Thanks for your input. I'll send v2 shortly.
Maciej
More information about the Linux-parport
mailing list