Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146071582
D55554.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
433 B
Referenced Files
None
Subscribers
None
D55554.id.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/sort.h b/sys/compat/linuxkpi/common/include/linux/sort.h
--- a/sys/compat/linuxkpi/common/include/linux/sort.h
+++ b/sys/compat/linuxkpi/common/include/linux/sort.h
@@ -34,7 +34,7 @@
#include <sys/libkern.h>
#define sort(base, num, size, cmp, swap) do { \
- BUILD_BUG_ON_ZERO(swap); \
+ (void)BUILD_BUG_ON_ZERO(swap); \
qsort(base, num, size, cmp); \
} while (0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 28, 1:42 PM (4 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29053375
Default Alt Text
D55554.id.diff (433 B)
Attached To
Mode
D55554: LinuxKPI: avoid -Werror=unused-value in sort() from BUILD_BUG_ON_ZERO()
Attached
Detach File
Event Timeline
Log In to Comment