Skip to content
  1. Nov 07, 2020
  2. Nov 06, 2020
    • Lee Jones's avatar
      tty: synclink: Provide missing description for 'hdlcdev_tx_timeout's 'txqueue' param · a296b3de
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/synclink.c:7708: warning: Function parameter or member 'txqueue' not described in 'hdlcdev_tx_timeout'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: paulkf@microgate.com
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-37-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a296b3de
    • Lee Jones's avatar
      tty: hvc: hvc_opal: Staticify function invoked by reference · 27122bf5
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/hvc/hvc_opal.c:106:6: warning: no previous prototype for ‘hvc_opal_hvsi_hangup’ [-Wmissing-prototypes]
      
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-34-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      27122bf5
    • Lee Jones's avatar
      tty: hvc: hvc_vio: Staticify function invoked only by reference · 109af2a8
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/hvc/hvc_vio.c:181:6: warning: no previous prototype for ‘hvterm_hvsi_hangup’ [-Wmissing-prototypes]
       181 | void hvterm_hvsi_hangup(struct hvc_struct *hp, int data)
       | ^~~~~~~~~~~~~~~~~~
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-33-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      109af2a8
    • Lee Jones's avatar
      tty: serial: serial-tegra: Provide some missing struct member descriptions · 216daa12
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'fifo_mode_enable_status' not described in 'tegra_uart_chip_data'
       drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'uart_max_port' not described in 'tegra_uart_chip_data'
       drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'max_dma_burst_bytes' not described in 'tegra_uart_chip_data'
       drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'error_tolerance_low_range' not described in 'tegra_uart_chip_data'
       drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'error_tolerance_high_range' not described in 'tegra_uart_chip_data'
      
      Cc: Laxman Dewangan <ldewangan@nvidia.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: linux-serial@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Cc: linux-media@vger.kernel.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linaro-mm-sig@lists.linaro.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-31-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      216daa12
    • Lee Jones's avatar
      tty: tty_ldisc: Supply missing description for 'tty_ldisc_get's 'tty' param · 8a3bdec1
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/tty_ldisc.c:160: warning: Function parameter or member 'tty' not described in 'tty_ldisc_get'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-30-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8a3bdec1
    • Lee Jones's avatar
      tty: serial: stm32-usart: Remove set but unused 'cookie' variables · 24832ca3
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/stm32-usart.c: In function ‘stm32_transmit_chars_dma’:
       drivers/tty/serial/stm32-usart.c:353:15: warning: variable ‘cookie’ set but not used [-Wunused-but-set-variable]
       drivers/tty/serial/stm32-usart.c: In function ‘stm32_of_dma_rx_probe’:
       drivers/tty/serial/stm32-usart.c:1090:15: warning: variable ‘cookie’ set but not used [-Wunused-but-set-variable]
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Gerald Baeza <gerald.baeza@st.com>
      Cc: linux-serial@vger.kernel.org
      Cc: linux-stm32@st-md-mailman.stormreply.com
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-29-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      24832ca3
    • Lee Jones's avatar
      tty: synclinkmp: Add missing description for function param 'txqueue' · 7285ff0b
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/synclinkmp.c:1808: warning: Function parameter or member 'txqueue' not described in 'hdlcdev_tx_timeout'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: paulkf@microgate.com
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-27-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7285ff0b
    • Lee Jones's avatar
      tty: serial: sifive: Struct headers should start with 'struct <name>' · 180bb243
      Lee Jones authored
      
      
      Also supply a missing member description.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port '
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Paul Walmsley <paul.walmsley@sifive.com>
      Cc: linux-serial@vger.kernel.org
      Cc: linux-riscv@lists.infradead.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Reviewed-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      Acked-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      Link: https://lore.kernel.org/r/20201104193549.4026187-26-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      180bb243
    • Lee Jones's avatar
      tty: serial: serial-tegra: Struct headers should start with 'struct <name>' · 0fd872d7
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/serial-tegra.c:85: warning: cannot understand function prototype: 'struct tegra_uart_chip_data '
      
      Cc: Laxman Dewangan <ldewangan@nvidia.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: linux-serial@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Cc: linux-media@vger.kernel.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linaro-mm-sig@lists.linaro.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-25-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0fd872d7
    • Lee Jones's avatar
      tty: synclink_gt: Demote one kernel-doc header and repair another · 71b061e2
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/synclink_gt.c:633: warning: Function parameter or member 'tty' not described in 'ldisc_receive_buf'
       drivers/tty/synclink_gt.c:633: warning: Function parameter or member 'data' not described in 'ldisc_receive_buf'
       drivers/tty/synclink_gt.c:633: warning: Function parameter or member 'flags' not described in 'ldisc_receive_buf'
       drivers/tty/synclink_gt.c:633: warning: Function parameter or member 'count' not described in 'ldisc_receive_buf'
       drivers/tty/synclink_gt.c:1683: warning: Function parameter or member 'txqueue' not described in 'hdlcdev_tx_timeout'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: paulkf@microgate.com
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-24-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      71b061e2
    • Lee Jones's avatar
      tty: serial: xilinx_uartps: Supply description for missing member 'cts_override' · b482bd79
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/xilinx_uartps.c:205: warning: Function parameter or member 'cts_override' not described in 'cdns_uart'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-23-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b482bd79
    • Lee Jones's avatar
      tty: serial: ifx6x60: Fix function documentation headers · 09532ceb
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/ifx6x60.c:553: warning: Function parameter or member 'tty' not described in 'ifx_port_activate'
       drivers/tty/serial/ifx6x60.c:728: warning: Function parameter or member 't' not described in 'ifx_spi_io'
       drivers/tty/serial/ifx6x60.c:728: warning: Excess function parameter 'data' description in 'ifx_spi_io'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Filip Aben <f.aben@option.com>
      Cc: Joseph Barrow <d.barow@option.com>
      Cc: Jan Dumon <j.dumon@option.com>
      Cc: Russ Gorby <russ.gorby@intel.com>
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-22-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      09532ceb
    • Lee Jones's avatar
      tty: serial: msm_serial: Remove set but unused variable 'status' · fe989920
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/msm_serial.c: In function ‘msm_complete_tx_dma’:
       drivers/tty/serial/msm_serial.c:429:18: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      
      Cc: Andy Gross <agross@kernel.org>
      Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Robert Love <rlove@google.com>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Reviewed-by: default avatarJeffrey Hugo <jeffrey.l.hugo@gmail.com>
      Link: https://lore.kernel.org/r/20201104193549.4026187-21-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fe989920
    • Lee Jones's avatar
      tty: serial: lpc32xx_hs: Remove unused variable 'tmp' · c4e3f0c0
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/lpc32xx_hs.c: In function ‘__serial_uart_flush’:
       drivers/tty/serial/lpc32xx_hs.c:244:6: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Vladimir Zapolskiy <vz@mleia.com>
      Cc: Sylvain Lemieux <slemieux.tyco@gmail.com>
      Cc: Kevin Wells <kevin.wells@nxp.com>
      Cc: Roland Stigge <stigge@antcom.de>
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Acked-by: default avatarVladimir Zapolskiy <vz@mleia.com>
      Link: https://lore.kernel.org/r/20201104193549.4026187-20-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c4e3f0c0
    • Lee Jones's avatar
      tty: n_gsm: Demote obvious abuse of kernel-doc and supply other missing docss · b410e35d
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/n_gsm.c:85: warning: Function parameter or member 'ref' not described in 'gsm_mux_net'
       drivers/tty/n_gsm.c:85: warning: Function parameter or member 'dlci' not described in 'gsm_mux_net'
       drivers/tty/n_gsm.c:664: warning: Function parameter or member 'dlci' not described in 'gsm_data_kick'
       drivers/tty/n_gsm.c:1015: warning: Function parameter or member 'clen' not described in 'gsm_process_modem'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-19-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b410e35d
    • Lee Jones's avatar
      tty: serial: amba-pl011: Mark 'sbsa_uart_acpi_match' as __maybe_unused · 7789c1f1
      Lee Jones authored
      
      
      When !ACPI 'sbsa_uart_acpi_match' is not referenced.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/amba-pl011.c:2792:36: warning: ‘sbsa_uart_acpi_match’ defined but not used [-Wunused-const-variable=]
      
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-18-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7789c1f1
    • Lee Jones's avatar
      tty: pty: Provide descriptions for the 'file' parameters · 0b0a66a5
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/pty.c:710: warning: Function parameter or member 'file' not described in 'ptm_unix98_lookup'
       drivers/tty/pty.c:726: warning: Function parameter or member 'file' not described in 'pts_unix98_lookup'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: "C. Scott Ananian" <cananian@alumni.princeton.edu>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-17-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0b0a66a5
    • Lee Jones's avatar
      tty: tty_audit: Demote non-conformant kernel-doc headers · ffb5d9cf
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/tty_audit.c:91: warning: Function parameter or member 'buf' not described in 'tty_audit_buf_push'
       drivers/tty/tty_audit.c:129: warning: Function parameter or member 'sig' not described in 'tty_audit_fork'
       drivers/tty/tty_audit.c:137: warning: Function parameter or member 'tty' not described in 'tty_audit_tiocsti'
       drivers/tty/tty_audit.c:137: warning: Function parameter or member 'ch' not described in 'tty_audit_tiocsti'
       drivers/tty/tty_audit.c:202: warning: Function parameter or member 'tty' not described in 'tty_audit_add_data'
       drivers/tty/tty_audit.c:202: warning: Function parameter or member 'data' not described in 'tty_audit_add_data'
       drivers/tty/tty_audit.c:202: warning: Function parameter or member 'size' not described in 'tty_audit_add_data'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Miloslav Trmac <mitr@redhat.com>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-16-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ffb5d9cf
    • Lee Jones's avatar
      tty: serial: 8250: serial_cs: Remove unused/unchecked variable 'err' · 32ed2480
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/8250/serial_cs.c: In function ‘multi_config’:
       drivers/tty/serial/8250/serial_cs.c:562:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Colin Ian King <colin.king@canonical.com>
      Cc: "David A. Hinds" <dahinds@users.sourceforge.net>
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-15-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      32ed2480
    • Lee Jones's avatar
      tty: tty_io: Fix some kernel-doc issues · 08aa5042
      Lee Jones authored
      
      
      Demote non-conformant headers and supply some missing descriptions.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/tty_io.c:218: warning: Function parameter or member 'file' not described in 'tty_free_file'
       drivers/tty/tty_io.c:566: warning: Function parameter or member 'exit_session' not described in '__tty_hangup'
       drivers/tty/tty_io.c:1077: warning: Function parameter or member 'tty' not described in 'tty_send_xchar'
       drivers/tty/tty_io.c:1077: warning: Function parameter or member 'ch' not described in 'tty_send_xchar'
       drivers/tty/tty_io.c:1155: warning: Function parameter or member 'file' not described in 'tty_driver_lookup_tty'
       drivers/tty/tty_io.c:1508: warning: Function parameter or member 'tty' not described in 'release_tty'
       drivers/tty/tty_io.c:1508: warning: Function parameter or member 'idx' not described in 'release_tty'
       drivers/tty/tty_io.c:2973: warning: Function parameter or member 'driver' not described in 'alloc_tty_struct'
       drivers/tty/tty_io.c:2973: warning: Function parameter or member 'idx' not described in 'alloc_tty_struct'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Nick Holloway <alfie@dcs.warwick.ac.uk>
      Cc: -- <julian@uhunix.uhcc.hawaii.edu>
      Cc: Marko Kohtala <Marko.Kohtala@hut.fi>
      Cc: Bill Hawes <whawes@star.net>
      Cc: "C. Scott Ananian" <cananian@alumni.princeton.edu>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Andrew Morton <andrewm@uow.edu.eu>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-13-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      08aa5042
    • Lee Jones's avatar
      tty: serial: jsm: jsm_cls: Remove unused variable 'discard' · 5d5b53cf
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serial/jsm/jsm_cls.c: In function ‘cls_copy_data_from_uart_to_queue’:
       drivers/tty/serial/jsm/jsm_cls.c:400:7: warning: variable ‘discard’ set but not used [-Wunused-but-set-variable]
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-12-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5d5b53cf
    • Lee Jones's avatar
      tty: n_tty: Add 2 missing parameter descriptions · 171044a7
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/n_tty.c:405: warning: Function parameter or member 'tty' not described in 'is_continuation'
       drivers/tty/n_tty.c:1701: warning: Function parameter or member 'flow' not described in 'n_tty_receive_buf_common'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: "Andrew J. Kroll" <ag784@freenet.buffalo.edu>
      Cc: processes-Sapan Bhatia <sapan@corewars.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-11-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      171044a7
    • Lee Jones's avatar
      tty: vt: consolemap: Demote weakly documented function header · d3e3232e
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap'
       drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap'
       drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Jakub Jelinek <jj@ultra.linux.cz>
      Cc: Stanislav Voronyi <stas@cnti.uanet.kharkov.ua>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-10-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d3e3232e
    • Lee Jones's avatar
      tty: tty_jobctrl: Add missing function parameter descriptions · bc38fe24
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/tty_jobctrl.c:32: warning: Function parameter or member 'sig' not described in '__tty_check_change'
       drivers/tty/tty_jobctrl.c:95: warning: Function parameter or member 'tty' not described in '__proc_set_tty'
       drivers/tty/tty_jobctrl.c:344: warning: Function parameter or member 'file' not described in 'tiocsctty'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-8-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      bc38fe24
    • Lee Jones's avatar
      tty: tty_port: Demote obvious abuse of kernel-doc formatting · 1b1deb44
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/tty_port.c:633: warning: Function parameter or member 'port' not described in 'tty_port_close'
       drivers/tty/tty_port.c:633: warning: Function parameter or member 'tty' not described in 'tty_port_close'
       drivers/tty/tty_port.c:633: warning: Function parameter or member 'filp' not described in 'tty_port_close'
       drivers/tty/tty_port.c:672: warning: Function parameter or member 'port' not described in 'tty_port_open'
       drivers/tty/tty_port.c:672: warning: Function parameter or member 'tty' not described in 'tty_port_open'
       drivers/tty/tty_port.c:672: warning: Function parameter or member 'filp' not described in 'tty_port_open'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-7-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1b1deb44
    • Lee Jones's avatar
      tty: tty_buffer: Add missing description for 'limit' · a776f10d
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/tty_buffer.c:592: warning: Function parameter or member 'limit' not described in 'tty_buffer_set_limit'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-6-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a776f10d
    • Lee Jones's avatar
      tty: tty_io: Move 'tty_sysctl_init's prototype to shared space · aec51036
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/tty_ldisc.c:883:6: warning: no previous prototype for ‘tty_sysctl_init’ [-Wmissing-prototypes]
       883 | void tty_sysctl_init(void)
       | ^~~~~~~~~~~~~~~
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: Nick Holloway <alfie@dcs.warwick.ac.uk>
      Cc: -- <julian@uhunix.uhcc.hawaii.edu>
      Cc: Marko Kohtala <Marko.Kohtala@hut.fi>
      Cc: Bill Hawes <whawes@star.net>
      Cc: "C. Scott Ananian" <cananian@alumni.princeton.edu>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Andrew Morton <andrewm@uow.edu.eu>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-5-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      aec51036
    • Lee Jones's avatar
      tty: tty_baudrate: Add missing description for 'tty' · 6e30f283
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'tty' not described in 'tty_encode_baud_rate'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-4-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6e30f283
    • Lee Jones's avatar
      tty: serdev: core: Provide missing description for 'owner' · fc74d98c
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serdev/core.c: In function ‘serdev_controller_remove’:
       drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register'
      
      Cc: Rob Herring <robh@kernel.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-3-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fc74d98c
    • Lee Jones's avatar
      tty: serdev: core: Remove unused variable 'dummy' · c0ed8ecb
      Lee Jones authored
      
      
      No need to have a dummy variable here.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/tty/serdev/core.c: In function ‘serdev_controller_remove’:
       drivers/tty/serdev/core.c:791:6: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]
      
      Cc: Rob Herring <robh@kernel.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jirislaby@kernel.org>
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20201104193549.4026187-2-lee.jones@linaro.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c0ed8ecb
  3. Nov 04, 2020