summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/leon_kernel.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-11-25 12:03:55 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-12 03:15:48 +0100
commitb5c3206190f1fddd100b3060eb15f0d775ffeab8 (patch)
tree967a481ed205ea0a658fd0cfb990f3c2fee99070 /arch/sparc/kernel/leon_kernel.c
parentsparc64: move dereference after check for NULL (diff)
downloadlinux-b5c3206190f1fddd100b3060eb15f0d775ffeab8.tar.xz
linux-b5c3206190f1fddd100b3060eb15f0d775ffeab8.zip
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>
Diffstat (limited to 'arch/sparc/kernel/leon_kernel.c')
0 files changed, 0 insertions, 0 deletions