mbox series

[00/15] Clean-up MMC's W=1 build warnings

Message ID 20200701124702.908713-1-lee.jones@linaro.org (mailing list archive)
Headers show
Series Clean-up MMC's W=1 build warnings | expand

Message

Lee Jones July 1, 2020, 12:46 p.m. UTC
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.

After these patches are applied, the build system no longer
complains about any W=0 nor W=1 level warnings in drivers/mmc.

Hurrah!

Lee Jones (15):
  mmc: core: quirks: Mark fixups as __maybe_unused
  mmc: core: sdio_io: Provide description for sdio_set_host_pm_flags()'s
    'flag' arg
  mmc: core: regulator: Add missing documetation for 'mmc' and 'ios'
  mmc: host: sdhci-s3c: Provide documentation for missing struct
    properties
  mmc: host: mtk-sd: Demote msdc_recheck_sdio_irq() function header
  mmc: host: atmel-mci: Provide 2 new and correct 1 existing property
    description
  mmc: core: queue: Correct misspelling of 'mq' in mmc_init_request()'s
    docs
  mmc: host: dw_mmc-exynos: Add kerneldoc descriptions of for 'dev' args
  mmc: host: rtsx_pci_sdmmc: Remove set but unused variable 'err'
  mmc: host: rtsx_usb_sdmmc: Remove set but unused variable 'err'
  mmc: host: sdhci-of-arasan: Correct formatting and provide missing
    function arg(s)
  mmc: host: sdhci-msm: Staticify local function
    sdhci_msm_dump_vendor_regs()
  mmc: host: sdhci-msm: Demote faux kerneldoc header down to basic
    comment block
  mmc: host: cqhci: Demote faux kerneldoc header down to basic comment
    block
  mmc: host: sdhci-iproc: Tell the compiler that ACPI functions may not
    be used

 drivers/mmc/core/queue.c           | 2 +-
 drivers/mmc/core/quirks.h          | 6 +++---
 drivers/mmc/core/regulator.c       | 2 ++
 drivers/mmc/core/sdio_io.c         | 1 +
 drivers/mmc/host/atmel-mci.c       | 4 +++-
 drivers/mmc/host/cqhci.c           | 2 +-
 drivers/mmc/host/dw_mmc-exynos.c   | 2 ++
 drivers/mmc/host/mtk-sd.c          | 3 +--
 drivers/mmc/host/rtsx_pci_sdmmc.c  | 4 ++--
 drivers/mmc/host/rtsx_usb_sdmmc.c  | 5 ++---
 drivers/mmc/host/sdhci-iproc.c     | 2 +-
 drivers/mmc/host/sdhci-msm.c       | 4 ++--
 drivers/mmc/host/sdhci-of-arasan.c | 3 ++-
 drivers/mmc/host/sdhci-s3c.c       | 4 ++++
 14 files changed, 27 insertions(+), 17 deletions(-)

Comments

Ulf Hansson July 7, 2020, 6:50 a.m. UTC | #1
On Wed, 1 Jul 2020 at 14:47, Lee Jones <lee.jones@linaro.org> wrote:
>
> 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.
>
> After these patches are applied, the build system no longer
> complains about any W=0 nor W=1 level warnings in drivers/mmc.
>
> Hurrah!
>
> Lee Jones (15):
>   mmc: core: quirks: Mark fixups as __maybe_unused
>   mmc: core: sdio_io: Provide description for sdio_set_host_pm_flags()'s
>     'flag' arg
>   mmc: core: regulator: Add missing documetation for 'mmc' and 'ios'
>   mmc: host: sdhci-s3c: Provide documentation for missing struct
>     properties
>   mmc: host: mtk-sd: Demote msdc_recheck_sdio_irq() function header
>   mmc: host: atmel-mci: Provide 2 new and correct 1 existing property
>     description
>   mmc: core: queue: Correct misspelling of 'mq' in mmc_init_request()'s
>     docs
>   mmc: host: dw_mmc-exynos: Add kerneldoc descriptions of for 'dev' args
>   mmc: host: rtsx_pci_sdmmc: Remove set but unused variable 'err'
>   mmc: host: rtsx_usb_sdmmc: Remove set but unused variable 'err'
>   mmc: host: sdhci-of-arasan: Correct formatting and provide missing
>     function arg(s)
>   mmc: host: sdhci-msm: Staticify local function
>     sdhci_msm_dump_vendor_regs()
>   mmc: host: sdhci-msm: Demote faux kerneldoc header down to basic
>     comment block
>   mmc: host: cqhci: Demote faux kerneldoc header down to basic comment
>     block
>   mmc: host: sdhci-iproc: Tell the compiler that ACPI functions may not
>     be used
>
>  drivers/mmc/core/queue.c           | 2 +-
>  drivers/mmc/core/quirks.h          | 6 +++---
>  drivers/mmc/core/regulator.c       | 2 ++
>  drivers/mmc/core/sdio_io.c         | 1 +
>  drivers/mmc/host/atmel-mci.c       | 4 +++-
>  drivers/mmc/host/cqhci.c           | 2 +-
>  drivers/mmc/host/dw_mmc-exynos.c   | 2 ++
>  drivers/mmc/host/mtk-sd.c          | 3 +--
>  drivers/mmc/host/rtsx_pci_sdmmc.c  | 4 ++--
>  drivers/mmc/host/rtsx_usb_sdmmc.c  | 5 ++---
>  drivers/mmc/host/sdhci-iproc.c     | 2 +-
>  drivers/mmc/host/sdhci-msm.c       | 4 ++--
>  drivers/mmc/host/sdhci-of-arasan.c | 3 ++-
>  drivers/mmc/host/sdhci-s3c.c       | 4 ++++
>  14 files changed, 27 insertions(+), 17 deletions(-)
>
> --
> 2.25.1
>

Applied for next (except patch12, which I already had a patch for), thanks!

Kind regards
Uffe