commit | 374503c6109e60f48fa9b11341b14466f07bd3f4 | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Wed May 17 06:50:32 2017 +0000 |
committer | Mark Brown <broonie@kernel.org> | Wed May 17 10:30:47 2017 +0100 |
tree | e05a504d060731ff7f464ddde7b502da50093637 | |
parent | 2adcea7e22d382e2becf5671e92296f79672b957 [diff] |
ASoC: rsnd: check src mod pointer for rsnd_mod_id() Without this patch, gcc 4.9.x says sound/soc/sh/rcar/cmd.c: In function 'rsnd_cmd_init': sound/soc/sh/rcar/cmd.c:85:14: warning: array subscript is below array\ bounds [-Warray-bounds] data = path[rsnd_mod_id(src)] | Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>