Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1699689 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-07-31 07:10 +0200
Last post2017-08-09 03:30 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  linux-next: build warnings after merge of the staging tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-31 07:10 +0200
    Re: linux-next: build warnings after merge of the staging tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-08-09 03:30 +0200

#1699689 — linux-next: build warnings after merge of the staging tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-07-31 07:10 +0200
Subjectlinux-next: build warnings after merge of the staging tree
Message-ID<u9b7P-22o-7@gated-at.bofh.it>
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")

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1706992

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-08-09 03:30 +0200
Message-ID<ucnYR-8kd-3@gated-at.bofh.it>
In reply to#1699689
Hi all,

On Mon, 31 Jul 2017 15:02:27 +1000 Stephen Rothwell <sfr@canb.auug.org.au> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web