diff options
| author | Jérémy Lefaure <jeremy.lefaure@lse.epita.fr> | 2017-10-12 22:36:31 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2017-10-13 15:14:08 +0200 |
| commit | a9291f461d2e727ac0812d7021653379fea4b782 (patch) | |
| tree | c23373d95c1eb240c8d18e856b0b01b4f44090b3 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | Merge branch 'topic/usb-ep-check-v2' into for-next (diff) | |
| download | linux-a9291f461d2e727ac0812d7021653379fea4b782.tar.gz 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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
