summaryrefslogtreecommitdiffstats
path: root/arch/sparc/prom
diff options
context:
space:
mode:
authorDan Carpenter2016-11-25 12:03:55 +0100
committerDavid S. Miller2016-12-12 03:15:48 +0100
commitb5c3206190f1fddd100b3060eb15f0d775ffeab8 (patch)
tree967a481ed205ea0a658fd0cfb990f3c2fee99070 /arch/sparc/prom
parentsparc64: move dereference after check for NULL (diff)
downloadkernel-qcow2-linux-b5c3206190f1fddd100b3060eb15f0d775ffeab8.tar.gz
kernel-qcow2-linux-b5c3206190f1fddd100b3060eb15f0d775ffeab8.tar.xz
kernel-qcow2-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/prom')
0 files changed, 0 insertions, 0 deletions