overflow: Use POD in check_shl_overflow()
[sfrench/cifs-2.6.git] / include / linux / overflow.h
index dede374832c9b992e5c48eac73f2bb82a40a300e..bc390f0261288c7ebda6088cc9e1c3a957e63146 100644 (file)
@@ -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;                                               \
-       u64 _a_full = _a;                                               \
+       unsigned long long _a_full = _a;                                \
        unsigned int _to_shift =                                        \
                is_non_negative(_s) && _s < 8 * sizeof(*d) ? _s : 0;    \
        *_d = (_a_full << _to_shift);                                   \