On Tue, Sep 09, 2025 at 04:18:02AM +0000, Jiaxun Yang wrote:
> Correct the logical condition in the start_ohci function to ensure
> proper evaluation of the status variable.
> 
> Fix warning:
> 
> ./src/hw/usb-ohci.c:192:13: warning: logical not is only applied to the left 
> hand side of this bitwise operator [-Wlogical-not-parentheses]
>   192 |         if (! status & OHCI_HCR)
> 
> Signed-off-by: Jiaxun Yang <[email protected]>

Reviewed-by: Gerd Hoffmann <[email protected]>

_______________________________________________
SeaBIOS mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to