Re: [dm-devel] [PATCH v3 38/38] libmultipath: avoid -Warray-bounds error in uatomic operations

2023-09-14 Thread Benjamin Marzinski
On Thu, Sep 14, 2023 at 04:51:31PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > The use of uatomic_xchg() in alias.c causes a -Warray-bounds error > on distributions using gcc 12, such as Fedora 37. This is a similar > error to 2534c4f ("libmultipath: avoid -Warray-bounds error with

[dm-devel] [PATCH v3 38/38] libmultipath: avoid -Warray-bounds error in uatomic operations

2023-09-14 Thread mwilck
From: Martin Wilck The use of uatomic_xchg() in alias.c causes a -Warray-bounds error on distributions using gcc 12, such as Fedora 37. This is a similar error to 2534c4f ("libmultipath: avoid -Warray-bounds error with gcc 12 and musl libc"). This happens only with liburcu 0.13 and earlier, and