diff options
| author | 2025-11-01 16:26:42 +0300 | |
|---|---|---|
| committer | 2025-11-03 17:23:44 -0800 | |
| commit | 2e25935ed24daee37c4c2e8e29e478ce6e1f72c7 (patch) | |
| tree | 22333d3ab728d1782dfd7eac6b274c25f270ad24 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | net: ionic: map SKB after pseudo-header checksum prep (diff) | |
| download | wireguard-linux-2e25935ed24daee37c4c2e8e29e478ce6e1f72c7.tar.xz wireguard-linux-2e25935ed24daee37c4c2e8e29e478ce6e1f72c7.zip | |
octeontx2-pf: Fix devm_kcalloc() error checking
The devm_kcalloc() function never return error pointers, it returns NULL
on failure. Also delete the netdev_err() printk. These allocation
functions already have debug output built-in some the extra error message
is not required.
Fixes: efabce290151 ("octeontx2-pf: AF_XDP zero copy receive support")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aQYKkrGA12REb2sj@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
