diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-07-22 09:25:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-27 14:26:39 +0200 |
commit | cfed201e2db273562de152d22b74f74dee77e301 (patch) | |
tree | b93c1bf00b3310ac43543e693b7b3da70e76c1c8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ff50a91ee5e6db357c900dce280a7129dc9e363c (diff) |
usb: typec: anx7411: Fix an array out of bounds
This should be ARRAY_SIZE() instead of sizeof(). ARRAY_SIZE is
4 and sizeof is 8.
Fixes: fe6d8a9c8e64 ("usb: typec: anx7411: Add Analogix PD ANX7411 support")
Reviewed-by: Xin Ji <xji@analogixsemi.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YtpC5s4/AD8vFz+X@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions