summaryrefslogtreecommitdiffstats
path: root/net/mptcp
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2020-08-30 18:38:49 +0200
committerMoritz Fischer <mdf@kernel.org>2020-08-30 17:08:57 -0700
commiteefe64fba9f2f2328c27ed9d9d02107083a62659 (patch)
tree0e466102710a717e0d5f46160ad2ff23e5090ce9 /net/mptcp
parent16b7856d94807abeb62f615a8580fd7ae8a27515 (diff)
downloadlinux-eefe64fba9f2f2328c27ed9d9d02107083a62659.tar.bz2
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 <trix@redhat.com> Reviewed-by: Tom Rix <trix@redhat.com> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'net/mptcp')
0 files changed, 0 insertions, 0 deletions