Skip to content

Commit abb1bbe

Browse files
Flavio Ceolinnashif
authored andcommitted
arch: xtensa: Fix 10.4 violations
Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 4b55ee2 commit abb1bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/xtensa/core/xtensa-asm2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,5 @@ int z_xtensa_irq_is_enabled(unsigned int irq)
230230

231231
__asm__ volatile("rsr.intenable %0" : "=r"(ie));
232232

233-
return (ie & (1 << irq)) != 0;
233+
return (ie & (1 << irq)) != 0U;
234234
}

0 commit comments

Comments
 (0)