Skip to content

Commit

Permalink
fix:Invalid number of character '(' when these macros are defined: 'B…
Browse files Browse the repository at this point in the history
…ITS_PER_LONG=32'.

Signed-off-by: yuxiaojun <yuxiaojun@uniontech.com>
  • Loading branch information
slark-yuxj authored and shenping-bd committed Apr 26, 2024
1 parent ecc5721 commit cd03a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/LKM/src/trace_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ static inline bool __tb_time_read(tb_time_t *t, u64 *ret, unsigned long *cnt)
*cnt = tb_time_cnt(top);

/* If top, msb or bottom counts don't match, this interrupted a write */
if (*cnt != tb_time_cnt(msb) || *cnt != tb_time_cnt(bottom)
if (*cnt != tb_time_cnt(msb) || *cnt != tb_time_cnt(bottom))
return false;

/* The shift to msb will lose its cnt bits */
Expand Down

0 comments on commit cd03a1a

Please sign in to comment.