From nobody Sun Feb 8 11:45:44 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 7DDBD37F752 for ; Mon, 12 Jan 2026 17:42:56 +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=1768239778; cv=none; b=Dm3vGojhp4+knyohY/ft85/tCzv6WJ0ghuOMJwlkEuNuJ4rLYoPmiWBYanSQctijpd0UzbT4XC77lakTheZP98gFUYmjICVX5XElTb9rU2CoFMzJNoGfzO7wh6/eTQUZAUD/y8gWf0VaMRiekSvZSx/GsN3mfU4vha65ma/qVDY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768239778; c=relaxed/simple; bh=oczvgUagggC2fLtQB8nfpw+mDrzNoqZVGjwF6rzurRo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bUpN2ox21qInZlmkrznuk9Y3HT6VONrbojMvRW2Mar0iXzWbeo1kaZ0XDa/JzGs+kUl2zXDlgrtj+iTczTl2NoEiBg6uvyX5TutpCyJVQtjlpWhZ6w7BH369TRndestDIEtMgRrvKXvJa/5yFJBxevLoVtCPzONrrNr4dKy37T4= 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=P7n2UMOL; 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="P7n2UMOL" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-42fb6ce71c7so5670200f8f.1 for ; Mon, 12 Jan 2026 09:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768239774; x=1768844574; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=izNZC0iiIO0S9XPDee36+IZ6Fnp0qoBVwlUwBgrDZz8=; b=P7n2UMOLl7OEb5PuY3ffd55Mwcqw3nc/8XZLBXFHv518/crcYSkiRGCl4iXKqjrykk LPhfehjQaCnE9SpZYCGLbRtZAWvGkIDAitUXZuIi9JS5dHqpQdBqAS0Ts/woQ1JEBCuw jBp5/+XoB74PCyoaEsDtAMlRxBfPrW16YX33YHo9vwDShZ3fxtyVehvFBqUUKRzoJlyu QhtJuqN7aKm+PNBwqnAhXUALAOQd6qfuqqA0DrEtyK4HbIv370vKqmVI2ZN3UZ6FtFcz iOT7HYzuHXUUhiECKpoakESvvdDFB/m4LAeyaprJfm9Dsiv5TEvXW96hRLUd2gQNDJ5t 4zgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768239774; x=1768844574; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=izNZC0iiIO0S9XPDee36+IZ6Fnp0qoBVwlUwBgrDZz8=; b=fTC1UODizVbDrQXLOgGuIr9nT5Kx4cQqW4VGoHwMtzvJsgJM77wAPlE3FOZJZV6HoJ gwkwK5grBkLnNxqMQyk6p9oyUmezqF+pcAvRJA+AqGl+nt1T9sByHj3peEd239Tow9ai ZBE5UZjoYZQjJk42kHcbF5gX1nYpOs2N/oj65lDeMDGsh22ZbYE5FXqdFitfzh6rDoD3 TnHAdfRo+88+4vF28YW19wwYPNjRdiGzol5Lirg4WlaSIFWhjOAxoXkT1O+MRyKy1YOm NosAQbDCrH3dfAsG0Z+lafr6Sf5ADbwcht6syLI7xTBMwpxp6Fz9qdjrt60fSO5aziBo dZCA== X-Forwarded-Encrypted: i=1; AJvYcCWMqIBqJa1kkSZEmToz0rJLANRn4ZkYigFLoeTMujoS1R5qLFmDhLFgNuqEh1sfOO938pP0tWEtUo+bzYI=@vger.kernel.org X-Gm-Message-State: AOJu0YwLIKUMr/Z/naMG+aPvw7dW22aBBv0+3jKHwCiPuSpRRAxg7XFU XLSiev7ddMhw1Lf0kU6JprybscMuKmqQT/bP7UDJYKTF0wpzgSsBzfJolTeQYU+5 X-Gm-Gg: AY/fxX4G6ne8YEIXRczauOY4WquYjzlDoOqLBVXBXVizKl/tsmf2aEcMX+Jql6yRy7U iwf66cmZQoHvPAJD4UuMKUAyO81Em82biJvLL8ax5r1H1s2/z8v/Z6u8caikknePLcgoMPaHdKN V2WDUR4EAkVbY5uyene1pXY/ZD4VKIryFlSvwCUTKlkxqck9prePxo2xUraaGJA8iCwSw2jLipV ssvkUas9rv37p06Kqpio/lktMHkWih+rizGL5HKjXAq4F7mTIrwxhdGtoeIXkfK4XOJuSNT4NpD /Dde3pD6mfzDwHcIETiI1THme5u0ARORxSH6tUWAKHlnzcYBGzjmeZrpBBaiigEDupwXCtfTz2Q 2tahMAysWaLFDG/o8rxdnrM6qyMKqiQd7DfUgPKavvomUNLMFsUDDMp9wvDhBgBEAB6FNSsE8go 3Rr+OZZoRc3UXZtOIy6lxVH+K/wy1ego5LUChqeXeKriXsehuNCQ== X-Google-Smtp-Source: AGHT+IFkXjKkiTPkR8xojxRU7NFsJZMxDKpwXyTP6xfXG+DngwrxUNH9sJGOtnZMJgd8PKgZNORBGw== X-Received: by 2002:a05:6000:1448:b0:432:5c43:5d with SMTP id ffacd0b85a97d-432c37c87bbmr20777182f8f.36.1768239774393; Mon, 12 Jan 2026 09:42:54 -0800 (PST) Received: from localhost.localdomain ([2400:adc1:447:6d00:1c1a:7818:23f6:aae1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd0dacd1sm39090716f8f.4.2026.01.12.09.42.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jan 2026 09:42:54 -0800 (PST) From: Mahad Ibrahim To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, mahad.ibrahim.dev@gmail.com Subject: [PATCH 09/10] staging: rtl8723bs: Fix operator spacing issues in HalHWImg8723B_RF.c Date: Mon, 12 Jan 2026 22:42:26 +0500 Message-ID: <20260112174227.14922-10-mahad.ibrahim.dev@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260112174227.14922-1-mahad.ibrahim.dev@gmail.com> References: <20260112174227.14922-1-mahad.ibrahim.dev@gmail.com> 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" Add spaces around arithmetic and bitwise operators (+, -, |) to fix multiple checkpatch.pl checks. Adhere to the kernel coding style by adding spaces around arithmetic and bitwise operators. Signed-off-by: Mahad Ibrahim --- .../staging/rtl8723bs/hal/HalHWImg8723B_RF.c | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c b/drivers/sta= ging/rtl8723bs/hal/HalHWImg8723B_RF.c index 22be62ad8e0e..1ae82afbcb64 100644 --- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c +++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c @@ -212,7 +212,7 @@ void ODM_ReadAndConfig_MP_8723B_RadioA(struct dm_odm_t = *pDM_Odm) =20 for (i =3D 0; i < ArrayLen; i +=3D 2) { u32 v1 =3D Array[i]; - u32 v2 =3D Array[i+1]; + u32 v2 =3D Array[i + 1]; =20 /* This (offset, data) pair doesn't care the condition. */ if (v1 < 0x40000000) { @@ -221,7 +221,7 @@ void ODM_ReadAndConfig_MP_8723B_RadioA(struct dm_odm_t = *pDM_Odm) } else { /* This line is the beginning of branch. */ bool bMatched =3D true; - u8 cCond =3D (u8)((v1 & (BIT29|BIT28)) >> 28); + u8 cCond =3D (u8)((v1 & (BIT29 | BIT28)) >> 28); =20 if (cCond =3D=3D COND_ELSE) { /* ELSE, ENDIF */ bMatched =3D true; @@ -241,22 +241,22 @@ void ODM_ReadAndConfig_MP_8723B_RadioA(struct dm_odm_= t *pDM_Odm) * Condition isn't matched. * Discard the following (offset, data) pairs. */ - while (v1 < 0x40000000 && i < ArrayLen-2) + while (v1 < 0x40000000 && i < ArrayLen - 2) READ_NEXT_PAIR(v1, v2, i); =20 i -=3D 2; /* prevent from for-loop +=3D 2 */ } else { /* Configure matched pairs and skip to end of if-else. */ - while (v1 < 0x40000000 && i < ArrayLen-2) { + while (v1 < 0x40000000 && i < ArrayLen - 2) { odm_ConfigRF_RadioA_8723B(pDM_Odm, v1, v2); READ_NEXT_PAIR(v1, v2, i); } =20 /* Keeps reading until ENDIF. */ - cCond =3D (u8)((v1 & (BIT29|BIT28)) >> 28); - while (cCond !=3D COND_ENDIF && i < ArrayLen-2) { + cCond =3D (u8)((v1 & (BIT29 | BIT28)) >> 28); + while (cCond !=3D COND_ENDIF && i < ArrayLen - 2) { READ_NEXT_PAIR(v1, v2, i); - cCond =3D (u8)((v1 & (BIT29|BIT28)) >> 28); + cCond =3D (u8)((v1 & (BIT29 | BIT28)) >> 28); } } } @@ -513,11 +513,11 @@ void ODM_ReadAndConfig_MP_8723B_TXPWR_LMT(struct dm_o= dm_t *pDM_Odm) =20 for (i =3D 0; i < ARRAY_SIZE(Array_MP_8723B_TXPWR_LMT); i +=3D 6) { u8 *regulation =3D Array[i]; - u8 *bandwidth =3D Array[i+1]; - u8 *rate =3D Array[i+2]; - u8 *rfPath =3D Array[i+3]; - u8 *chnl =3D Array[i+4]; - u8 *val =3D Array[i+5]; + u8 *bandwidth =3D Array[i + 1]; + u8 *rate =3D Array[i + 2]; + u8 *rfPath =3D Array[i + 3]; + u8 *chnl =3D Array[i + 4]; + u8 *val =3D Array[i + 5]; =20 odm_ConfigBB_TXPWR_LMT_8723B(pDM_Odm, regulation, --=20 2.47.3