linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the pci tree
@ 2024-02-05  5:09 Stephen Rothwell
  2024-02-06 20:21 ` Philipp Stanner
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2024-02-05  5:09 UTC (permalink / raw)
  To: Bjorn Helgaas, Lorenzo Pieralisi, Krzysztof Wilczyński
  Cc: Philipp Stanner, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

Documentation/driver-api/pci/pci.rst:27: WARNING: Duplicate C declaration, also defined at driver-api/device-io:27.
Declaration is '.. c:function:: void __iomem *pci_iomap_range(struct pci_dev *dev, int bar, unsigned long offset, unsigned long maxlen)'.
Documentation/driver-api/pci/pci.rst:27: WARNING: Duplicate C declaration, also defined at driver-api/device-io:27.
Declaration is '.. c:None:: struct pci_dev *dev'.
Documentation/driver-api/pci/pci.rst:27: WARNING: Duplicate C declaration, also defined at driver-api/device-io:27.
Declaration is '.. c:None:: int bar'.
Documentation/driver-api/pci/pci.rst:27: WARNING: Duplicate C declaration, also defined at driver-api/device-io:27.
Declaration is '.. c:None:: unsigned long offset'.
Documentation/driver-api/pci/pci.rst:27: WARNING: Duplicate C declaration, also defined at driver-api/device-io:27.
Declaration is '.. c:None:: unsigned long maxlen'.
Documentation/driver-api/pci/pci.rst:67: WARNING: Duplicate C declaration, also defined at driver-api/device-io:67.
Declaration is '.. c:function:: void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar, unsigned long offset, unsigned long maxlen)'.
Documentation/driver-api/pci/pci.rst:67: WARNING: Duplicate C declaration, also defined at driver-api/device-io:67.
Declaration is '.. c:None:: struct pci_dev *dev'.
Documentation/driver-api/pci/pci.rst:67: WARNING: Duplicate C declaration, also defined at driver-api/device-io:67.
Declaration is '.. c:None:: int bar'.
Documentation/driver-api/pci/pci.rst:67: WARNING: Duplicate C declaration, also defined at driver-api/device-io:67.
Declaration is '.. c:None:: unsigned long offset'.
Documentation/driver-api/pci/pci.rst:67: WARNING: Duplicate C declaration, also defined at driver-api/device-io:67.
Declaration is '.. c:None:: unsigned long maxlen'.
Documentation/driver-api/pci/pci.rst:110: WARNING: Duplicate C declaration, also defined at driver-api/device-io:110.
Declaration is '.. c:function:: void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen)'.
Documentation/driver-api/pci/pci.rst:110: WARNING: Duplicate C declaration, also defined at driver-api/device-io:110.
Declaration is '.. c:None:: struct pci_dev *dev'.
Documentation/driver-api/pci/pci.rst:110: WARNING: Duplicate C declaration, also defined at driver-api/device-io:110.
Declaration is '.. c:None:: int bar'.
Documentation/driver-api/pci/pci.rst:110: WARNING: Duplicate C declaration, also defined at driver-api/device-io:110.
Declaration is '.. c:None:: unsigned long maxlen'.
Documentation/driver-api/pci/pci.rst:131: WARNING: Duplicate C declaration, also defined at driver-api/device-io:131.
Declaration is '.. c:function:: void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long maxlen)'.
Documentation/driver-api/pci/pci.rst:131: WARNING: Duplicate C declaration, also defined at driver-api/device-io:131.
Declaration is '.. c:None:: struct pci_dev *dev'.
Documentation/driver-api/pci/pci.rst:131: WARNING: Duplicate C declaration, also defined at driver-api/device-io:131.
Declaration is '.. c:None:: int bar'.
Documentation/driver-api/pci/pci.rst:131: WARNING: Duplicate C declaration, also defined at driver-api/device-io:131.
Declaration is '.. c:None:: unsigned long maxlen'.

Introduced by commit

  fbcc7d7f7948 ("PCI: Move pci_iomap.c to drivers/pci/")

-- 
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 pci tree
@ 2022-03-01  2:59 Stephen Rothwell
  2022-03-01 15:01 ` Bjorn Helgaas
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2022-03-01  2:59 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

Error: Cannot open file drivers/gpu/vga/vgaarb.c
Error: Cannot open file drivers/gpu/vga/vgaarb.c

Introduced by commit

  d6e1898bfa5b ("PCI/VGA: Move vgaarb to drivers/pci")

The reference in Documentation/gpu/vgaarbiter.rst needs to be updated.

-- 
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 pci tree
@ 2018-10-02  0:26 Stephen Rothwell
  2018-10-02 13:47 ` Bjorn Helgaas
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2018-10-02  0:26 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Oza Pawandeep

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

Hi Bjorn,

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

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c: In function 'ixgbe_io_slot_reset':
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:11102:6: warning: unused variable 'err' [-Wunused-variable]
  int err;
      ^~~
drivers/net/ethernet/intel/i40e/i40e_main.c: In function 'i40e_pci_error_slot_reset':
drivers/net/ethernet/intel/i40e/i40e_main.c:14230:6: warning: unused variable 'err' [-Wunused-variable]
  int err;
      ^~~

also from the x86_64 allmodconfig build:

drivers/dma/ioat/init.c: In function 'ioat_pcie_error_slot_reset':
drivers/dma/ioat/init.c:1255:6: warning: unused variable 'err' [-Wunused-variable]
  int err;
      ^~~
drivers/net/ethernet/sfc/efx.c: In function 'efx_io_slot_reset':
drivers/net/ethernet/sfc/efx.c:3824:6: warning: unused variable 'rc' [-Wunused-variable]
  int rc;
      ^~
drivers/net/ethernet/sfc/falcon/efx.c: In function 'ef4_io_slot_reset':
drivers/net/ethernet/sfc/falcon/efx.c:3163:6: warning: unused variable 'rc' [-Wunused-variable]
  int rc;
      ^~

Introduced by commit

  6dcde3e574b2 ("XXX PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() calls")
(good subject prefix there :-))


-- 
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 pci tree
@ 2016-06-20  1:52 Stephen Rothwell
  2016-06-20 19:11 ` Bjorn Helgaas
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2016-06-20  1:52 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-next, linux-kernel

Hi Bjorn,

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

drivers/pci/host/pci-host-common.c: In function 'gen_pci_init':
drivers/pci/host/pci-host-common.c:88:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
   return err;
          ^
drivers/pci/host/pci-host-common.c:93:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
   return PTR_ERR(cfg);
          ^
drivers/pci/host/pci-host-common.c:108:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
  return err;
         ^

Introduced by commit

  3f8dcfc3fbba ("PCI: generic: Free resource list close to where it's allocated")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <EDA0A4495861324DA2618B4C45DCB3EE612CE1@blrx3m08.blr.amer.dell.com>]
* linux-next: build warnings after merge of the pci tree
@ 2010-08-02  1:18 Stephen Rothwell
  2010-08-02  1:38 ` Stephen Rothwell
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2010-08-02  1:18 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, linux-kernel, Narendra K, Jordan Hargrave

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

Hi Jesse,

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

drivers/pci/pci.h: In function 'pci_create_firmware_label_files':
drivers/pci/pci.h:16: warning: 'return' with a value, in function returning void
drivers/pci/pci.h: In function 'pci_remove_firmware_label_files':
drivers/pci/pci.h:18: warning: 'return' with a value, in function returning void

Introduced by commit 911e1c9b05a8e3559a7aa89083930700a0b9e7ee ("PCI:
export SMBIOS provided firmware instance and label to sysfs").

Please build with and without the CONFIG options your new code depends
on ...  This adds considerably to the build noise.

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

end of thread, other threads:[~2024-02-06 20:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-05  5:09 linux-next: build warnings after merge of the pci tree Stephen Rothwell
2024-02-06 20:21 ` Philipp Stanner
  -- strict thread matches above, loose matches on Subject: below --
2022-03-01  2:59 Stephen Rothwell
2022-03-01 15:01 ` Bjorn Helgaas
2018-10-02  0:26 Stephen Rothwell
2018-10-02 13:47 ` Bjorn Helgaas
2016-06-20  1:52 Stephen Rothwell
2016-06-20 19:11 ` Bjorn Helgaas
2016-06-21  1:08   ` Stephen Rothwell
2016-06-21  1:27     ` Bjorn Helgaas
     [not found] <EDA0A4495861324DA2618B4C45DCB3EE612CE1@blrx3m08.blr.amer.dell.com>
2010-08-02 12:44 ` Narendra K
2010-08-02  1:18 Stephen Rothwell
2010-08-02  1:38 ` 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).