]> 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)
commit946c77da3b8c5c8c7649b41c9b8e1431cf13a7a1
tree953ce3381bf2020f196bca2965a3062dd03275b6
parent802b65b346f1eeb11e24cdd17510d790234c5a8d
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