mirror of
https://github.com/torvalds/linux.git
synced 2025-01-01 07:42:07 +00:00
2b2b283c05
The masking operation on status is using a bitwise 'or' rather than a bitwise 'and' operator, and hence the result is always non-zero which is probably not what is intended. Fix this by using the correct operator. Detected by CoverityScan, CID#1475523 ("Wrong operator used") Fixes: 88acc98a712a ("i3c: master: Add driver for Synopsys DesignWare IP") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Vitor Soares <vitor.soares@synopsys.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> |
||
---|---|---|
.. | ||
dw-i3c-master.c | ||
i3c-master-cdns.c | ||
Kconfig | ||
Makefile |