Page MenuHomeFreeBSD

D34197.id102476.diff
No OneTemporary

D34197.id102476.diff

Index: sys/compat/linuxkpi/common/src/linux_xarray.c
===================================================================
--- sys/compat/linuxkpi/common/src/linux_xarray.c
+++ sys/compat/linuxkpi/common/src/linux_xarray.c
@@ -103,7 +103,7 @@
XA_ASSERT_LOCKED(xa);
/* mask should allow to allocate at least one item */
- MPASS(mask > (xa->flags & XA_FLAGS_ALLOC1) != 0 ? 1 : 0);
+ MPASS(mask > ((xa->flags & XA_FLAGS_ALLOC1) != 0 ? 1 : 0));
/* mask can be any power of two value minus one */
MPASS((mask & (mask + 1)) == 0);
@@ -160,7 +160,7 @@
XA_ASSERT_LOCKED(xa);
/* mask should allow to allocate at least one item */
- MPASS(mask > (xa->flags & XA_FLAGS_ALLOC1) != 0 ? 1 : 0);
+ MPASS(mask > ((xa->flags & XA_FLAGS_ALLOC1) != 0 ? 1 : 0));
/* mask can be any power of two value minus one */
MPASS((mask & (mask + 1)) == 0);

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 6, 8:19 AM (1 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36102213
Default Alt Text
D34197.id102476.diff (849 B)

Event Timeline