ramoops: fix use of rounddown_pow_of_two()
authorMarco Stornelli <marco.stornelli@gmail.com>
Fri, 13 Jan 2012 01:20:58 +0000 (17:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jan 2012 04:13:13 +0000 (20:13 -0800)
commitfdb5950754eb3dedb9fea7c8828d3e51d9dbc3f7
tree57d9804de982ab233c2fe2c553466a12387e1866
parent028ee4be34a09a6d48bdf30ab991ae933a7bc036
ramoops: fix use of rounddown_pow_of_two()

The return value of rounddown_pow_of_two wasn't evaluated, so the
operation was a no-op.

Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ramoops.c