mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
media: dm365_ipipeif: better annotate a fall though
Shut up this warning: drivers/staging/media/davinci_vpfe/dm365_ipipeif.c: In function 'ipipeif_hw_setup': drivers/staging/media/davinci_vpfe/dm365_ipipeif.c:298:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (isif_port_if) { ^~~~~~ drivers/staging/media/davinci_vpfe/dm365_ipipeif.c:314:2: note: here case IPIPEIF_SDRAM_YUV: ^~~~ By annotating a fall though case at the right place. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
ef86eaf97a
commit
b50b769bcb
@ -310,6 +310,7 @@ static int ipipeif_hw_setup(struct v4l2_subdev *sd)
|
||||
ipipeif_write(val, ipipeif_base_addr, IPIPEIF_CFG2);
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
|
||||
case IPIPEIF_SDRAM_YUV:
|
||||
/* Set clock divider */
|
||||
|
Loading…
Reference in New Issue
Block a user