linux-3.15-rc5/arch/arm/mach-s3c24xx/mach-osiris-dvs.c:81: possible && / & mixup ?

Bug #1321858 reported by dcb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro
New
Undecided
Unassigned

Bug Description

[linux-3.15-rc5/arch/arm/mach-s3c24xx/mach-osiris-dvs.c:81]: (style) Boolean result is used in bitwi
se operation. Clarify expression with parentheses.
[linux-3.15-rc5/arch/arm/mach-s3c24xx/mach-osiris-dvs.c:82]: (style) Boolean result is used in bitwi
se operation. Clarify expression with parentheses.

        if (!old_dvs & new_dvs ||
            !cur_dvs & new_dvs) {

Wierd code. Maybe someone got & and && mixed up.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.