[PATCH 4/6] power: regulator: rzg2l-usbphy: Add parenthesis to return expression

Frieder Schrempf frieder.schrempf at kontron.de
Wed Aug 27 09:46:45 CEST 2025


Am 07.08.25 um 18:35 schrieb Andrew Goodbody:
> In order to get the expected result from
> rzg2l_usbphy_regulator_get_enable the return expression needs
> parenthesis so that the binary and is performed before the double
> logical not.
> 
> This issue was found by Smatch.
> 
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>

Reviewed-by: Frieder Schrempf <frieder.schrempf at kontron.de>


More information about the U-Boot mailing list