Commit 13990cf8 authored by Amol Surati's avatar Amol Surati Committed by David S. Miller

ide: use BIT() macro for defining bit-flags

The BIT() macro is available for defining the required bit-flags.

Since it operates on an unsigned value and expands to an unsigned result,
using it, instead of an expression like (1 << x), also fixes the problem
of shifting a signed 32-bit value by 31 bits (e.g. 1 << 31).
Signed-off-by: default avatarAmol Surati <suratiamol@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 54dee406
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment