mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 17:51:57 +09:00
net: ax88796c: use bit numbers insetad of bit masks
Change the values of EVENT_* constants from bit masks to bit numbers as
accepted by {clear,set,test}_bit() functions.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
cf9acc90c8
commit
c366ce2875
@@ -127,9 +127,9 @@ struct ax88796c_device {
|
||||
#define AX_PRIV_FLAGS_MASK (AX_CAP_COMP)
|
||||
|
||||
unsigned long flags;
|
||||
#define EVENT_INTR BIT(0)
|
||||
#define EVENT_TX BIT(1)
|
||||
#define EVENT_SET_MULTI BIT(2)
|
||||
#define EVENT_INTR 0
|
||||
#define EVENT_TX 1
|
||||
#define EVENT_SET_MULTI 2
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user