diff options
| author | Kuninori Morimoto <[email protected]> | 2019-10-25 09:56:10 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-10-25 11:06:35 +0100 |
| commit | 4baabbf932ed4f97df8e18cf546d39b7c2138020 (patch) | |
| tree | 85cef91da864ee4e499653f14c81746ef02153df /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | f3ee99087c8ca0ecfdd549ef5a94f557c42d5428 (diff) | |
ASoC: soc-dpcm: tidyup for_each_dpcm_xx() macro
for_each_dpcm_xx() macro is using "dpcm" as parameter (1),
but, it is also struct member (2).
#define for_each_dpcm_fe(be, stream, dpcm) \
list_for_each_entry(dpcm, &(be)->dpcm[stream]...)
^^^^(1) ^^^^(2)
Thus, it will be compile error if user not used "dpcm" as parameter
for_each_dpcm_fe(be, stream, dp)
^^
This patch fixup it.
Reported-by: Pavel Machek <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions