diff options
author | Moritz Fischer <mdf@kernel.org> | 2019-05-30 09:52:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-30 07:56:11 -0700 |
commit | 498ddaa3b4e72152ae42dab2d4ebe93092885422 (patch) | |
tree | 3f9ef0b836632f28d9f6e228105c1454cb6c88dc /include/linux/amba/serial.h | |
parent | bd17cc5a20ae9aaa3ed775f360b75ff93cd66a1d (diff) |
fpga: zynqmp-fpga: Correctly handle error pointer
Fixes the following static checker errors:
drivers/fpga/zynqmp-fpga.c:50 zynqmp_fpga_ops_write()
error: 'eemi_ops' dereferencing possible ERR_PTR()
drivers/fpga/zynqmp-fpga.c:84 zynqmp_fpga_ops_state()
error: 'eemi_ops' dereferencing possible ERR_PTR()
Note: This does not handle the EPROBE_DEFER value in a
special manner.
Fixes commit c09f7471127e ("fpga manager: Adding FPGA Manager support for
Xilinx zynqmp")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/amba/serial.h')
0 files changed, 0 insertions, 0 deletions