aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_semantics.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2020-04-27 09:33:43 +0000
committerDavid S. Miller <[email protected]>2020-04-27 20:27:59 +0000
commit2ac757e4152e3322a04a6dfb3d1fa010d3521abf (patch)
tree215dc5e3aef47c45e29f57c9206769d0196b3592 /net/ipv4/fib_semantics.c
parentr8169: improve error message if no dedicated PHY driver is found (diff)
downloadkernel-2ac757e4152e3322a04a6dfb3d1fa010d3521abf.tar.gz
kernel-2ac757e4152e3322a04a6dfb3d1fa010d3521abf.zip
net: ethernet: ti: fix return value check in k3_cppi_desc_pool_create_name()
In case of error, the function gen_pool_create() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver") Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions