[PATCH 00/21] Rid W=1 warnings from IDE

STALE1947d

5 messages, 2 authors, 2021-06-16 · open the first message on its own page

[PATCH 00/21] Rid W=1 warnings from IDE

From: Lee Jones <hidden>
Date: 2021-06-02 10:17:48

This set is part of a larger effort attempting to clean-up W=1
kernel builds, which are currently overwhelmingly riddled with
niggly little warnings.

Lee Jones (21):
  ide: alim15x3: Document alim15x3_init_one()'s 'id' param
  ide: ide-dma: Document ide_dma_unmap_sg()'s missing 'cmd' param
  ide: ide-dma-sff: Provide some missing 'param' descriptions
  ide: ide-io: Fix a few kernel-doc misdemeanours
  ide: ide-proc: Strip out unused fops structure and accompanying
    call-back
  ide: cs5530: Fix incorrect documentation for function
    init_chipset_cs5530()
  ide: ide-probe: Fix-up incorrectly documented function
    probe_for_drive()
  ide: hpt366: Provide some missing descriptions for 'f_{low,high}'
  ide: piix: Remove unused variable 'sitre'
  ide: pdc202xx_new: Supply missing description for 'set_indexed_reg()'s
    'value' param
  ide: slc90e66: Remove unused variable 'sitre'
  ide: it821x: Fix a couple of incorrectly documented functions
  ide: siimage: Fix some incorrectly documented functions/params
  ide: via82cxxx: Fix misdocumentation of via_set_speed()'s 'hwif' param
  ide: ide-cd_ioctl: Remove unused variable 'stat'
  ide: ide-cd: Demote kernel-doc abuse
  ide: ide-acpi: Mark debugging variable 'bus' as __maybe_unused
  ide: ide-io: Document ide_intr()'s param 'irq'
  ide: piix: Fix incorrectly documented param 'hwif'
  ide: ide-acpi: Provide missing description for param 'obj_loc'
  ide: pmac: Staticise local function 'pmac_ide_probe'

 drivers/ide/alim15x3.c     |  1 +
 drivers/ide/cs5530.c       |  2 +-
 drivers/ide/hpt366.c       |  2 ++
 drivers/ide/ide-acpi.c     |  4 +++-
 drivers/ide/ide-cd.c       |  2 +-
 drivers/ide/ide-cd_ioctl.c |  3 +--
 drivers/ide/ide-dma-sff.c  |  4 ++++
 drivers/ide/ide-dma.c      |  1 +
 drivers/ide/ide-io.c       |  9 +++++----
 drivers/ide/ide-probe.c    |  2 +-
 drivers/ide/ide-proc.c     | 13 -------------
 drivers/ide/it821x.c       |  4 ++--
 drivers/ide/pdc202xx_new.c |  1 +
 drivers/ide/piix.c         |  4 +---
 drivers/ide/pmac.c         |  2 +-
 drivers/ide/siimage.c      |  4 ++--
 drivers/ide/slc90e66.c     |  3 +--
 drivers/ide/via82cxxx.c    |  2 +-
 18 files changed, 29 insertions(+), 34 deletions(-)

Cc: Adrian Sun <redacted>
Cc: Alan Cox <redacted>
Cc: Andre Hedrick <redacted>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Benoit Poulot-Cazajous <redacted>
Cc: Christian Brunner <redacted>
Cc: "Christopher J. Reimer" <redacted>
Cc: CJ <redacted>
Cc: Clear Zhang <redacted>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Duncan Laurie <redacted>
Cc: Erik Andersen <redacted>
Cc: Frank Tiernan <redacted>
Cc: Gadi Oxman <redacted>
Cc: Jens Axboe <redacted>
Cc: linux-ide@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Mark Lord <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Mike Waychison <redacted>
Cc: or <redacted>
Cc: Paul Mackerras <redacted>
Cc: Robert Bringman <redacted>
Cc: Scott Snyder <redacted>
Cc: Sergei Shtylyov <redacted>
Cc: "Software, Inc" <redacted>
Cc: support to <redacted>
Cc: Tim Hockin <redacted>
-- 
2.31.1

[PATCH 21/21] ide: pmac: Staticise local function 'pmac_ide_probe'

From: Lee Jones <hidden>
Date: 2021-06-02 10:19:19

Fixes the following W=1 kernel build warning(s):

 drivers/ide/pmac.c:1418:12: warning: no previous prototype for ‘pmac_ide_probe’ [-Wmissing-prototypes]

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <redacted>
Cc: linux-ide@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Lee Jones <redacted>
---
 drivers/ide/pmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c
index ea0b064b5f56b..d51a2e252b6f2 100644
--- a/drivers/ide/pmac.c
+++ b/drivers/ide/pmac.c
@@ -1415,7 +1415,7 @@ static struct pci_driver pmac_ide_pci_driver = {
 };
 MODULE_DEVICE_TABLE(pci, pmac_ide_pci_match);
 
-int __init pmac_ide_probe(void)
+static int __init pmac_ide_probe(void)
 {
 	int error;
 
-- 
2.31.1

Re: [PATCH 00/21] Rid W=1 warnings from IDE

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-06-07 08:26:55

Please don't touch this code as it is about to be removed entirely.

Re: [PATCH 00/21] Rid W=1 warnings from IDE

From: Lee Jones <hidden>
Date: 2021-06-14 09:12:50

On Mon, 07 Jun 2021, Christoph Hellwig wrote:
Please don't touch this code as it is about to be removed entirely.
Do you have an ETA for this work?

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

Re: [PATCH 00/21] Rid W=1 warnings from IDE

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-06-16 13:54:46

On Mon, Jun 14, 2021 at 10:12:28AM +0100, Lee Jones wrote:
On Mon, 07 Jun 2021, Christoph Hellwig wrote:
quoted
Please don't touch this code as it is about to be removed entirely.
Do you have an ETA for this work?
I just resent the series.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help