From 9845333fcbea76f5b8d1375c3a0690a13bb18fa8 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 5 May 2026 10:23:06 +0000 Subject: [PATCH] add parentheses around use of a macro argument --- sys/dev/pci/drm/include/linux/xarray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/include/linux/xarray.h b/sys/dev/pci/drm/include/linux/xarray.h index eb0b55a5e2f..a397f8966f3 100644 --- a/sys/dev/pci/drm/include/linux/xarray.h +++ b/sys/dev/pci/drm/include/linux/xarray.h @@ -32,7 +32,7 @@ struct xarray { #define DEFINE_XARRAY_FLAGS(name, flags) \ struct xarray name = { \ .xa_flags = flags, \ - .xa_lock = MUTEX_INITIALIZER((flags & XA_FLAGS_LOCK_IRQ) ? \ + .xa_lock = MUTEX_INITIALIZER(((flags) & XA_FLAGS_LOCK_IRQ) ? \ IPL_TTY : IPL_NONE), \ .xa_tree = SPLAY_INITIALIZER(&name.xa_tree) \ }