linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the i2c tree
@ 2010-03-28 23:54 Stephen Rothwell
  2010-03-29 13:21 ` Jean Delvare
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2010-03-28 23:54 UTC (permalink / raw)
  To: Jean Delvare; +Cc: linux-next, linux-kernel, Rafael J. Wysocki

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

Hi Jean,

After merging the ii2c tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/i2c/i2c-core.c:159: warning: 'i2c_legacy_suspend' defined but not used
drivers/i2c/i2c-core.c:172: warning: 'i2c_legacy_resume' defined but not used

Introduced by commit 592b0bd0324728fe0aca823951eba06a9494c2f9 ("i2c: Fix
bus-level power management callbacks").  These routines are only called
if CONFIG_PM_SLEEP is defined.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the i2c tree
@ 2021-08-18  6:29 Stephen Rothwell
  2021-08-18  6:54 ` Jie Deng
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2021-08-18  6:29 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Conghui Chen, Jie Deng, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the i2c tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

drivers/i2c/busses/i2c-virtio.c: In function 'virtio_i2c_probe':
drivers/i2c/busses/i2c-virtio.c:208:17: warning: unused variable 'pdev' [-Wunused-variable]
  208 |  struct device *pdev = vdev->dev.parent;
      |                 ^~~~

Introduced by commit

  8fb12751ac78 ("i2c: virtio: add a virtio i2c frontend driver")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the i2c tree
@ 2019-08-02  3:21 Stephen Rothwell
  2019-08-02  6:04 ` Uwe Kleine-König
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2019-08-02  3:21 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Uwe Kleine-König, Andy Shevchenko

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

Hi all,

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

drivers/i2c/busses/i2c-designware-master.c: In function 'i2c_dw_init_recovery_info':
drivers/i2c/busses/i2c-designware-master.c:658:6: warning: unused variable 'r' [-Wunused-variable]
  int r;
      ^

Introduced by commit

  33eb09a02e8d ("i2c: designware: make use of devm_gpiod_get_optional")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the i2c tree
@ 2019-06-11  0:25 Stephen Rothwell
  2019-06-12  8:19 ` Wolfram Sang
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2019-06-11  0:25 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Ruslan Babayev, Andrew de Quincey, Mauro Carvalho Chehab

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

Hi Wolfram,

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

drivers/media/dvb-frontends/tua6100.c: In function 'tua6100_set_params':
drivers/media/dvb-frontends/tua6100.c:71: warning: "_P" redefined
 #define _P 32
 
In file included from include/acpi/platform/aclinux.h:54,
                 from include/acpi/platform/acenv.h:152,
                 from include/acpi/acpi.h:22,
                 from include/linux/acpi.h:21,
                 from include/linux/i2c.h:17,
                 from drivers/media/dvb-frontends/tua6100.h:22,
                 from drivers/media/dvb-frontends/tua6100.c:24:
include/linux/ctype.h:14: note: this is the location of the previous definition
 #define _P 0x10 /* punct */

Exposed by commit

  5213d7efc8ec ("i2c: acpi: export i2c_acpi_find_adapter_by_handle")

Since that included <linux/acpi.h> from <linux/i2c.h>

Originally introduced by commit

  00be2e7c6415 ("V4L/DVB (4606): Add driver for TUA6100")

The _P in <linux/ctype.h> has existed since before git.
-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the i2c tree
@ 2017-06-05  1:11 Stephen Rothwell
  2017-06-15  1:34 ` Stephen Rothwell
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2017-06-05  1:11 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List

Hi Wolfram,

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

drivers/i2c/i2c-stub.c:18:0: warning: "DEBUG" redefined
 #define DEBUG
 ^
<command-line>:0:0: note: this is the location of the previous definition

Introduced by commit

  6c42778780c4 ("i2c: stub: use pr_fmt")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the i2c tree
@ 2014-03-06  2:50 Stephen Rothwell
  0 siblings, 0 replies; 25+ messages in thread
From: Stephen Rothwell @ 2014-03-06  2:50 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-next, linux-kernel, Maxime Ripard

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

Hi Wolfram,

After merging the i2c tree, today's linux-next build (powerpc
ppc64_defconfig, x86_64 allmodconfig and arm multi_v7_defconfig) produced
this warning:

drivers/video/Kconfig:42:error: recursive dependency detected!
drivers/video/Kconfig:42:	symbol FB is selected by DRM_KMS_FB_HELPER
drivers/gpu/drm/Kconfig:39:	symbol DRM_KMS_FB_HELPER is selected by DRM_TEGRA_FBDEV
drivers/gpu/drm/tegra/Kconfig:18:	symbol DRM_TEGRA_FBDEV depends on DRM_TEGRA
drivers/gpu/drm/tegra/Kconfig:1:	symbol DRM_TEGRA depends on RESET_CONTROLLER
drivers/reset/Kconfig:4:	symbol RESET_CONTROLLER is selected by I2C_MV64XXX
drivers/i2c/busses/Kconfig:528:	symbol I2C_MV64XXX depends on I2C
drivers/i2c/Kconfig:5:	symbol I2C is selected by FB_DDC
drivers/video/Kconfig:92:	symbol FB_DDC is selected by FB_CYBER2000_DDC
drivers/video/Kconfig:386:	symbol FB_CYBER2000_DDC depends on FB_CYBER2000
drivers/video/Kconfig:374:	symbol FB_CYBER2000 depends on FB

Introduced by commit 370136bc67c3 ("i2c: mv64xxx: Add reset deassert call").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the i2c tree
@ 2010-02-17  0:38 Stephen Rothwell
  2010-02-17  8:34 ` Jean Delvare
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2010-02-17  0:38 UTC (permalink / raw)
  To: Jean Delvare; +Cc: linux-next, linux-kernel

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

Hi Jean,

After merging the i2c tree, today's linux-next build (powerpc
ppc64_defconfig) produced warnings like this:

In file included from include/linux/bitops.h:17,
                 from include/linux/kernel.h:15,
                 from drivers/i2c/i2c-boardinfo.c:19:
arch/powerpc/include/asm/bitops.h:226: warning: declaration of 'ffs' shadows a built-in function

The x86_64 allmodconfig produces similar:

In file included from include/linux/bitops.h:17,
                 from include/linux/kernel.h:15,
                 from next/drivers/i2c/i2c-boardinfo.c:19:
arch/x86/include/asm/bitops.h:395: warning: declaration of 'ffs' shadows a built-in function

Exposed by commit fa4f62e9f3a85490aebe8857e2208c37da851ce3 ("i2c: Build
core and algo drivers with -Wshadow").

Jean, I realise that these warnings are not something your tree has
added, just that you have exposed them.  They are a bit annoying,
though.  I am using gcc v4.4.3.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

end of thread, other threads:[~2021-08-18  7:15 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-28 23:54 linux-next: build warning after merge of the i2c tree Stephen Rothwell
2010-03-29 13:21 ` Jean Delvare
2010-03-29 14:12   ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2021-08-18  6:29 Stephen Rothwell
2021-08-18  6:54 ` Jie Deng
2021-08-18  7:04   ` Stephen Rothwell
2021-08-18  7:13     ` Jie Deng
2019-08-02  3:21 Stephen Rothwell
2019-08-02  6:04 ` Uwe Kleine-König
2019-06-11  0:25 Stephen Rothwell
2019-06-12  8:19 ` Wolfram Sang
2019-06-12 11:02   ` Mauro Carvalho Chehab
2019-06-12 11:09     ` Wolfram Sang
2019-06-12 11:48       ` Mauro Carvalho Chehab
2019-06-12 12:04         ` Wolfram Sang
2019-06-12 12:32           ` Mauro Carvalho Chehab
2019-06-12 13:15             ` Stephen Rothwell
2019-06-12 13:24               ` Wolfram Sang
2017-06-05  1:11 Stephen Rothwell
2017-06-15  1:34 ` Stephen Rothwell
2017-06-15  7:02   ` Wolfram Sang
2017-06-15  8:48     ` Stephen Rothwell
2014-03-06  2:50 Stephen Rothwell
2010-02-17  0:38 Stephen Rothwell
2010-02-17  8:34 ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).