Skip to content

Fix dubious bitwise and/or usage.

Alexey Zaytsev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Fix dubious bitwise 'or' usage spotted by sparse.mm/page_alloc.c+1 -10 replies
2/5Fix dubious bitwise 'or' usage spotted by sparse.drivers/isdn/mISDN/l1oip_codec.c+1 -10 replies
3/5Fix dubious bitwise 'and' usage spotted by sparse.drivers/media/video/gspca/m5602/m5602_s5k4aa.c+1 -11 reply
4/5Fix dubious bitwise 'and' usage spotted by sparse.drivers/net/wireless/ath9k/rc.c+1 -11 reply
5/5Fix dubious bitwise 'and' usage spotted by sparse.drivers/usb/wusbcore/security.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] [trivial] Fix dubious bitwise and/or usage.

Hello.

Sorry to bother the lkml with such trivial stuff, but I could not get any response from either Jiri Kosina ot trivial@ when I sent the patches directly to them. Maybe a linux-trivial@ mailing list would be a good idea..

These patches fix a number of cases where &/| were by mistake used instead of &&/||. In every single case the semantics stays the same, so none is a real bug.

---

Alexey Zaytsev (5):
Fix dubious bitwise 'and' usage spotted by sparse. Fix dubious bitwise 'and' usage spotted by sparse. Fix dubious bitwise 'and' usage spotted by sparse. Fix dubious bitwise 'or' usage spotted by sparse. Fix dubious bitwise 'or' usage spotted by sparse.

 drivers/isdn/mISDN/l1oip_codec.c               |    2 +-
 drivers/media/video/gspca/m5602/m5602_s5k4aa.c |    2 +-
 drivers/net/wireless/ath9k/rc.c                |    2 +-
 drivers/usb/wusbcore/security.c                |    2 +-
 mm/page_alloc.c                                |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

--