diff options
author | Biju Das <biju.das@bp.renesas.com> | 2019-10-09 17:12:49 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-10-31 16:54:01 +0530 |
commit | c9baab38fe0e28762d0d67611cbe2aef0fb3fc72 (patch) | |
tree | a078e187f66c167ff81db6c5f61c7faf2116a49e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 82b5d164415549e74cfa1f9156ffd4463d0a76e2 (diff) |
phy: renesas: phy-rcar-gen2: Fix the array off by one warning
Fix the below smatch warning by adding variable check rather than the
hardcoded value.
warn: array off by one? 'data->select_value[channel_num]'
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions