linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the net tree
@ 2021-11-04  3:48 Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2021-11-04  3:48 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Xin Long, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the net tree, today's linux-next build (htmldocs)
produced these warnings:

/home/sfr/next/next/Documentation/security/SCTP.rst:123: WARNING: Title underline too short.

security_sctp_assoc_established()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sfr/next/next/Documentation/security/SCTP.rst:273: WARNING: Title underline too short.

security_sctp_assoc_established()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  7c2ef0240e6a ("security: add sctp_assoc_established hook")

-- 
Cheers,
Stephen Rothwell

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

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

* linux-next: build warnings after merge of the net tree
@ 2022-04-11  4:36 Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2022-04-11  4:36 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Vladimir Oltean, Jakub Kicinski, Greg Kroah-Hartman, John Stultz,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the net tree, today's linux-next build (htmldocs) produced
these warnings:

Documentation/driver-api/infrastructure:35: drivers/base/dd.c:280: WARNING: Unexpected indentation.
Documentation/driver-api/infrastructure:35: drivers/base/dd.c:281: WARNING: Block quote ends without a blank line; unexpected unindent.

Introduced by commit

  c8c43cee29f6 ("driver core: Fix driver_deferred_probe_check_state() logic")

Exposed by commit

  74befa447e68 ("net: mdio: don't defer probe forever if PHY IRQ provider is missing")

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warnings after merge of the net tree
  2016-05-20  3:33 Stephen Rothwell
@ 2016-05-20  5:57 ` David Miller
  0 siblings, 0 replies; 13+ messages in thread
From: David Miller @ 2016-05-20  5:57 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, xypron.glpk

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 20 May 2016 13:33:30 +1000

> After merging the net tree, today's linux-next build (arm
> multi_v7_defconfig) produced these warnings:
 ...
> Introduced by commit
> 
>   e00be9e4d0ff ("net: pegasus: remove dead coding")

This change has other problems too and I have just reverted it.

Thanks.

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

* linux-next: build warnings after merge of the net tree
@ 2016-05-20  3:33 Stephen Rothwell
  2016-05-20  5:57 ` David Miller
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2016-05-20  3:33 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Heinrich Schuchardt

Hi all,

After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) produced these warnings:

drivers/net/usb/pegasus.c: In function 'read_bulk_callback':
drivers/net/usb/pegasus.c:475:1: warning: label 'goon' defined but not used [-Wunused-label]
 goon:
 ^
drivers/net/usb/pegasus.c:446:8: warning: unused variable 'pkt_len' [-Wunused-variable]
  __u16 pkt_len;
        ^
drivers/net/usb/pegasus.c:445:6: warning: unused variable 'buf' [-Wunused-variable]
  u8 *buf = urb->transfer_buffer;
      ^
drivers/net/usb/pegasus.c:443:17: warning: unused variable 'count' [-Wunused-variable]
  int rx_status, count = urb->actual_length;
                 ^

Introduced by commit

  e00be9e4d0ff ("net: pegasus: remove dead coding")



-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build warnings after merge of the net tree
  2011-08-12  1:53 Stephen Rothwell
@ 2011-08-12 10:01 ` David Miller
  0 siblings, 0 replies; 13+ messages in thread
From: David Miller @ 2011-08-12 10:01 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 12 Aug 2011 11:53:19 +1000

> warning: (SCSI_BNX2_ISCSI && SCSI_BNX2X_FCOE) selects CNIC which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_BROADCOM && PCI)
 ...
> warning: (SCSI_BNX2_ISCSI && SCSI_BNX2X_FCOE) selects CNIC which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_BROADCOM && PCI)

Ok, these were the only two problem areas left after the other
fixes posted today, fixed by the following patch.

Thanks!

--------------------
>From 4c78893b3d107e2a053c8f51c526510857c09858 Mon Sep 17 00:00:00 2001
From: "David S. Miller" <davem@davemloft.net>
Date: Fri, 12 Aug 2011 03:00:47 -0700
Subject: [PATCH] cnic: Fix select dependencies in bnx2fc/bnx2i Kconfig.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/scsi/bnx2fc/Kconfig |    3 ++-
 drivers/scsi/bnx2i/Kconfig  |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/bnx2fc/Kconfig b/drivers/scsi/bnx2fc/Kconfig
index 6a38080..cfcad8b 100644
--- a/drivers/scsi/bnx2fc/Kconfig
+++ b/drivers/scsi/bnx2fc/Kconfig
@@ -2,7 +2,8 @@ config SCSI_BNX2X_FCOE
 	tristate "Broadcom NetXtreme II FCoE support"
 	depends on PCI
 	select NETDEVICES
-	select NETDEV_1000
+	select ETHERNET
+	select NET_VENDOR_BROADCOM
 	select LIBFC
 	select LIBFCOE
 	select CNIC
diff --git a/drivers/scsi/bnx2i/Kconfig b/drivers/scsi/bnx2i/Kconfig
index 45a6154..01cff18 100644
--- a/drivers/scsi/bnx2i/Kconfig
+++ b/drivers/scsi/bnx2i/Kconfig
@@ -4,7 +4,8 @@ config SCSI_BNX2_ISCSI
 	depends on PCI
 	select SCSI_ISCSI_ATTRS
 	select NETDEVICES
-	select NETDEV_1000
+	select ETHERNET
+	select NET_VENDOR_BROADCOM
 	select CNIC
 	---help---
 	This driver supports iSCSI offload for the Broadcom NetXtreme II
-- 
1.7.6


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

* linux-next: build warnings after merge of the net tree
@ 2011-08-12  1:53 Stephen Rothwell
  2011-08-12 10:01 ` David Miller
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2011-08-12  1:53 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel

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

Hi all,

After merging the net tree, today's linux-next build (powerpc ppc64_defconfig)
produced these new warnings:

warning: (SCSI_BNX2_ISCSI && SCSI_BNX2X_FCOE) selects CNIC which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_BROADCOM && PCI)
warning: (SCSI_CXGB3_ISCSI) selects CHELSIO_T3 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_CHELSIO && PCI && INET)
warning: (SCSI_CXGB4_ISCSI) selects CHELSIO_T4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_CHELSIO && PCI)
warning: (MLX4_INFINIBAND) selects MLX4_CORE which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_MELLANOX && PCI)
warning: (SCSI_BNX2_ISCSI && SCSI_BNX2X_FCOE) selects CNIC which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_BROADCOM && PCI)
warning: (SCSI_CXGB3_ISCSI) selects CHELSIO_T3 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_CHELSIO && PCI && INET)
warning: (SCSI_CXGB4_ISCSI) selects CHELSIO_T4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_CHELSIO && PCI)
warning: (MLX4_INFINIBAND) selects MLX4_CORE which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_MELLANOX && PCI)

-- 
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] 13+ messages in thread

* Re: linux-next: build warnings after merge of the net tree
  2010-09-01  1:25   ` Stephen Rothwell
@ 2010-09-01  3:57     ` David Miller
  0 siblings, 0 replies; 13+ messages in thread
From: David Miller @ 2010-09-01  3:57 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, peppe.cavallaro

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 1 Sep 2010 11:25:01 +1000

> However, I missed one yesterday ...
> 
> drivers/net/stmmac/dwmac100_core.c: In function 'dwmac100_dump_mac_regs':
> drivers/net/stmmac/dwmac100_core.c:47: warning: cast from pointer to integer of different size

Thanks I'll take care of this.

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

* Re: linux-next: build warnings after merge of the net tree
  2010-08-31  4:56 ` David Miller
@ 2010-09-01  1:25   ` Stephen Rothwell
  2010-09-01  3:57     ` David Miller
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2010-09-01  1:25 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, peppe.cavallaro

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

Hi Dave,

On Mon, 30 Aug 2010 21:56:41 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> I've checked the following into net-next-2.6 to combat-this (see,
> proactively fixing warnings in code I'm more or less responsible for
> instead of letting the issue rot for 2 months :-):

Thanks for that :-)

However, I missed one yesterday ...

drivers/net/stmmac/dwmac100_core.c: In function 'dwmac100_dump_mac_regs':
drivers/net/stmmac/dwmac100_core.c:47: warning: cast from pointer to integer of different size

Sorry about that
-- 
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] 13+ messages in thread

* Re: linux-next: build warnings after merge of the net tree
  2010-08-31  1:55 Stephen Rothwell
@ 2010-08-31  4:56 ` David Miller
  2010-09-01  1:25   ` Stephen Rothwell
  0 siblings, 1 reply; 13+ messages in thread
From: David Miller @ 2010-08-31  4:56 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, peppe.cavallaro

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 31 Aug 2010 11:55:08 +1000

> Hi all,
> 
> After merging the net tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
> 
> In file included from drivers/net/stmmac/stmmac_ethtool.c:30:
> drivers/net/stmmac/stmmac.h:111: warning: 'struct platform_device' declared inside parameter list
> drivers/net/stmmac/stmmac.h:111: warning: its scope is only this definition or declaration, which is probably not what you want
 ...

I've checked the following into net-next-2.6 to combat-this (see,
proactively fixing warnings in code I'm more or less responsible for
instead of letting the issue rot for 2 months :-):

--------------------
stmmac: Fix build warnings.

In file included from drivers/net/stmmac/stmmac_ethtool.c:30:
drivers/net/stmmac/stmmac.h:111: warning: 'struct platform_device' declared inside parameter list
drivers/net/stmmac/stmmac.h:111: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/net/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
drivers/net/stmmac/stmmac_main.c:1744: warning: cast from pointer to integer of different size
In file included from drivers/net/stmmac/stmmac_mdio.c:31:
drivers/net/stmmac/stmmac.h:111: warning: 'struct platform_device' declared inside parameter list
drivers/net/stmmac/stmmac.h:111: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/net/stmmac/dwmac1000_core.c: In function 'dwmac1000_dump_regs':
drivers/net/stmmac/dwmac1000_core.c:56: warning: cast from pointer to integer of different size

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/stmmac/dwmac1000_core.c |    2 +-
 drivers/net/stmmac/stmmac.h         |    1 +
 drivers/net/stmmac/stmmac_main.c    |    4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/net/stmmac/dwmac1000_core.c b/drivers/net/stmmac/dwmac1000_core.c
index 8bbfc0f..f1f4261 100644
--- a/drivers/net/stmmac/dwmac1000_core.c
+++ b/drivers/net/stmmac/dwmac1000_core.c
@@ -53,7 +53,7 @@ static void dwmac1000_core_init(void __iomem *ioaddr)
 static void dwmac1000_dump_regs(void __iomem *ioaddr)
 {
 	int i;
-	pr_info("\tDWMAC1000 regs (base addr = 0x%8x)\n", (unsigned int)ioaddr);
+	pr_info("\tDWMAC1000 regs (base addr = 0x%p)\n", ioaddr);
 
 	for (i = 0; i < 55; i++) {
 		int offset = i * 4;
diff --git a/drivers/net/stmmac/stmmac.h b/drivers/net/stmmac/stmmac.h
index cca53db..d0ddab0 100644
--- a/drivers/net/stmmac/stmmac.h
+++ b/drivers/net/stmmac/stmmac.h
@@ -21,6 +21,7 @@
 *******************************************************************************/
 
 #define DRV_MODULE_VERSION	"Apr_2010"
+#include <linux/platform_device.h>
 #include <linux/stmmac.h>
 
 #include "common.h"
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c
index c59c106..e3f002e 100644
--- a/drivers/net/stmmac/stmmac_main.c
+++ b/drivers/net/stmmac/stmmac_main.c
@@ -1742,8 +1742,8 @@ static int stmmac_dvr_probe(struct platform_device *pdev)
 	priv->bsp_priv = plat_dat->bsp_priv;
 
 	pr_info("\t%s - (dev. name: %s - id: %d, IRQ #%d\n"
-	       "\tIO base addr: 0x%08x)\n", ndev->name, pdev->name,
-	       pdev->id, ndev->irq, (unsigned int)addr);
+	       "\tIO base addr: 0x%p)\n", ndev->name, pdev->name,
+	       pdev->id, ndev->irq, addr);
 
 	/* MDIO bus Registration */
 	pr_debug("\tMDIO bus (id: %d)...", priv->bus_id);
-- 
1.7.2.2



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

* linux-next: build warnings after merge of the net tree
@ 2010-08-31  1:55 Stephen Rothwell
  2010-08-31  4:56 ` David Miller
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2010-08-31  1:55 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Giuseppe CAVALLARO

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

Hi all,

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

In file included from drivers/net/stmmac/stmmac_ethtool.c:30:
drivers/net/stmmac/stmmac.h:111: warning: 'struct platform_device' declared inside parameter list
drivers/net/stmmac/stmmac.h:111: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/net/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
drivers/net/stmmac/stmmac_main.c:1744: warning: cast from pointer to integer of different size
In file included from drivers/net/stmmac/stmmac_mdio.c:31:
drivers/net/stmmac/stmmac.h:111: warning: 'struct platform_device' declared inside parameter list
drivers/net/stmmac/stmmac.h:111: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/net/stmmac/dwmac1000_core.c: In function 'dwmac1000_dump_regs':
drivers/net/stmmac/dwmac1000_core.c:56: warning: cast from pointer to integer of different size

Probably all revealed by commit ac75791aa943c7953521cb4fa7728bf51f9abd2d
("stmmac: remove dead option in the driver's Kconfig") which allowed this
driver to be built on most platforms.

-- 
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] 13+ messages in thread

* Re: linux-next: build warnings after merge of the net tree
  2010-06-16  4:52 ` David Miller
@ 2010-06-16  6:30   ` Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2010-06-16  6:30 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, bhutchings

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

Hi Dave,

On Tue, 15 Jun 2010 21:52:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> I've commited the patch below to deal with this, thanks for the report.

Thanks.

> There's some pre-existing warnings someone will need to deal with at
> some point:
> 
> drivers/usb/gadget/rndis.c: whole file: warning: coding style is bolixed

:-)

-- 
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] 13+ messages in thread

* Re: linux-next: build warnings after merge of the net tree
  2010-06-16  3:38 Stephen Rothwell
@ 2010-06-16  4:52 ` David Miller
  2010-06-16  6:30   ` Stephen Rothwell
  0 siblings, 1 reply; 13+ messages in thread
From: David Miller @ 2010-06-16  4:52 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, bhutchings

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 16 Jun 2010 13:38:54 +1000

> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> produced these warnings:
> 
> In file included from drivers/usb/gadget/ether.c:123:
> drivers/usb/gadget/rndis.c: In function 'gen_ndis_query_resp':
> drivers/usb/gadget/rndis.c:197: warning: assignment from incompatible pointer type
> In file included from drivers/usb/gadget/multi.c:67:
> drivers/usb/gadget/rndis.c: In function 'gen_ndis_query_resp':
> drivers/usb/gadget/rndis.c:197: warning: assignment from incompatible pointer type
> In file included from drivers/usb/gadget/g_ffs.c:30:
> drivers/usb/gadget/rndis.c: In function 'gen_ndis_query_resp':
> drivers/usb/gadget/rndis.c:197: warning: assignment from incompatible pointer type
> 
> Introduced by commit be1f3c2c027cc5ad735df6a45a542ed1db7ec48b ("net:
> Enable 64-bit net device statistics on 32-bit architectures").  This is a
> call to dev_get_stats() and the return value is being assigned to a
> "struct net_device_stats *".

I've commited the patch below to deal with this, thanks for the report.

There's some pre-existing warnings someone will need to deal with at
some point:

drivers/usb/gadget/rndis.c: whole file: warning: coding style is bolixed

:-)

>From fdb93f8ac39aa5902f3d264edd50dffcabfdd13b Mon Sep 17 00:00:00 2001
From: David S. Miller <davem@davemloft.net>
Date: Tue, 15 Jun 2010 21:50:14 -0700
Subject: [PATCH] gadget/rndis: dev_get_stats() now returns rtnl_link_stats64.

Based upon a report by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/usb/gadget/rndis.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c
index 5c0d06c..fb69b01 100644
--- a/drivers/usb/gadget/rndis.c
+++ b/drivers/usb/gadget/rndis.c
@@ -171,7 +171,7 @@ gen_ndis_query_resp (int configNr, u32 OID, u8 *buf, unsigned buf_len,
 	int			i, count;
 	rndis_query_cmplt_type	*resp;
 	struct net_device	*net;
-	const struct net_device_stats	*stats;
+	const struct rtnl_link_stats64 *stats;
 
 	if (!r) return -ENOMEM;
 	resp = (rndis_query_cmplt_type *) r->buf;
-- 
1.7.0.4


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

* linux-next: build warnings after merge of the net tree
@ 2010-06-16  3:38 Stephen Rothwell
  2010-06-16  4:52 ` David Miller
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2010-06-16  3:38 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Ben Hutchings

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

Hi Dave,

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

In file included from drivers/usb/gadget/ether.c:123:
drivers/usb/gadget/rndis.c: In function 'gen_ndis_query_resp':
drivers/usb/gadget/rndis.c:197: warning: assignment from incompatible pointer type
In file included from drivers/usb/gadget/multi.c:67:
drivers/usb/gadget/rndis.c: In function 'gen_ndis_query_resp':
drivers/usb/gadget/rndis.c:197: warning: assignment from incompatible pointer type
In file included from drivers/usb/gadget/g_ffs.c:30:
drivers/usb/gadget/rndis.c: In function 'gen_ndis_query_resp':
drivers/usb/gadget/rndis.c:197: warning: assignment from incompatible pointer type

Introduced by commit be1f3c2c027cc5ad735df6a45a542ed1db7ec48b ("net:
Enable 64-bit net device statistics on 32-bit architectures").  This is a
call to dev_get_stats() and the return value is being assigned to a
"struct net_device_stats *".

-- 
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] 13+ messages in thread

end of thread, other threads:[~2022-04-11  4:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04  3:48 linux-next: build warnings after merge of the net tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2022-04-11  4:36 Stephen Rothwell
2016-05-20  3:33 Stephen Rothwell
2016-05-20  5:57 ` David Miller
2011-08-12  1:53 Stephen Rothwell
2011-08-12 10:01 ` David Miller
2010-08-31  1:55 Stephen Rothwell
2010-08-31  4:56 ` David Miller
2010-09-01  1:25   ` Stephen Rothwell
2010-09-01  3:57     ` David Miller
2010-06-16  3:38 Stephen Rothwell
2010-06-16  4:52 ` David Miller
2010-06-16  6:30   ` Stephen Rothwell

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