diff options
author | Dan Carpenter <[email protected]> | 2020-06-24 16:27:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-06-27 13:51:49 +0200 |
commit | 3550f8979a7bb2f28940aa26aab77314ec8840bd (patch) | |
tree | 880e5c412f330b37254f887f969a0501d4d73e13 /tools/perf/scripts/python/intel-pt-events.py | |
parent | c89511f61c34aa8e52055fc704cee09c8e459dee (diff) |
tty: serial: qcom_geni_serial: Clean up an ARRAY_SIZE() vs sizeof()
The ARRAY_SIZE() is the number of elements but we want the number of
bytes so sizeof() is more appropriate. Fortunately, it's the same
thing here because this is an array of u8 so this doesn't change
runtime.
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/20200624132744.GD9972@mwanda
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions