git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
overflow: Use POD in check_shl_overflow()
[sfrench/cifs-2.6.git]
/
include
/
linux
/
overflow.h
diff --git
a/include/linux/overflow.h
b/include/linux/overflow.h
index dede374832c9b992e5c48eac73f2bb82a40a300e..bc390f0261288c7ebda6088cc9e1c3a957e63146 100644
(file)
--- a/
include/linux/overflow.h
+++ b/
include/linux/overflow.h
@@
-197,7
+197,7
@@
static inline bool __must_check __must_check_overflow(bool overflow)
typeof(a) _a = a; \
typeof(s) _s = s; \
typeof(d) _d = d; \
- u
64 _a_full = _a;
\
+ u
nsigned long long _a_full = _a;
\
unsigned int _to_shift = \
is_non_negative(_s) && _s < 8 * sizeof(*d) ? _s : 0; \
*_d = (_a_full << _to_shift); \