Re: [PATCH] tile: array underflow in setup_maxnodemem()

From: Chris Metcalf
Date: Mon Jul 24 2017 - 11:26:03 EST


On 7/22/2017 3:33 AM, Dan Carpenter wrote:
My static checker correctly complains that we should have a lower bound
on "node" to prevent an array underflow.

Fixes: 867e359b97c9 ("arch/tile: core support for Tilera 32-bit chips.")
Signed-off-by: Dan Carpenter<dan.carpenter@xxxxxxxxxx>

Thanks, taken into the tile tree.

--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com