summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/bugs.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-11-23 10:15:05 +0300
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-12-05 19:22:58 +0300
commitafe120c777b7a6aa23b8c8a5fedae9201a7ced0c (patch)
tree173cdf60443a7c93e508689e48ff624b6e283147 /arch/x86/kernel/cpu/bugs.c
parent840414ae59d8858bca0a704e7f9c910d661348d7 (diff)
downloadlinux-afe120c777b7a6aa23b8c8a5fedae9201a7ced0c.tar.xz
ic3: off by one in mode_show()
This should be >= ARRAY_SIZE() to avoid reading one element beyond the end of the array. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'arch/x86/kernel/cpu/bugs.c')
0 files changed, 0 insertions, 0 deletions