Commit c994b129 authored by Matthew Wilcox's avatar Matthew Wilcox

test_ida: Fix lockdep warning

The IDA was declared on the stack instead of statically, so lockdep
triggered a warning that it was improperly initialised.

Reported-by: 0day bot
Tested-by: default avatarRong Chen <>
Signed-off-by: default avatarMatthew Wilcox <>
parent f0a7d188
......@@ -150,10 +150,10 @@ static void ida_check_conv(struct ida *ida)
IDA_BUG_ON(ida, !ida_is_empty(ida));
static DEFINE_IDA(ida);
static int ida_checks(void)
IDA_BUG_ON(&ida, !ida_is_empty(&ida));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment