Re: [PATCH -next] net: wan: sdla: Use bitwise instead of arithmetic

2020-10-30 Thread Xie He
> Fix the following coccinelle warnings: > > ./drivers/net/wan/sdla.c:841:38-39: WARNING: sum of probable bitmasks, > consider | > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei > --- > drivers/net/wan/sdla.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers

[PATCH -next] net: wan: sdla: Use bitwise instead of arithmetic

2020-10-28 Thread Zou Wei
Fix the following coccinelle warnings: ./drivers/net/wan/sdla.c:841:38-39: WARNING: sum of probable bitmasks, consider | Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/net/wan/sdla.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wan/sdla.c b/dri