aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/dfl.c
diff options
context:
space:
mode:
authorLuca Ceresoli <[email protected]>2020-08-30 18:38:49 +0200
committerMoritz Fischer <[email protected]>2020-08-30 17:08:57 -0700
commiteefe64fba9f2f2328c27ed9d9d02107083a62659 (patch)
tree0e466102710a717e0d5f46160ad2ff23e5090ce9 /drivers/fpga/dfl.c
parent16b7856d94807abeb62f615a8580fd7ae8a27515 (diff)
fpga manager: xilinx-spi: add error checking after gpiod_get_value()
Current code calls gpiod_get_value() without error checking. Should the GPIO controller fail, execution would continue without any error message. Fix by checking for negative error values. Reported-by: Tom Rix <[email protected]> Reviewed-by: Tom Rix <[email protected]> Signed-off-by: Luca Ceresoli <[email protected]> Signed-off-by: Moritz Fischer <[email protected]>
Diffstat (limited to 'drivers/fpga/dfl.c')
0 files changed, 0 insertions, 0 deletions