summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-05-31 12:44:44 +0300
committerTakashi Iwai <tiwai@suse.de>2019-05-31 12:44:44 +0300
commit65be9580885e4c14af1448b5bac95517c52a7ad3 (patch)
treeac4462b112956c79e281af721da45555869f2157 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parentc86ccfba17289a7795e6bf8528c2824508fe86f8 (diff)
downloadlinux-65be9580885e4c14af1448b5bac95517c52a7ad3.tar.xz
ALSA: control: Use struct_size()
For code simplification and safety, use struct_size() macro for calculating the snd_kcontrol object size with the variable array. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions