Re: linux-next: build warnings after merge of the staging tree
From: JB Van Puyvelde
Date: Fri Aug 18 2017 - 08:02:42 EST
On Thu, 17 Aug 2017 10:57:43 -0700
Greg KH <greg@xxxxxxxxx> wrote:
> 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
Hi,
Sorry about that. I will be more careful next time.
JB