diff options
author | 2017-10-12 22:36:31 -0400 | |
---|---|---|
committer | 2017-10-13 15:14:08 +0200 | |
commit | a9291f461d2e727ac0812d7021653379fea4b782 (patch) | |
tree | c23373d95c1eb240c8d18e856b0b01b4f44090b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'topic/usb-ep-check-v2' into for-next (diff) | |
download | wireguard-linux-a9291f461d2e727ac0812d7021653379fea4b782.tar.xz wireguard-linux-a9291f461d2e727ac0812d7021653379fea4b782.zip |
ALSA: hda/ca0132 - use ARRAY_SIZE
Using the ARRAY_SIZE macro improves the readability of the code.
Found with Coccinelle with the following semantic patch:
@r depends on (org || report)@
type T;
T[] E;
position p;
@@
(
(sizeof(E)@p /sizeof(*E))
|
(sizeof(E)@p /sizeof(E[...]))
|
(sizeof(E)@p /sizeof(T))
)
Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions