From nobody Mon Feb 9 05:53:07 2026 Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF860346E56 for ; Sun, 8 Feb 2026 11:01:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770548513; cv=none; b=Nc5c3htASGYsHe7JoSdtvYxN0N6XTn4JJ8zRLOS1SBKwvADvDGgxHf4p4ihrgDLiPZUp4x3uHmIkgbDCbhLkU6CwRwzmSFDtZyuIjIZnuNvEFFjL/4f1QU3N5L7rm/yegWJEzoylnCAgyrGWuEDHRzdMMZ2xT/RRp0EqytT/2a8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770548513; c=relaxed/simple; bh=4uw9GKGRX28XyoFT8AS+1qgAUkzvjEkzlrrBMIwaTqQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BMWcjj0v+rvwGJaOxTTqQ0rwDXfHap6IaKUHUZgtuvz/O2zUDZnD5lbcmM70VwxyUHQj4LHC8RV8HCjk9zi2SOfcu5blSJ6M0mSoNeKZCE6TTIktkv22vPwPYKKFowgn1qdElV5GsSqPuPQupWAXDfnPMcmdtwVh8HrZe6+Gotg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=cm7CRqAj; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="cm7CRqAj" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1770548512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uCwEgU/prveT/6ctIFMe4F7n3h66DtqyNbfd5ohOGYE=; b=cm7CRqAj/3e51SrU3bfoL9MQVa4nljzdupO7EwEa/vfDH+Pa6iQa4B9dG8LGbTiXa9k3Fh L7cH4bTFycbYrdonDZh2RBNZXYfHMgTQPZD5U1wcESrXJjRaSLC+Chg3cgXYcKn0eaVdJb AP2fJNDJNSj2dvBEsXV5yD7rtG0AmNw= From: luka.gejak@linux.dev To: Greg Kroah-Hartman Cc: Dan Carpenter , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Luka Gejak Subject: [PATCH v3 17/22] staging: rtl8723bs: os_dep: fix various line length overflows Date: Sun, 8 Feb 2026 12:01:06 +0100 Message-ID: <20260208110111.46642-18-luka.gejak@linux.dev> In-Reply-To: <20260208110111.46642-1-luka.gejak@linux.dev> References: <20260208110111.46642-1-luka.gejak@linux.dev> 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 X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" From: Luka Gejak Fix lines exceeding 100 characters in os_intfs.c, sdio_intf.c, and xmit_linux.c to comply with kernel coding style. Signed-off-by: Luka Gejak --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 17 +++++++++++------ drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 3 ++- drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 8 ++++++-- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/= rtl8723bs/os_dep/os_intfs.c index 21a0c3cf4c31..89a8bfce9c08 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -71,9 +71,11 @@ int rtw_ht_enable =3D 1; * 0x01 means enable 2.4G 40MHz */ static int rtw_bw_mode =3D 0x01; -static int rtw_ampdu_enable =3D 1;/* for enable tx_ampdu ,0: disable, 0x1:= enable (but wifi_spec should be 0), 0x2: force enable (don't care wifi_spec= ) */ +/* for enable tx_ampdu: 0=3Ddisable, 0x1=3Denable (wifi_spec=3D0), 0x2=3Df= orce enable */ +static int rtw_ampdu_enable =3D 1; static int rtw_rx_stbc =3D 1;/* 0: disable, 1:enable 2.4g */ -static int rtw_ampdu_amsdu;/* 0: disabled, 1:enabled, 2:auto . There is a= n IOT issu with DLINK DIR-629 when the flag turn on */ +/* 0: disabled, 1:enabled, 2:auto. IOT issue with DLINK DIR-629 when on */ +static int rtw_ampdu_amsdu; /* Short GI support Bit Map */ /* BIT0 - 20MHz, 0: non-support, 1: support */ /* BIT1 - 40MHz, 0: non-support, 1: support */ @@ -98,7 +100,8 @@ module_param(rtw_ant_num, int, 0644); MODULE_PARM_DESC(rtw_ant_num, "Antenna number setting"); =20 static int rtw_antdiv_cfg =3D 1; /* 0:OFF , 1:ON, 2:decide by Efuse confi= g */ -static int rtw_antdiv_type; /* 0:decide by efuse 1: for 88EE, 1Tx and 1Rx= CG are diversity.(2 Ant with SPDT), 2: for 88EE, 1Tx and 2Rx are diversity= .(2 Ant, Tx and RxCG are both on aux port, RxCS is on main port), 3: for 88= EE, 1Tx and 1RxCG are fixed.(1Ant, Tx and RxCG are both on aux port) */ +/* 0:efuse, 1:1Tx/1RxCG diversity(2Ant+SPDT), 2:1Tx/2Rx diversity, 3:fixed= */ +static int rtw_antdiv_type; =20 static int rtw_hw_wps_pbc; =20 @@ -1144,9 +1147,11 @@ static int rtw_resume_process_normal(struct adapter = *padapter) } rtw_hal_disable_interrupt(padapter); /* if (sdio_alloc_irq(adapter_to_dvobj(padapter)) !=3D _SUCCESS) */ - if ((padapter->intf_alloc_irq) && (padapter->intf_alloc_irq(adapter_to_dv= obj(padapter)) !=3D _SUCCESS)) { - ret =3D -1; - goto exit; + if (padapter->intf_alloc_irq) { + if (padapter->intf_alloc_irq(adapter_to_dvobj(padapter)) !=3D _SUCCESS) { + ret =3D -1; + goto exit; + } } =20 rtw_reset_drv_sw(padapter); diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging= /rtl8723bs/os_dep/sdio_intf.c index d664e254912c..627be22c6033 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c @@ -222,7 +222,8 @@ static void sd_intf_stop(struct adapter *padapter) } =20 =20 -static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const s= truct sdio_device_id *pdid) +static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, + const struct sdio_device_id *pdid) { int status =3D _FAIL; struct net_device *pnetdev; diff --git a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c b/drivers/stagin= g/rtl8723bs/os_dep/xmit_linux.c index 0be3143fffe5..3944ac60d2ca 100644 --- a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c @@ -46,7 +46,9 @@ signed int rtw_endofpktfile(struct pkt_file *pfile) return false; } =20 -int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *= pxmitbuf, u32 alloc_sz, u8 flag) +int rtw_os_xmit_resource_alloc(struct adapter *padapter, + struct xmit_buf *pxmitbuf, + u32 alloc_sz, u8 flag) { if (alloc_sz > 0) { pxmitbuf->pallocated_buf =3D kzalloc(alloc_sz, GFP_KERNEL); @@ -59,7 +61,9 @@ int rtw_os_xmit_resource_alloc(struct adapter *padapter, = struct xmit_buf *pxmitb return _SUCCESS; } =20 -void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *= pxmitbuf, u32 free_sz, u8 flag) +void rtw_os_xmit_resource_free(struct adapter *padapter, + struct xmit_buf *pxmitbuf, + u32 free_sz, u8 flag) { if (free_sz > 0) kfree(pxmitbuf->pallocated_buf); --=20 2.52.0