]> git.baikalelectronics.ru Git - kernel.git/commit
tile: fix a -Wframe-larger-than warning
authorChris Metcalf <cmetcalf@ezchip.com>
Mon, 21 Dec 2015 17:14:24 +0000 (12:14 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Mon, 18 Jan 2016 19:49:19 +0000 (14:49 -0500)
commit69989662aa4d891ee299348940e3ff45b33cd958
tree953ce3381bf2020f196bca2965a3062dd03275b6
parent155530a7e169ca09910e8daf5c180f9ac885cee7
tile: fix a -Wframe-larger-than warning

The warning occurs in setup.c, where it is known that it can't be
a problem, but it's still a good idea to silence the warning.
The onstack array is converted from an s32 to a u8, which still
is plenty of range for the values being managed there.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/kernel/setup.c