diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-11-25 12:03:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-12 03:15:48 +0100 |
commit | b5c3206190f1fddd100b3060eb15f0d775ffeab8 (patch) | |
tree | 967a481ed205ea0a658fd0cfb990f3c2fee99070 /arch/sparc/kernel/leon_kernel.c | |
parent | sparc64: move dereference after check for NULL (diff) | |
download | linux-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