[PATCH 00/57] Rid W=1 warnings from Staging

Lee Jones lee.jones at linaro.org
Wed Apr 14 18:10:32 UTC 2021


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 (57):
  staging: r8192U_core: Remove two unused variables 'ret' and
    'reset_status'
  staging: android: ashmem: Supply description for 'new_range'
  staging: comedi_8254: Fix descriptions for 'i8254' and 'iobase'
  staging: r8192U_core: Do not use kernel-doc formatting for !kernel-doc
    headers
  staging: r819xU_phy: Remove some local variables from the stack
  staging: r819xU_cmdpkt: Remove functionless method
    'cmpk_handle_query_config_rx'
  staging: wlan-ng: cfg80211: Move large struct onto the heap
  staging: rtw_ioctl_set: Move 'channel_table' to the only place it's
    used
  staging: rtl8188eu: core: rtw_ieee80211: Fix incorrectly documented
    function
  staging: rtl8723bs: core: rtw_mlme: Remove a bunch of unused variables
  staging: rtl8723bs: core: rtw_mlme_ext: Deal with a bunch of unused
    variables
  staging: rtl8712: rtl871x_mp_ioctl: Remove a bunch of unused tables
  staging: rtl8723bs: core: rtw_recv: Mark debug variable as
    __maybe_unused
  staging: rtl8188eu: core: rtw_security: Fix some formatting and
    misdocumentation
  staging: rtl8723bs: core: rtw_security: Demote non-conformant
    kernel-doc header
  staging: rtl8723bs: core: rtw_sta_mgt: Remove unused variable 'psta'
  staging: rtl8723bs: core: rtw_sta_mgt: Return error value directly
  staging: octeon: ethernet-tx: Fix formatting issue in function header
  staging: rtl8723bs: core: rtw_wlan_util: Remove unused variable
    'start_seq'
  staging: rtl8712: rtl871x_mp_ioctl: Move a large data struct onto the
    heap
  staging: iio: frequency: ad9834: Provide missing description for
    'devid'
  staging: nvec: Fix a bunch of kernel-doc issues
  staging: ks7010: ks_hostif: Remove a bunch of unused variables
  staging: fwserial: Demote a whole host of kernel-doc abuses
  staging: sm750fb: sm750_accel: Provide description for 'accel' and fix
    function naming
  staging: most: net: Fix some kernel-doc formatting issues
  staging: vt6655: upc: Suppress set but not used warning in macro
  staging: rtl8192u: ieee80211_softmac: Move a large data struct onto
    the heap
  staging: most: dim2: Provide missing descriptions and fix doc-rot
  staging: rtl8723bs: core: rtw_ieee80211: Remove seemingly pointless
    copy
  staging: rtl8723bs: core: rtw_mlme: 'retry' is only used if REJOIN is
    set
  staging: rtl8723bs: core: rtw_mlme_ext: 'evt_seq' is only used if
    CHECK_EVENT_SEQ is set
  staging: most: i2c: Fix a little doc-rot
  staging: most: dim2: hal: Fix one kernel-doc header and demote two
    non-conforming ones
  staging: most: dim2: hal: Demote non-conformant kernel-doc headers
  staging: axis-fifo: axis-fifo: Fix some formatting issues
  staging: rtl8188eu: os_dep: ioctl_linux: Move 2 large data buffers
    into the heap
  staging: fbtft: fb_ili9320: Remove unused variable 'ret'
  staging: rtl8723bs: core: rtw_ieee80211: Fix incorrectly named
    function
  staging: rtl8723bs: hal: odm_NoiseMonitor: Remove unused variable and
    dead code
  staging: rtl8188eu: os_dep: mon: Demote non-conforming kernel-doc
    headers
  staging: rtl8188eu: os_dep: rtw_android: Demote kernel-doc abuse
  staging: rtl8723bs: hal: rtl8723b_hal_init: Remove unused variable and
    dead code
  staging: rtl8723bs: hal: rtl8723b_phycfg: Fix a bunch of misnamed
    functions
  staging: rtl8723bs: hal: sdio_halinit: 'start' is only used if debug
    is enabled
  staging: rtl8723bs: hal: sdio_ops: Mark used 'err' as __maybe_unused
    and remove another
  staging: rtl8723bs: os_dep: ioctl_cfg80211: 'ack' is used when debug
    is enabled
  staging: comedi: drivers: jr3_pci: Remove set but unused variable
    'min_full_scale'
  staging: comedi: drivers: ni_tio: Fix slightly broken kernel-doc and
    demote others
  staging: comedi: drivers: ni_routes: Demote non-conforming kernel-doc
    headers
  staging: axis-fifo: axis-fifo: Fix function naming in the
    documentation
  staging: rtl8723bs: hal: odm_NoiseMonitor: Remove unused variable
    'func_start'
  staging: rtl8723bs: core: rtw_mlme_ext: Move very large data buffer
    onto the heap
  staging: rtl8723bs: hal: rtl8723b_hal_init: Mark a bunch of debug
    variables as __maybe_unused
  staging: comedi: drivers: ni_mio_common: Move 'range_ni_E_ao_ext' to
    where it is used
  staging: comedi: drivers: comedi_isadma: Fix misspelling of
    'dma_chan1'
  staging: rtl8723bs: hal: sdio_halinit: Remove unused variable 'ret'

 drivers/staging/android/ashmem.c              |   1 +
 drivers/staging/axis-fifo/axis-fifo.c         |  18 +--
 drivers/staging/comedi/drivers/comedi_8254.c  |   3 +-
 .../staging/comedi/drivers/comedi_isadma.c    |   2 +-
 drivers/staging/comedi/drivers/jr3_pci.c      |   3 +-
 .../staging/comedi/drivers/ni_mio_common.c    |   9 --
 drivers/staging/comedi/drivers/ni_routes.c    |   6 +-
 drivers/staging/comedi/drivers/ni_stc.h       |   9 +-
 drivers/staging/comedi/drivers/ni_tio.c       |  12 +-
 drivers/staging/fbtft/fb_ili9320.c            |   3 +-
 drivers/staging/fwserial/fwserial.c           |  46 +++----
 drivers/staging/iio/frequency/ad9834.c        |   5 +-
 drivers/staging/ks7010/ks_hostif.c            |  14 +-
 drivers/staging/most/dim2/dim2.c              |  23 ++--
 drivers/staging/most/dim2/hal.c               |  10 +-
 drivers/staging/most/i2c/i2c.c                |  12 +-
 drivers/staging/most/net/net.c                |   6 +-
 drivers/staging/nvec/nvec.c                   |   7 +-
 drivers/staging/octeon/ethernet-tx.c          |   1 -
 drivers/staging/qlge/qlge_main.c              |   4 +-
 .../staging/rtl8188eu/core/rtw_ieee80211.c    |   2 +-
 .../staging/rtl8188eu/core/rtw_ioctl_set.c    |   8 ++
 drivers/staging/rtl8188eu/core/rtw_security.c |  10 +-
 .../staging/rtl8188eu/include/rtw_mlme_ext.h  |   8 --
 .../staging/rtl8188eu/os_dep/ioctl_linux.c    |  12 +-
 drivers/staging/rtl8188eu/os_dep/mon.c        |   6 +-
 .../staging/rtl8188eu/os_dep/rtw_android.c    |   2 +-
 .../rtl8192u/ieee80211/ieee80211_softmac.c    |   9 +-
 drivers/staging/rtl8192u/r8192U_core.c        |  11 +-
 drivers/staging/rtl8192u/r819xU_cmdpkt.c      |  41 ------
 drivers/staging/rtl8192u/r819xU_phy.c         |  48 +++++--
 drivers/staging/rtl8712/rtl871x_mp_ioctl.c    |  29 ++--
 drivers/staging/rtl8712/rtl871x_mp_ioctl.h    | 127 ------------------
 .../staging/rtl8723bs/core/rtw_ieee80211.c    |   6 +-
 drivers/staging/rtl8723bs/core/rtw_mlme.c     |  17 +--
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c |  19 +--
 drivers/staging/rtl8723bs/core/rtw_recv.c     |   2 +-
 drivers/staging/rtl8723bs/core/rtw_security.c |   2 +-
 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c  |  10 +-
 .../staging/rtl8723bs/core/rtw_wlan_util.c    |   4 +-
 .../staging/rtl8723bs/hal/odm_NoiseMonitor.c  |   9 +-
 .../staging/rtl8723bs/hal/rtl8723b_hal_init.c |  21 +--
 .../staging/rtl8723bs/hal/rtl8723b_phycfg.c   |  10 +-
 drivers/staging/rtl8723bs/hal/sdio_halinit.c  |   8 +-
 drivers/staging/rtl8723bs/hal/sdio_ops.c      |   7 +-
 .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c |   2 +-
 drivers/staging/sm750fb/sm750_accel.c         |   4 +-
 drivers/staging/vt6655/upc.h                  |   2 +-
 drivers/staging/wlan-ng/cfg80211.c            |  30 +++--
 49 files changed, 256 insertions(+), 404 deletions(-)

Cc: ac100 at lists.launchpad.net
Cc: "Alexander A. Klimov" <grandmaster at al2klimov.de>
Cc: Allen Pais <apais at linux.microsoft.com>
Cc: Anders Blomdell <anders.blomdell at control.lth.se>
Cc: Andrea Merello <andrea.merello at gmail.com>
Cc: Andres Klode <jak at jak-linux.org>
Cc: Andrey Shvetsov <andrey.shvetsov at k2l.de>
Cc: "Arve Hjønnevåg" <arve at android.com>
Cc: Christian Brauner <christian at brauner.io>
Cc: Comedi <comedi at comedi.org>
Cc: "David A. Schleef" <ds at schleef.org>
Cc: dri-devel at lists.freedesktop.org
Cc: Fabio Aiuto <fabioaiuto83 at gmail.com>
Cc: Florian Schilhabel <florian.c.schilhabel at googlemail.com>
Cc: Forest Bond <forest at alittletooquiet.net>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: Herman.Bruyninckx at mech.kuleuven.ac.be
Cc: H Hartley Sweeten <hsweeten at visionengravers.com>
Cc: Hridya Valsaraju <hridya at google.com>
Cc: Ian Abbott <abbotti at mev.co.uk>
Cc: Ilya Petrov <ilya.muromec at gmail.com>
Cc: Jacob Feder <jacobsfeder at gmail.com>
Cc: Jerry chuang <wlanfae at realtek.com>
Cc: Joel Fernandes <joel at joelfernandes.org>
Cc: "John B. Wyatt IV" <jbwyatt4 at gmail.com>
Cc: Jonathan Cameron <jic23 at kernel.org>
Cc: "J.P. Mellor" <jpmellor at rose-hulman.edu>
Cc: karthik alapati <mail at karthek.com>
Cc: Kees Cook <keescook at chromium.org>
Cc: Kernel Team <ac100 at lists.lauchpad.net>
Cc: Klaas.Gadeyne at mech.kuleuven.ac.be
Cc: Larry Finger <Larry.Finger at lwfinger.net>
Cc: Lars-Peter Clausen <lars at metafoo.de>
Cc: Lee Jones <lee.jones at linaro.org>
Cc: linux-fbdev at vger.kernel.org
Cc: linux-iio at vger.kernel.org
Cc: linux-pwm at vger.kernel.org
Cc: linux-staging at lists.linux.dev
Cc: linux-tegra at vger.kernel.org
Cc: Marc Dietrich <marvin24 at gmx.de>
Cc: Marco Cesati <marcocesati at gmail.com>
Cc: Martijn Coenen <maco at android.com>
Cc: Michael Hennerich <Michael.Hennerich at analog.com>
Cc: Michael Straube <straube.linux at gmail.com>
Cc: Mori Hess <fmhess at users.sourceforge.net>
Cc: "Nícolas F. R. A. Prado" <nfraprado at protonmail.com>
Cc: Peter Hurley <peter at hurleysoftware.com>
Cc: Philipp Zabel <p.zabel at pengutronix.de>
Cc: Pierre-Hugues Husson <phhusson at free.fr>
Cc: Robert Love <rlove at google.com>
Cc: Romain Perier <romain.perier at gmail.com>
Cc: Ross Schmidt <ross.schm.dev at gmail.com>
Cc: "Spencer E. Olson" <olsonse at umich.edu>
Cc: Stanley at BB.SD3
Cc: Sudip Mukherjee <sudipm.mukherjee at gmail.com>
Cc: Sumera Priyadarsini <sylphrenadin at gmail.com>
Cc: Suren Baghdasaryan <surenb at google.com>
Cc: Teddy Wang <teddy.wang at siliconmotion.com>
Cc: Thierry Reding <thierry.reding at gmail.com>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Todd Kjos <tkjos at android.com>
Cc: Truxton Fulton <trux at truxton.com>
Cc: "Uwe Kleine-König" <u.kleine-koenig at pengutronix.de>
Cc: Wim.Meeussen at mech.kuleuven.ac.be
Cc: WLAN FAE <wlanfae at realtek.com>
Cc: Zhansaya Bagdauletkyzy <zhansayabagdaulet at gmail.com>
-- 
2.27.0



More information about the dri-devel mailing list