[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2306190043160.14084@angie.orcam.me.uk>
Date: Mon, 19 Jun 2023 00:45:20 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Randy Dunlap <rdunlap@...radead.org>
cc: "David S. Miller" <davem@...emloft.net>,
Sudip Mukherjee <sudipm.mukherjee@...il.com>,
Sam Ravnborg <sam@...nborg.org>, sparclinux@...r.kernel.org,
linux-parport@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] SPARC: Fix parport_pc support for 32-bit platforms
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
Powered by blists - more mailing lists