mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
test_objagg: Fix warning.
lib/test_objagg.c: In function ‘test_delta_action_item’: ./include/linux/printk.h:308:2: warning: ‘errmsg’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
1 parent
4e86889b52
commit
110e2b4b94
1 file changed
+1
@@ -769,6 +769,7 @@ static int test_delta_action_item(struct world *world,
|
||||
if (err)
|
||||
goto errout;
|
||||
|
||||
errmsg = NULL;
|
||||
err = check_expect_stats(objagg, &action_item->expect_stats, &errmsg);
|
||||
if (err) {
|
||||
pr_err("Key %u: Stats: %s\n", action_item->key_id, errmsg);
|
||||
|
||||
Reference in new issue
Block a user