aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_objagg.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2025-07-04 08:03:18 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-07-04 08:03:18 +0200
commit6b9fd8857b9fc4dd62e7cd300327f0e48dd76642 (patch)
tree1843ae1940d26bbb9473247da38f27c907ff7ed6 /lib/test_objagg.c
parentipv6: Cleanup fib6_drop_pcpu_from() (diff)
parentMerge tag 'net-6.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff)
downloadlinux-6b9fd8857b9fc4dd62e7cd300327f0e48dd76642.tar.gz
linux-6b9fd8857b9fc4dd62e7cd300327f0e48dd76642.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-6.16-rc5). No conflicts. No adjacent changes. Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/test_objagg.c')
-rw-r--r--lib/test_objagg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/test_objagg.c b/lib/test_objagg.c
index a67b8ef5c5be..ce5c4c36a084 100644
--- a/lib/test_objagg.c
+++ b/lib/test_objagg.c
@@ -899,8 +899,10 @@ static int check_expect_hints_stats(struct objagg_hints *objagg_hints,
int err;
stats = objagg_hints_stats_get(objagg_hints);
- if (IS_ERR(stats))
+ if (IS_ERR(stats)) {
+ *errmsg = "objagg_hints_stats_get() failed.";
return PTR_ERR(stats);
+ }
err = __check_expect_stats(stats, expect_stats, errmsg);
objagg_stats_put(stats);
return err;