Re: [PATCH] armv8: sec_firmware: drop unneeded ARMV8_SEC_FIRMWARE_SUPPORT check

2022-04-06 Thread Michael Walle
Am 2022-04-06 15:09, schrieb Tom Rini: On Fri, Nov 26, 2021 at 05:11:36PM +0100, Michael Walle wrote: This module will only be compiled if this symbol is set. Remove the useless check. While at it, invert the return code, to return 0 if the function succeeds. The only user of this function in a

Re: [PATCH] armv8: sec_firmware: drop unneeded ARMV8_SEC_FIRMWARE_SUPPORT check

2022-04-06 Thread Tom Rini
On Fri, Nov 26, 2021 at 05:11:36PM +0100, Michael Walle wrote: > This module will only be compiled if this symbol is set. Remove the > useless check. While at it, invert the return code, to return 0 if the > function succeeds. The only user of this function in > arch/arm/cpu/armv8/fsl-layerscape/f

Re: [PATCH] armv8: sec_firmware: drop unneeded ARMV8_SEC_FIRMWARE_SUPPORT check

2022-04-06 Thread Michael Walle
Am 2021-11-26 17:11, schrieb Michael Walle: This module will only be compiled if this symbol is set. Remove the useless check. While at it, invert the return code, to return 0 if the function succeeds. The only user of this function in arch/arm/cpu/armv8/fsl-layerscape/fdt.c doesn't check the ret

[PATCH] armv8: sec_firmware: drop unneeded ARMV8_SEC_FIRMWARE_SUPPORT check

2021-11-26 Thread Michael Walle
This module will only be compiled if this symbol is set. Remove the useless check. While at it, invert the return code, to return 0 if the function succeeds. The only user of this function in arch/arm/cpu/armv8/fsl-layerscape/fdt.c doesn't check the return code anyway, so its safe change it. Signe