Re: linux-next: build warnings after merge of the staging tree

From: Greg KH
Date: Thu Aug 17 2017 - 13:57:47 EST


On Mon, Jul 31, 2017 at 03:02:27PM +1000, Stephen Rothwell wrote:
> Hi Greg,
>
> 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")

Sorry for the delay, now dropped from my tree, I shouldn't have taken it
in the first place :(

greg k-h