diff options
| author | Wei Yongjun <[email protected]> | 2018-08-16 14:42:13 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-12 09:31:00 +0200 |
| commit | 029d727b4f5d7c82f78e0395a0d220271c2f92b8 (patch) | |
| tree | 9c84e65bb3b7b92a73b09e70b01034653e0fb5a3 /lib/test_stackinit.c | |
| parent | de916736aaaadddbd6061472969f667b14204aa9 (diff) | |
fpga: dfl: fme: fix return value check in in pr_mgmt_init()
In case of error, the function dfl_fme_create_region() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Fixes: 29de76240e86 ("fpga: dfl: fme: add partial reconfiguration sub feature support")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Moritz Fischer <[email protected]>
Acked-by: Alan Tull <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions