All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the staging tree
@ 2017-11-02  4:38 Stephen Rothwell
  0 siblings, 0 replies; 19+ messages in thread
From: Stephen Rothwell @ 2017-11-02  4:38 UTC (permalink / raw)
  To: Greg KH
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Kees Cook,
	Aastha Gupta

Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

drivers/staging/rtlwifi/base.c: In function 'rtl_watch_dog_timer_callback':
drivers/staging/rtlwifi/base.c:2167:23: warning: unused variable 'hw' [-Wunused-variable]
  struct ieee80211_hw *hw = rtlpriv->hw;
                       ^
drivers/staging/rtl8723bs/hal/hal_btcoex.c: In function 'hal_btcoex_Initialize':
drivers/staging/rtl8723bs/hal/hal_btcoex.c:1415:5: warning: unused variable 'ret2' [-Wunused-variable]
  u8 ret2;
     ^
drivers/staging/rtl8723bs/hal/hal_btcoex.c:1414:5: warning: unused variable 'ret1' [-Wunused-variable]
  u8 ret1;
     ^

Introduced by commits

  f8af6a323368 ("staging: rtlwifi: Convert timers to use timer_setup()")
  95b3b4238581 ("staging: rtl8723bs: remove ternary operators in assignmet statments")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warnings after merge of the staging tree
@ 2019-02-05  3:22 Stephen Rothwell
  2019-02-05 10:24 ` Jonathan Cameron
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2019-02-05  3:22 UTC (permalink / raw)
  To: Greg KH
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Tomasz Duszynski, Jonathan Cameron, Gustavo A. R. Silva,
	Kees Cook

[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]

Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

drivers/iio/chemical/sps30.c: In function 'sps30_read_raw':
drivers/iio/chemical/sps30.c:289:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
    switch (chan->channel2) {
    ^~~~~~
drivers/iio/chemical/sps30.c:299:3: note: here
   default:
   ^~~~~~~
drivers/iio/chemical/sps30.c: In function 'sps30_do_cmd':
drivers/iio/chemical/sps30.c:120:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   buf[1] = (u8)SPS30_AUTO_CLEANING_PERIOD;
          ^
drivers/iio/chemical/sps30.c:121:2: note: here
  case SPS30_READ_DATA_READY_FLAG:
  ^~~~

Introduced by commits

  232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
  62129a0849d2 ("iio: chemical: sps30: allow changing self cleaning period")

I get this warning because I am building with -Wimplicit-fallthrough
in attempt to catch new additions early.  The gcc warning can be turned
off by adding a /* fall through */ comment at the point the fall through
happens (assuming that the fall through is intentional).

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warnings after merge of the staging tree
@ 2018-05-14  4:34 Stephen Rothwell
  2018-05-14  9:26 ` Greg KH
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2018-05-14  4:34 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Abdun Nihaal

[-- Attachment #1: Type: text/plain, Size: 966 bytes --]

Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/staging/most/video/video.c: In function 'vidioc_enum_fmt_vid_cap':
drivers/staging/most/video/video.c:265:25: warning: unused variable 'mdev' [-Wunused-variable]
  struct most_video_dev *mdev = fh->mdev;
                         ^~~~
drivers/staging/most/video/video.c: In function 'vidioc_g_fmt_vid_cap':
drivers/staging/most/video/video.c:282:25: warning: unused variable 'mdev' [-Wunused-variable]
  struct most_video_dev *mdev = fh->mdev;
                         ^~~~
drivers/staging/most/video/video.c: In function 'vidioc_g_std':
drivers/staging/most/video/video.c:309:25: warning: unused variable 'mdev' [-Wunused-variable]
  struct most_video_dev *mdev = fh->mdev;
                         ^~~~

Introduced by commit

  7d7cdb4fa552 ("staging: most: video: remove debugging code")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warnings after merge of the staging tree
@ 2017-07-31  5:02 Stephen Rothwell
  2017-08-09  1:25 ` Stephen Rothwell
  2017-08-17 17:57 ` Greg KH
  0 siblings, 2 replies; 19+ messages in thread
From: Stephen Rothwell @ 2017-07-31  5:02 UTC (permalink / raw)
  To: Greg KH
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, JB Van Puyvelde

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warnings after merge of the staging tree
@ 2015-05-29 10:40 Stephen Rothwell
  2015-06-01  8:50 ` Stephen Rothwell
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2015-05-29 10:40 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-next, linux-kernel, Johnny Kim, Guenter Roeck, Arnd Bergmann

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced a large number of warnings in
drivers/staging/wilc1000.

like:

drivers/staging/wilc1000/wilc_wfi_cfgoperations.c: At top level:
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:4184:2: warning: initialization from incompatible pointer type
  .add_station = WILC_WFI_add_station,
  ^
drivers/staging/wilc1000/linux_wlan.c: In function 'mac_open':
drivers/staging/wilc1000/linux_wlan.c:2140:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    g_linux_wlan->strInterfaceInfo[i].drvHandler = (WILC_Uint32)priv->hWILCWFIDrv;
                                                   ^
drivers/staging/wilc1000/host_interface.c:708:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  s32Error = SendConfigPkt(SET_CFG, &strWID, 1, WILC_TRUE, (WILC_Uint32)pstrWFIDrv);
                                                           ^

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warnings after merge of the staging tree
@ 2015-05-06  4:10 Stephen Rothwell
  2015-05-06  6:56 ` Julia Lawall
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2015-05-06  4:10 UTC (permalink / raw)
  To: Greg KH, Julia Lawall; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

drivers/staging/lustre/lustre/llite/file.c: In function 'll_iocontrol_unregister':
drivers/staging/lustre/lustre/llite/file.c:3249:17: warning: unused variable 'size' [-Wunused-variable]
    unsigned int size = tmp->iocd_size;
                 ^
drivers/staging/lustre/lustre/llite/llite_lib.c: In function 'll_fill_super':
drivers/staging/lustre/lustre/llite/llite_lib.c:912:12: warning: unused variable 'instlen' [-Wunused-variable]
  const int instlen = sizeof(cfg->cfg_instance) * 2 + 2;
            ^

Introduced by commit 97903a26fcfc ("staging: lustre: llite: drop uses
of OBD free functions").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warnings after merge of the staging tree
@ 2012-01-31  3:25 Stephen Rothwell
  2012-01-31  5:14 ` Greg KH
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2012-01-31  3:25 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Mark Allyn, Andy Shevchenko, Alan Cox

[-- Attachment #1: Type: text/plain, Size: 1639 bytes --]

Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

drivers/staging/sep/sep_main.c: In function 'sep_allocate_dmatables_region':
drivers/staging/sep/sep_main.c:217:2: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat]
drivers/staging/sep/sep_main.c: In function 'sep_activate_msgarea_context':
drivers/staging/sep/sep_main.c:3348:5: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat]
drivers/staging/sep/sep_main.c: In function 'sep_create_msgarea_context':
drivers/staging/sep/sep_main.c:3380:5: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat]
drivers/staging/sep/sep_main.c: In function 'sep_read':
drivers/staging/sep/sep_main.c:3466:2: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat]
drivers/staging/sep/sep_main.c: In function 'sep_fastcall_args_get':
drivers/staging/sep/sep_main.c:3526:5: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat]
drivers/staging/sep/sep_main.c:3567:5: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat]
drivers/staging/sep/sep_main.c:3567:5: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat]

Introduced by commit ff3d9c3c90c6 ("staging: sep: SEP update").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-02-05 10:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02  4:38 linux-next: build warnings after merge of the staging tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2019-02-05  3:22 Stephen Rothwell
2019-02-05 10:24 ` Jonathan Cameron
2018-05-14  4:34 Stephen Rothwell
2018-05-14  9:26 ` Greg KH
2017-07-31  5:02 Stephen Rothwell
2017-08-09  1:25 ` Stephen Rothwell
2017-08-22  1:49   ` Stephen Rothwell
2017-08-17 17:57 ` Greg KH
2017-08-18 12:02   ` JB Van Puyvelde
2015-05-29 10:40 Stephen Rothwell
2015-06-01  8:50 ` Stephen Rothwell
2015-06-20 10:48   ` Stephen Rothwell
2015-06-20 14:50     ` Greg KH
2015-06-20 14:50       ` Greg KH
2015-05-06  4:10 Stephen Rothwell
2015-05-06  6:56 ` Julia Lawall
2012-01-31  3:25 Stephen Rothwell
2012-01-31  5:14 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.