Smatch reported some issues with this driver, the use of unsigned variables and testing for being negative, should return -ENOMEM for a memory allocation failure.
Signed-off-by: Andrew Goodbody <andrew.goodb...@linaro.org> --- Andrew Goodbody (4): net: mvpp2: Fix impossible test net: mvpp2: Return -ENOMEM for failed alloc net: mvpp2: Cannot test unsigned variable to be negative net: mvpp2: Use field just assigned in error test drivers/net/mvpp2.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --- base-commit: 007610da2cca405ea7739fc120d90085be4b6ac2 change-id: 20250805-net_mvpp2-cc9152c3de3b Best regards, -- Andrew Goodbody <andrew.goodb...@linaro.org>