diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-07 05:52:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-07 05:52:36 -0400 |
commit | 132f3c7bb98673f713be9511de16b7622803df36 (patch) | |
tree | 213f061a096cd082e7794ec3c48525249df25990 /drivers/media | |
parent | 1e506464a4d5c5d7482fda1f745b9ec79e44ad4f (diff) | |
download | talos-obmc-linux-132f3c7bb98673f713be9511de16b7622803df36.tar.gz talos-obmc-linux-132f3c7bb98673f713be9511de16b7622803df36.zip |
media: imx: shut up a false positive warning
With imx, gcc produces a false positive warning:
drivers/staging/media/imx/imx-media-csi.c: In function 'csi_idmac_setup_channel':
drivers/staging/media/imx/imx-media-csi.c:457:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (passthrough) {
^
drivers/staging/media/imx/imx-media-csi.c:464:2: note: here
default:
^~~~~~~
That's because the regex it uses for fall trough is not
good enough. So, rearrange the fall through comment in a way
that gcc will recognize.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions