Skip to content

Commit 8a0a34c

Browse files
committed
fix assert
Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
1 parent 3765ead commit 8a0a34c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎include/os/linux/spl/sys/debug.h‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ do { \
136136
(uint64_t)(RIGHT); \
137137
} while (0)
138138

139+
#define VERIFY3UF(LEFT, OP, RIGHT, STR, ...) \
140+
do { \
141+
const uint64_t __left __attribute__((unused)) = \
142+
(uint64_t)(LEFT); \
143+
const uint64_t __right __attribute__((unused)) = \
144+
(uint64_t)(RIGHT); \
145+
} while (0)
146+
139147
#define VERIFY3P(LEFT, OP, RIGHT) \
140148
do { \
141149
const uintptr_t __left __attribute__((unused)) = \

0 commit comments

Comments
 (0)