of/selftest: Move hash table off stack to fix large frame size
authorGrant Likely <grant.likely@linaro.org>
Tue, 7 Oct 2014 10:30:31 +0000 (11:30 +0100)
committerGrant Likely <grant.likely@linaro.org>
Tue, 7 Oct 2014 10:30:31 +0000 (11:30 +0100)
commit2118f4b8dfc666c3e4a9e262beca79636a0852fe
treeb0dabd31a3f41cfff12b8d8304b76be8a93019f2
parent7419eb064e74fba852f1a51842d3e27e248212fa
of/selftest: Move hash table off stack to fix large frame size

The new testcase that checks phandle consistency was using a hash table
on the stack which made the frame size much large than it should be. Fix
the problem by moving the hash table into the file scope.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/selftest.c