]> git.baikalelectronics.ru Git - kernel.git/commit
net: ax88796c: use bit numbers insetad of bit masks
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 16 Nov 2021 21:29:15 +0000 (22:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2021 14:51:40 +0000 (14:51 +0000)
commitf0b741abc389b8c5ddeb15393af3465f3021ad37
treec68e30b2c51340b66d688d8720935ea06d18bbc2
parent461bd27d65f547949155dda725832419be6071a9
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>
drivers/net/ethernet/asix/ax88796c_main.h