mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:00:53 +07:00
V4L/DVB (6503): pvrusb2: Fix associativity logic error
if(!x & y) should either be if(!(x & y)) or if(!x && y) I made changes as seemed appropriate, but please review this is against current git. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
85085ad7b2
commit
4ed53a5af7
@ -410,7 +410,7 @@ static int parse_mtoken(const char *ptr,unsigned int len,
|
||||
int msk;
|
||||
*valptr = 0;
|
||||
for (idx = 0, msk = 1; valid_bits; idx++, msk <<= 1) {
|
||||
if (!msk & valid_bits) continue;
|
||||
if (!(msk & valid_bits)) continue;
|
||||
valid_bits &= ~msk;
|
||||
if (!names[idx]) continue;
|
||||
slen = strlen(names[idx]);
|
||||
|
Loading…
Reference in New Issue
Block a user