ic3: master: off by one in mode_show()
This should be >= ARRAY_SIZE() to avoid reading one element beyond the end of the array. Change-Id: Ia26f48d55f98a989c1ce2f23893f80e7a651855a Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Git-commit: afe120c777b7a6aa23b8c8a5fedae9201a7ced0c Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Alok Chauhan <alokc@codeaurora.org>
Loading
Please register or sign in to comment