[LINUX PATCH V3 8/9] gpio: gpio-xilinx: Check return value of of_property_read_u32

Linus Walleij linus.walleij at linaro.org
Tue Nov 17 19:39:52 EST 2020


On Thu, Nov 12, 2020 at 6:13 PM Srinivas Neeli
<srinivas.neeli at xilinx.com> wrote:

> In two different instances the return value of "of_property_read_u32"
> API was neither captured nor checked.
> Fixed it by capturing the return value and then checking for any error.
>
> Addresses-Coverity: "check_return"
> Signed-off-by: Srinivas Neeli <srinivas.neeli at xilinx.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list