]> git.karo-electronics.de Git - linux-beck.git/commit
sparc64: make string buffers large enough
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Nov 2016 11:03:55 +0000 (14:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Dec 2016 02:15:48 +0000 (18:15 -0800)
commitb5c3206190f1fddd100b3060eb15f0d775ffeab8
tree967a481ed205ea0a658fd0cfb990f3c2fee99070
parentefca4885b5dea6af906d27b3516f68e0bc1ff9c3
sparc64: make string buffers large enough

My static checker complains that if "lvl" is ULONG_MAX (this is 64 bit)
then some of the strings will overflow.  I don't know if that's possible
but it seems simple enough to make the buffers slightly larger.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/traps_64.c