Files
android_kernel_xiaomi_sm8450/include/linux/ide.h
Amol Surati 13990cf8a1 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: Amol Surati <suratiamol@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-09 14:52:14 -07:00

46 KiB