diff options
author | Kuninori Morimoto <[email protected]> | 2019-07-11 13:10:45 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-07-11 12:27:29 +0100 |
commit | ec3042ad39d4e2ddbc3a3344f90bb10d8feb53bc (patch) | |
tree | 1c38aeb94ef2ff855d88b6d325f13333d0630568 /scripts/gdb/linux/modules.py | |
parent | 09297c2f7a5428776369ba3b9904718a358e5559 (diff) |
ASoC: audio-graph-card: add missing const at graph_get_dai_id()
commit c152f8491a8d9 ("ASoC: audio-graph-card: fix an use-after-free in
graph_get_dai_id()") fixups use-after-free issue,
but, it need to use "const" for reg. This patch adds it.
We will have below without this patch
LINUX/sound/soc/generic/audio-graph-card.c: In function 'graph_get_dai_id':
LINUX/sound/soc/generic/audio-graph-card.c:87:7: warning: assignment discards\
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
reg = of_get_property(node, "reg", NULL);
Fixes: c152f8491a8d9 ("ASoC: audio-graph-card: fix an use-after-free in graph_get_dai_id()")
Signed-off-by: Kuninori Morimoto <[email protected]>
Acked-by: Wen Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions