Re: [PATCH v3 5/9] net/ixgbe/base: fix lock checker errors

2025-03-28 Thread David Marchand
On Fri, Mar 28, 2025 at 11:44 AM Bruce Richardson wrote: > > On Fri, Mar 28, 2025 at 09:20:16AM +0100, David Marchand wrote: > > On Thu, Mar 27, 2025 at 3:53 PM Bruce Richardson > > wrote: > > > > > > When building on FreeBSD, errors are reported in the base code by the > > > lock checker (-Wthre

Re: [PATCH v3 5/9] net/ixgbe/base: fix lock checker errors

2025-03-28 Thread Bruce Richardson
On Fri, Mar 28, 2025 at 10:43:48AM +, Bruce Richardson wrote: > On Fri, Mar 28, 2025 at 09:20:16AM +0100, David Marchand wrote: > > On Thu, Mar 27, 2025 at 3:53 PM Bruce Richardson > > wrote: > > > > > > When building on FreeBSD, errors are reported in the base code by the > > > lock checker (

Re: [PATCH v3 5/9] net/ixgbe/base: fix lock checker errors

2025-03-28 Thread Bruce Richardson
On Fri, Mar 28, 2025 at 09:20:16AM +0100, David Marchand wrote: > On Thu, Mar 27, 2025 at 3:53 PM Bruce Richardson > wrote: > > > > When building on FreeBSD, errors are reported in the base code by the > > lock checker (-Wthread-safety). For example: > > > > ../drivers/net/intel/ixgbe/base/ixgbe_o

Re: [PATCH v3 5/9] net/ixgbe/base: fix lock checker errors

2025-03-28 Thread David Marchand
On Thu, Mar 27, 2025 at 3:53 PM Bruce Richardson wrote: > > When building on FreeBSD, errors are reported in the base code by the > lock checker (-Wthread-safety). For example: > > ../drivers/net/intel/ixgbe/base/ixgbe_osdep.c:42:1: error: mutex > 'lock->mutex' is still held at the end of functio

[PATCH v3 5/9] net/ixgbe/base: fix lock checker errors

2025-03-27 Thread Bruce Richardson
When building on FreeBSD, errors are reported in the base code by the lock checker (-Wthread-safety). For example: ../drivers/net/intel/ixgbe/base/ixgbe_osdep.c:42:1: error: mutex 'lock->mutex' is still held at the end of function [-Werror,-Wthread-safety-analysis] 42 | } | ^ These erro