From nobody Tue Feb 10 06:05:31 2026 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B2D13859F7 for ; Mon, 9 Feb 2026 17:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770659858; cv=none; b=FaPXMcG8z+zlfo0OG8Z8p18OnJuzebrs7CtN/OEO0JM7WRyNpKbYbtYluToCTC1xIpanbmlTCrnOt+2YfUe+QwNKoQnMBIAab9fCqsA963Mg8xgy68JE9JFpTSgTVq0YBajN/WuoOmiGSvAa5Zqwj5jbzfS6BmZyvKewnS2amPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770659858; c=relaxed/simple; bh=Q45eo5XqUsU28o/eDGjP57OZSbf9OYY8ofJii3ES3HA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LUF/BduBfSuNL90emqI3KXkUQBxN/UAHgjQXrWCJOB5kaBvVowh9cVgBC9agmcM4RS1eXDWZth3jDZUmfwHuFFsjUyZK+2kglQ0SJzO1Vatpnc21PE05zhTZOrsJr1HOIz7/7Ug0Orj+H32pGfyhWdHccObV+k1WjMAHVtke7G0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cQYMELVd; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cQYMELVd" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-4376acce52eso6110f8f.1 for ; Mon, 09 Feb 2026 09:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770659857; x=1771264657; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ng9eGfhVOB3q5BGAvPSSXIQd44JrTYXj0/BCraGi5vE=; b=cQYMELVdSM5pk6OkR27sDLzPsyOqvavbfu1C53Sm76Q/0Gd/2Uj8aC9R9fF+gkb8Ak T9YeGBqR/iSHUQ9hcBWiDenitz6VSoKJpBi12QHmK2CH5QKekGRKXSaQv3XWIBDyh0pR 80d/rYTOXApI+PXpAhQGYoq8veEW2TgRc6SubDco5TW0j81/BsnioFeGRUB6gtU6NM9O /ZBRmpj4tO9rqLIV3tVa7tKf7u7/i76Z/S2hbtVFdxFefd942B5vwH+u+TKzzhwxd92c KcspSJmPnCJmkgmXzOVilwmORZ69glTRvB5kyZoi2Sifn2pOoQAjy6fEqBAKOPfDPCfB gvAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770659857; x=1771264657; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ng9eGfhVOB3q5BGAvPSSXIQd44JrTYXj0/BCraGi5vE=; b=CH87TrC5c7Q3XUzp4osZeqRcri0V8HUyrjfuNJQoyXAuvniXgJ2s6Pi4HPlNZZL+PI aRNUVkJh8hBisZ1MoPLGZJDnDgRjH94I1OddIMPyFWsmHqUbh4XSFlQ+3t+82Es8x70c 8OpizMhX8Y5h45aEfv7gAtsg35XQV0zBaKdigclH5E4mjRL0W6kneHBgqv4AZN7BsEtu smkpktI9+ZiVfKS+Z+G2+3vzV1qORFKxJ2Qy+jq1dcBuBBHjzi7Cvr5DzV0po6sRfhiA x6fgappjyaUMQXZVCq2nbct9/5vsTP+exUtrH8ydxJhdsBhfOa713pOgHLalBYTN9NJF ohzA== X-Forwarded-Encrypted: i=1; AJvYcCVTefFdgbhAWA+ZtIXf+W6QvmbOVt74y18csDGsZvvFMtJb3HRotXQ0u/TGqrf3Rz8qKVwZkgpgXD800Es=@vger.kernel.org X-Gm-Message-State: AOJu0YzfxB0s2lvtWWdSPdhHL0cmeIAcAIkGZ7O1E8Y54SzH54qtqZU9 Vpj/4/QLsdng5NlKdvItE3G18cAbwtH1m/rtwT/jLgyXM8woNxy6jy4q0InN2g== X-Gm-Gg: AZuq6aJtdHLgfa9QzdZTn4kOqmpwjSHUWXU5hU820Lvzo/bT+qS+JYyjZ1R5yD13oQJ NoAtVBid71Ro1s+Qo/H4KwpJrHYSPOcptXqNJq4qmhdzUSKl9g2t3ZyPBtVwzQY42PNORz8oWJB E5nOnxRJDylMraFWY1mcib3k16ul49Ei75G6EfreumpxKBhYfIDGg2gvAWPe9CN1lRby4QAHN2d I4V1E7hGi3sCnN9DS9xnnZDjSEIznLh30q7tSDbOnYgI4rKMPv1wy7gD/EZdr3vmeWSyule6IH6 iFyDNZa+akesqooJA5KCoN8nPUWUlhU25o1/lcuDdKSVQ0fQJjS3etS0u7OjYzjhnrgxgQhE64D C4yqkFG9FN07wLKzt+wxE41ImjkohqWddxpAsPEEglnfYyeW0L39sN/IoS2+tKYSbSuv219grZr 0R2e6BlxZw+DjTyXYAKixvQb7YOQ== X-Received: by 2002:a05:6000:1863:b0:437:69c0:9619 with SMTP id ffacd0b85a97d-43769c098a6mr8254656f8f.29.1770659856735; Mon, 09 Feb 2026 09:57:36 -0800 (PST) Received: from sarah-VirtualBox.Dlink ([147.234.64.33]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-436296bd4desm28539873f8f.18.2026.02.09.09.57.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Feb 2026 09:57:36 -0800 (PST) From: Sarah Gershuni To: gregkh@linuxfoundation.org, dan.carpenter@linaro.org, arthur.stupa@gmail.com, sarah556726@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: rtw_io: resolve all checkpatch warnings Date: Mon, 9 Feb 2026 19:55:30 +0200 Message-ID: <20260209175530.3597-1-sarah556726@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Resolve all checkpatch.pl warnings in rtw_io.c. This includes removing redundant parentheses, fixing overly long lines, and adjusting blank lines. The file is now checkpatch-clean. No functional changes. Signed-off-by: Sarah Gershuni --- drivers/staging/rtl8723bs/core/rtw_io.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8= 723bs/core/rtw_io.c index fe9f94001eed..b375c1a67a0d 100644 --- a/drivers/staging/rtl8723bs/core/rtw_io.c +++ b/drivers/staging/rtl8723bs/core/rtw_io.c @@ -29,7 +29,7 @@ u8 rtw_read8(struct adapter *adapter, u32 addr) { /* struct io_queue *pio_queue =3D (struct io_queue *)adapter->pio_queue; = */ struct io_priv *pio_priv =3D &adapter->iopriv; - struct intf_hdl *pintfhdl =3D &(pio_priv->intf); + struct intf_hdl *pintfhdl =3D &pio_priv->intf; u8 (*_read8)(struct intf_hdl *pintfhdl, u32 addr); =20 _read8 =3D pintfhdl->io_ops._read8; @@ -41,7 +41,7 @@ u16 rtw_read16(struct adapter *adapter, u32 addr) { /* struct io_queue *pio_queue =3D (struct io_queue *)adapter->pio_queue; = */ struct io_priv *pio_priv =3D &adapter->iopriv; - struct intf_hdl *pintfhdl =3D &(pio_priv->intf); + struct intf_hdl *pintfhdl =3D &pio_priv->intf; u16 (*_read16)(struct intf_hdl *pintfhdl, u32 addr); =20 _read16 =3D pintfhdl->io_ops._read16; @@ -53,20 +53,19 @@ u32 rtw_read32(struct adapter *adapter, u32 addr) { /* struct io_queue *pio_queue =3D (struct io_queue *)adapter->pio_queue; = */ struct io_priv *pio_priv =3D &adapter->iopriv; - struct intf_hdl *pintfhdl =3D &(pio_priv->intf); + struct intf_hdl *pintfhdl =3D &pio_priv->intf; u32 (*_read32)(struct intf_hdl *pintfhdl, u32 addr); =20 _read32 =3D pintfhdl->io_ops._read32; =20 return _read32(pintfhdl, addr); - } =20 int rtw_write8(struct adapter *adapter, u32 addr, u8 val) { /* struct io_queue *pio_queue =3D (struct io_queue *)adapter->pio_queue; = */ struct io_priv *pio_priv =3D &adapter->iopriv; - struct intf_hdl *pintfhdl =3D &(pio_priv->intf); + struct intf_hdl *pintfhdl =3D &pio_priv->intf; int (*_write8)(struct intf_hdl *pintfhdl, u32 addr, u8 val); int ret; =20 @@ -76,11 +75,12 @@ int rtw_write8(struct adapter *adapter, u32 addr, u8 va= l) =20 return RTW_STATUS_CODE(ret); } + int rtw_write16(struct adapter *adapter, u32 addr, u16 val) { /* struct io_queue *pio_queue =3D (struct io_queue *)adapter->pio_queue; = */ struct io_priv *pio_priv =3D &adapter->iopriv; - struct intf_hdl *pintfhdl =3D &(pio_priv->intf); + struct intf_hdl *pintfhdl =3D &pio_priv->intf; int (*_write16)(struct intf_hdl *pintfhdl, u32 addr, u16 val); int ret; =20 @@ -89,11 +89,12 @@ int rtw_write16(struct adapter *adapter, u32 addr, u16 = val) ret =3D _write16(pintfhdl, addr, val); return RTW_STATUS_CODE(ret); } + int rtw_write32(struct adapter *adapter, u32 addr, u32 val) { /* struct io_queue *pio_queue =3D (struct io_queue *)adapter->pio_queue; = */ struct io_priv *pio_priv =3D &adapter->iopriv; - struct intf_hdl *pintfhdl =3D &(pio_priv->intf); + struct intf_hdl *pintfhdl =3D &pio_priv->intf; int (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); int ret; =20 @@ -108,14 +109,15 @@ u32 rtw_write_port(struct adapter *adapter, u32 addr,= u32 cnt, u8 *pmem) { u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem= ); struct io_priv *pio_priv =3D &adapter->iopriv; - struct intf_hdl *pintfhdl =3D &(pio_priv->intf); + struct intf_hdl *pintfhdl =3D &pio_priv->intf; =20 _write_port =3D pintfhdl->io_ops._write_port; =20 return _write_port(pintfhdl, addr, cnt, pmem); } =20 -int rtw_init_io_priv(struct adapter *padapter, void (*set_intf_ops)(struct= adapter *padapter, struct _io_ops *pops)) +int rtw_init_io_priv(struct adapter *padapter, + void (*set_intf_ops)(struct adapter *padapter, struct _io_ops *pops= )) { struct io_priv *piopriv =3D &padapter->iopriv; struct intf_hdl *pintf =3D &piopriv->intf; @@ -133,7 +135,8 @@ int rtw_init_io_priv(struct adapter *padapter, void (*s= et_intf_ops)(struct adapt } =20 /* - * Increase and check if the continual_io_error of this @param dvobjprive = is larger than MAX_CONTINUAL_IO_ERR + * Increase and check if the continual_io_error of this @param dvobjprive = is + * larger than MAX_CONTINUAL_IO_ERR * @return true: * @return false: */ --=20 2.43.0