mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
scst_lib: Fix a checkpatch complaint
Avoid that the checkpatch tool included in kernel 3.10 reports the following:
WARNING: space prohibited between function name and open parenthesis '('
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4918 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -6979,7 +6979,7 @@ EXPORT_SYMBOL_GPL(scst_calc_block_shift);
|
||||
*/
|
||||
#define shift_left_overflows(a, b) \
|
||||
({ \
|
||||
typeof (a) _minus_one = -1LL; \
|
||||
typeof(a) _minus_one = -1LL; \
|
||||
bool _a_is_signed = _minus_one < 0; \
|
||||
int _shift = sizeof(1ULL) * 8 - ((b) + _a_is_signed); \
|
||||
_shift < 0 || ((a) & ~((1ULL << _shift) - 1)) != 0; \
|
||||
|
||||
Reference in New Issue
Block a user