summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-05-17 06:50:32 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-24 11:00:08 +0100
commit548af581f939bbad7fa21fa8dace32e5eef075e5 (patch)
tree799ab22f8e8600cbdb3846eb5682a48c592306d7 /fs
parent890962b83636836b044022773995d5ae558499ea (diff)
ASoC: rsnd: check src mod pointer for rsnd_mod_id()
commit 374503c6109e60f48fa9b11341b14466f07bd3f4 upstream. 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> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions