OSDN Git Service

test_ida: Fix lockdep warning
authorMatthew Wilcox <willy@infradead.org>
Mon, 15 Oct 2018 20:23:08 +0000 (16:23 -0400)
committerMatthew Wilcox <willy@infradead.org>
Mon, 15 Oct 2018 20:31:29 +0000 (16:31 -0400)
commitc994b12945a65cd892ca2cf7ddcf0b7d8b25cdec
tree910c826c9a20d31f6b229e2fedf25b3e9fe33cb2
parentf0a7d1883d9f78ae7bf15fc258bf9a2b20f35b76
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: Rong Chen <rong.a.chen@intel.com>
Signed-off-by: Matthew Wilcox <willy@infradead.org>
lib/test_ida.c