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 <flavio.ceolin@intel.com>
This commit is contained in:
parent
4b55ee27d4
commit
abb1bbe6b1
1 changed files with 1 additions and 1 deletions
|
@ -230,5 +230,5 @@ int z_xtensa_irq_is_enabled(unsigned int irq)
|
||||||
|
|
||||||
__asm__ volatile("rsr.intenable %0" : "=r"(ie));
|
__asm__ volatile("rsr.intenable %0" : "=r"(ie));
|
||||||
|
|
||||||
return (ie & (1 << irq)) != 0;
|
return (ie & (1 << irq)) != 0U;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue