Re: linux-next: build warnings after merge of the staging tree
From: Stephen Rothwell
Date: Tue Aug 08 2017 - 21:25:29 EST
Hi all,
On Mon, 31 Jul 2017 15:02:27 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the staging tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/staging/media/atomisp/i2c/imx/imx.c:1087:12: warning: 'imx_vcm_power_up' defined but not used [-Wunused-function]
> static int imx_vcm_power_up(struct v4l2_subdev *sd)
> ^
> drivers/staging/media/atomisp/i2c/imx/imx.c:1095:12: warning: 'imx_vcm_power_down' defined but not used [-Wunused-function]
> static int imx_vcm_power_down(struct v4l2_subdev *sd)
> ^
> drivers/staging/media/atomisp/i2c/imx/imx.c:1103:12: warning: 'imx_vcm_init' defined but not used [-Wunused-function]
> static int imx_vcm_init(struct v4l2_subdev *sd)
> ^
> drivers/staging/media/atomisp/i2c/imx/imx.c:1111:12: warning: 'imx_t_focus_vcm' defined but not used [-Wunused-function]
> static int imx_t_focus_vcm(struct v4l2_subdev *sd, u16 val)
> ^
>
> Introduced by commit
>
> 9a5a6911aa3f ("staging: imx: fix non-static declarations")
There is now another copy of this commit in the v4l-dvb tree producing
the same warnings :-(
--
Cheers,
Stephen Rothwell