linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the driver-core tree
@ 2010-09-02  3:18 Stephen Rothwell
  2010-09-02  3:29 ` Greg KH
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2010-09-02  3:18 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Thomas Renninger, Jason Baron

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

Hi Greg,

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

kernel/params.c: In function 'parse_args':
kernel/params.c:200: warning: passing argument 2 of 'snprintf' makes integer from pointer without a cast
include/linux/kernel.h:203: note: expected 'size_t' but argument is of type 'char *'

Caused by commit d1aa8e2ab38942b21d543611d4f829597d8791d4 ("Dynamic
Debug: Introduce global fake module param module.ddebug").

Some warnings should not be ignored ... and it does make me wonder how
much testing this has had ...

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

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2011-02-21  5:37 Stephen Rothwell
  2011-02-21  5:50 ` Stephen Rothwell
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2011-02-21  5:37 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-next, linux-kernel, Kim B. Heino, Alessandro Zummo, Andrew Morton

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

Hi Greg,

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

drivers/rtc/rtc-m41t94.c: In function 'm41t94_remove':
drivers/rtc/rtc-m41t94.c:139: warning: passing argument 1 of 'platform_get_drvdata' from incompatible pointer type
include/linux/platform_device.h:133: note: expected 'const struct platform_device *' but argument is of type 'struct spi_device *'

Revealed by commit 71d642908d4e8e7a2a4a6e0490432e719ff466d5 ("Driver
core: convert platform_{get,set}_drvdata to static inline functions").
The warning is in code introduced by commit
8fc2c767b06067b417c565c4e75731e68ed41fd8 ("rtc: add support for ST M41T94
SPI RTC").

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

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2011-02-21  6:02 Stephen Rothwell
  2011-02-21  6:32 ` Greg KH
  2011-02-21 20:18 ` Ilya Yanok
  0 siblings, 2 replies; 48+ messages in thread
From: Stephen Rothwell @ 2011-02-21  6:02 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-next, linux-kernel, Marc Kleine-Budde, Ilya Yanok,
	David Miller, netdev

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

Hi Greg,

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

drivers/net/dnet.c: In function 'dnet_mii_init':
drivers/net/dnet.c:340: warning: passing argument 1 of 'platform_set_drvdata' from incompatible pointer type
include/linux/platform_device.h:138: note: expected 'struct platform_device *' but argument is of type 'struct net_device *'

Revealed by commit 71d642908d4e8e7a2a4a6e0490432e719ff466d5 ("Driver
core: convert platform_{get,set}_drvdata to static inline functions").
Introduced by commit 4796417417a62e2ae83d92cb92e1ecf9ec67b5f5 ("dnet:
Dave DNET ethernet controller driver (updated)").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2013-06-25  8:33 Stephen Rothwell
  2013-06-25 12:00 ` Ming Lei
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2013-06-25  8:33 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Ming Lei

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

Hi Greg,

After merging the driver-core tree, today's linux-next build (powerpc
allnoconfig) produced this warning:

drivers/base/firmware_class.c:221:29: warning: 'fw_lookup_buf' defined but not used [-Wunused-function]

Introduced by commit 90f8908127b5 ("firmware loader: fix compile warning
with PM_SLEEP set").

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

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2015-10-07  4:51 Stephen Rothwell
  2015-10-07  6:40 ` Viresh Kumar
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2015-10-07  4:51 UTC (permalink / raw)
  To: Greg KH, Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Viresh Kumar

Hi Greg,

After merging the driver-core tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/base/power/opp/debugfs.c: In function 'opp_debug_create_one':
drivers/base/power/opp/debugfs.c:48:7: warning: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type
  if (!debugfs_create_bool("available", S_IRUGO, d,
       ^
In file included from drivers/base/power/opp/debugfs.c:13:0:
include/linux/debugfs.h:94:16: note: expected 'bool *' but argument is of type 'u32 *'
 struct dentry *debugfs_create_bool(const char *name, umode_t mode,
                ^
drivers/base/power/opp/debugfs.c:52:7: warning: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type
  if (!debugfs_create_bool("dynamic", S_IRUGO, d, (u32 *)&opp->dynamic))
       ^
In file included from drivers/base/power/opp/debugfs.c:13:0:
include/linux/debugfs.h:94:16: note: expected 'bool *' but argument is of type 'u32 *'
 struct dentry *debugfs_create_bool(const char *name, umode_t mode,
                ^
drivers/base/power/opp/debugfs.c:55:7: warning: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type
  if (!debugfs_create_bool("turbo", S_IRUGO, d, (u32 *)&opp->turbo))
       ^
In file included from drivers/base/power/opp/debugfs.c:13:0:
include/linux/debugfs.h:94:16: note: expected 'bool *' but argument is of type 'u32 *'
 struct dentry *debugfs_create_bool(const char *name, umode_t mode,
                ^

Introduced by commit

  621a5f7ad9cd ("debugfs: Pass bool pointer to debugfs_create_bool()")

interacting with commit

  5cb5fdbf3877 ("PM / OPP: Add debugfs support")

from the pm tree.

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2019-07-04  6:17 Stephen Rothwell
  2019-07-04  6:30 ` Greg KH
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2019-07-04  6:17 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

After merging the driver-core tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

fs/ubifs/debug.c: In function 'dbg_debugfs_init_fs':
fs/ubifs/debug.c:2812:6: warning: unused variable 'err' [-Wunused-variable]
  int err, n;
      ^~~

Introduced by commit

  702d6a834b49 ("ubifs: no need to check return value of debugfs_create functions")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2019-07-04  6:24 Stephen Rothwell
  2019-07-04  8:21 ` Greg KH
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2019-07-04  6:24 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

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

fs/orangefs/orangefs-debugfs.c: In function 'orangefs_debugfs_init':
fs/orangefs/orangefs-debugfs.c:193:1: warning: label 'out' defined but not used [-Wunused-label]
 out:
 ^~~
fs/orangefs/orangefs-debugfs.c: In function 'orangefs_kernel_debug_init':
fs/orangefs/orangefs-debugfs.c:204:17: warning: unused variable 'ret' [-Wunused-variable]
  struct dentry *ret;
                 ^~~

Introduced by commit

  f095adba36bb ("orangefs: no need to check return value of debugfs_create functions")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2019-08-01  5:05 Stephen Rothwell
  2019-08-01  6:10 ` Greg KH
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2019-08-01  5:05 UTC (permalink / raw)
  To: Greg KH
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Suzuki K Poulose

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

Hi all,

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

drivers/i2c/i2c-core-acpi.c:347:12: warning: 'i2c_acpi_find_match_adapter' defined but not used [-Wunused-function]
 static int i2c_acpi_find_match_adapter(struct device *dev, const void *data)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  00500147cbd3 ("drivers: Introduce device lookup variants by ACPI_COMPANION device")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2019-08-05  3:04 Stephen Rothwell
  2019-08-05  4:56 ` Stephen Rothwell
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2019-08-05  3:04 UTC (permalink / raw)
  To: Greg KH
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Saravana Kannan

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

Hi all,

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

drivers/of/platform.c:674:12: warning: 'of_link_to_suppliers' defined but not used [-Wunused-function]
 static int of_link_to_suppliers(struct device *dev)
            ^~~~~~~~~~~~~~~~~~~~

Introduced by commit

  690ff7881b26 ("of/platform: Add functional dependency link from DT bindings")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2020-09-09  7:23 Stephen Rothwell
  2020-09-09  7:40 ` Greg KH
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2020-09-09  7:23 UTC (permalink / raw)
  To: Greg KH, Ulf Hansson
  Cc: Krzysztof Kozlowski, Andy Shevchenko, Linux Next Mailing List,
	Linux Kernel Mailing List

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

Hi all,

After merging the driver-core tree, today's linux-next build produced
this warning:

drivers/mmc/host/davinci_mmc.c: In function 'davinci_mmcsd_probe':
drivers/mmc/host/davinci_mmc.c:1243:4: warning: ignoring return value of 'dev_err_probe' declared with attribute 'warn_unused_result' [-Wunused-result]
 1243 |    dev_err_probe(&pdev->dev, ret,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1244 |           "could not parse of data\n");
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  e1f82a0dcf38 ("driver core: Annotate dev_err_probe() with __must_check")

interacting with commit

  3a35e7e1bd50 ("mmc: davinci: Simplify with dev_err_probe()")

from the mmc tree.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2021-12-06  8:30 Stephen Rothwell
  2021-12-06 12:53 ` Heiko Carstens
  2021-12-07 10:23 ` Greg KH
  0 siblings, 2 replies; 48+ messages in thread
From: Stephen Rothwell @ 2021-12-06  8:30 UTC (permalink / raw)
  To: Greg KH
  Cc: Heiko Carstens, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the driver-core tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/admin-guide/cputopology.rst:49: WARNING: Block quote ends without a blank line; unexpected unindent.

Introduced by commit

  f1045056c726 ("topology/sysfs: rework book and drawer topology ifdefery")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2022-05-01 22:36 Stephen Rothwell
  0 siblings, 0 replies; 48+ messages in thread
From: Stephen Rothwell @ 2022-05-01 22:36 UTC (permalink / raw)
  To: Greg KH; +Cc: Russ Weight, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the driver-core tree, today's linux-next build (htmldocs)
produced this warning:

drivers/base/firmware_loader/sysfs_upload.c:285: warning: Function parameter or member 'module' not described in 'firmware_upload_register'

Introduced by commit

  97730bbb242c ("firmware_loader: Add firmware-upload support")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2023-02-20  5:31 Stephen Rothwell
  2023-02-20  7:26 ` Qi Zheng
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2023-02-20  5:31 UTC (permalink / raw)
  To: Greg KH
  Cc: Greg Kroah-Hartman, Qi Zheng, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the driver-core tree, today's linux-next build
(htmldocs) produced this warning:

Documentation/filesystems/api-summary:146: fs/debugfs/inode.c:804: WARNING: Inline literal start-string without end-string.

Introduced by commit

  d3002468cb5d ("debugfs: update comment of debugfs_rename()")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 48+ messages in thread
* linux-next: build warning after merge of the driver-core tree
@ 2023-03-27  1:03 Stephen Rothwell
  2023-03-27  7:31 ` Greg KH
  0 siblings, 1 reply; 48+ messages in thread
From: Stephen Rothwell @ 2023-03-27  1:03 UTC (permalink / raw)
  To: Greg KH
  Cc: Greg Kroah-Hartman, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the driver-core tree, today's linux-next build (htmldocs)
produced this warning:

drivers/base/class.c:237: warning: Excess function parameter 'key' description in 'class_create'

Introduced by commit

  dcfbb67e48a2 ("driver core: class: use lock_class_key already present in struct subsys_private")

-- 
Cheers,
Stephen Rothwell

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

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

end of thread, other threads:[~2023-03-27  7:32 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02  3:18 linux-next: build warning after merge of the driver-core tree Stephen Rothwell
2010-09-02  3:29 ` Greg KH
2010-09-02 10:14   ` Thomas Renninger
2010-09-02 19:59     ` Greg KH
2011-02-21  5:37 Stephen Rothwell
2011-02-21  5:50 ` Stephen Rothwell
2011-02-21  6:31   ` Greg KH
2011-03-17 23:10   ` Stephen Rothwell
2011-02-21  6:02 Stephen Rothwell
2011-02-21  6:32 ` Greg KH
2011-02-21 20:18 ` Ilya Yanok
2013-06-25  8:33 Stephen Rothwell
2013-06-25 12:00 ` Ming Lei
2015-10-07  4:51 Stephen Rothwell
2015-10-07  6:40 ` Viresh Kumar
2015-10-07 21:48   ` Rafael J. Wysocki
2015-10-07 22:04     ` Stephen Rothwell
2015-10-07 22:47       ` Rafael J. Wysocki
2015-10-08  7:09         ` Viresh Kumar
2015-10-08 20:30           ` Rafael J. Wysocki
2015-10-09  5:36             ` Stephen Rothwell
2015-10-09  6:31               ` Viresh Kumar
2015-10-09 20:49                 ` Rafael J. Wysocki
2015-10-09  6:37             ` Viresh Kumar
2019-07-04  6:17 Stephen Rothwell
2019-07-04  6:30 ` Greg KH
2019-07-04  6:24 Stephen Rothwell
2019-07-04  8:21 ` Greg KH
2019-08-01  5:05 Stephen Rothwell
2019-08-01  6:10 ` Greg KH
2019-08-05  3:04 Stephen Rothwell
2019-08-05  4:56 ` Stephen Rothwell
2019-08-06  0:03   ` Saravana Kannan
2020-09-09  7:23 Stephen Rothwell
2020-09-09  7:40 ` Greg KH
2021-12-06  8:30 Stephen Rothwell
2021-12-06 12:53 ` Heiko Carstens
2021-12-07 10:23 ` Greg KH
2022-05-01 22:36 Stephen Rothwell
2023-02-20  5:31 Stephen Rothwell
2023-02-20  7:26 ` Qi Zheng
2023-02-20  7:31   ` Greg KH
2023-02-20  9:49     ` Bagas Sanjaya
2023-02-20 10:15       ` Qi Zheng
2023-02-20 10:50         ` Greg KH
2023-02-20 11:01           ` Qi Zheng
2023-03-27  1:03 Stephen Rothwell
2023-03-27  7:31 ` Greg KH

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).