diff options
| author | Srinivas Neeli <[email protected]> | 2020-11-12 22:42:27 +0530 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2020-11-18 08:52:22 +0100 |
| commit | bea67aeab02208cbb2f3d60e358f331e2e6f1ab1 (patch) | |
| tree | a1781746c8634373977d5d23a6feb227dc7e2ede /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 0230a41ed6a818675c0166d506c3c9386af20986 (diff) | |
gpio: gpio-xilinx: Check return value of of_property_read_u32
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.
Signed-off-by: Srinivas Neeli <[email protected]>
Acked-by: Michal Simek <[email protected]>
Addresses-Coverity: "check_return"
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions