Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-6142 libcfs: use BIT() macro where appropriate
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
debug.c
diff --git
a/libcfs/libcfs/debug.c
b/libcfs/libcfs/debug.c
index
de58fa6
..
280ada3
100644
(file)
--- a/
libcfs/libcfs/debug.c
+++ b/
libcfs/libcfs/debug.c
@@
-299,7
+299,7
@@
libcfs_debug_mask2str(char *str, int size, int mask, int is_subsys)
len = 1;
} else { /* space-separated tokens */
for (i = 0; i < 32; i++) {
- if ((mask &
(1 <<
i)) == 0)
+ if ((mask &
BIT(
i)) == 0)
continue;
token = fn(i);