From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (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 E3EE5175A8D for ; Sun, 14 Jun 2026 12:22:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781439767; cv=none; b=A03Aui2j8n5e7dxkvar4YPoP/IVVCsgrvIh/KM8sS9Fbr/4prtENAhyVLuvLtd4Zo/y48sok/mf8xpNVf95/8GJpF9uc2CMH53maZ7JZPjaQEy40qr9LzpxJ3kRl8CM6PFQYtgvG9VKgclMDUQAcKXgVzUnAuf8VeWHU7N40r+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781439767; c=relaxed/simple; bh=Npalpcft7I7eHfa3WBDXtCXZJ533w3usjlZWnTw2dMQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eP7wBj+2DLn6983vVm0XfS2pOvyI7OPYQnjjTsfED0g9sBzG+1DsA1yt9Yi+kE2osuReD+fyFPZjNFD6AMak4B5PRpx7wi5yMEqiERQZByT5AncN9N2DG4rMM8Ld7ZvTIu3oJSvNSTUPtVHzvAh61dl6yVRelhaIT71Hfgq3rFw= 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=HkBrIGI8; arc=none smtp.client-ip=209.85.214.181 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="HkBrIGI8" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-2c168baac83so10835285ad.2 for ; Sun, 14 Jun 2026 05:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781439764; x=1782044564; 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=O28pLQj256ufqacQLDJpIcOmRKTlRpbGD8/tdrCX9IU=; b=HkBrIGI8G2hC3MEf28MRwIXfS0BHrUzUr5yWe3Ec2NeWQIG6sculCjp/y0xJWLWE3B LXP0/s82K8ALb+b+Y0P3S9Ac+2CtHNiWnEMJ2JySwtr8ePcplZd1yetaAeiXtaLqjDr8 EBR22g0iuA6e2Q4IPuDmSuYWJOSRrI1JxUShXqWJNRrmzF2BSz96wOFawgXYamw1rfa5 0wjdaBkim7htRilup36j73mgjvLzJHtF2PLOyZBlqpie8RR4116YGwsKce0+pbZzPqFN Xq/wGxNxRD+Jrs41z+6p2tUCT6LjZUc+CuVVepT0TyziGgQ6EODjewPs5YO8zuW1awWQ u3FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781439764; x=1782044564; 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=O28pLQj256ufqacQLDJpIcOmRKTlRpbGD8/tdrCX9IU=; b=l5U7Cehua1PoytusCwNO1Xj6DiSlEzFQ7UzCJHTVVOgEhKBUMGwQnExyeXq7UFLh1S FHHr14ue66DF7WmAIt4wPBV4I7Dys4ukEcuKIux27IYLzFLmGFBUk8RmkCawHPOHzAFz d63PU3h6AQxE1oqvjAuyCZqwyNf8MP5iLZ7IVTjK93Mu57QSvdL/UtLqZH3gq9VaJ5U3 HcqOdQiAG5SHBSebM6BmNuTGTNVTLQxvMogUVc2OhEoRI8HCsmCAS4rXdp/0+oR4ITSc le3F1vQxuZKnqpDe8hU23belMtjNWNu/YkvbBg4PIAyJLxzLSGHo+Apg5F6488Q2iv8W w9Yw== X-Forwarded-Encrypted: i=1; AFNElJ/br57n0X5I/FibKUT4gUFJS0YK0rNK0luUfd0du8PUo2DdnPBo+OPAOY3oduCwn+et4sFb/uPqLPBzKfc=@vger.kernel.org X-Gm-Message-State: AOJu0YxC9PnBnribZJsPuso2RhsbqzH+aYfi/r6tLHOTIInDEp5c08hr lZECcsANA2RyXmH419L5TrjZxdqLjPvkgH32Ea4V3vZ3q/bS26VeinRH X-Gm-Gg: Acq92OEsx8IFfIOTKWll78peJGX59iObdjyt93U9OlKdiG73c6caSDsHPPSebAam+oE vckKDFrLNN8aNfSJP60EslAtWjxn737EKb/Q+VDsyEITIRSMZNdIJPsKjmlhtXWXfK8hVH0JvYL WyuuhUs1z6MsAUMYicEURPKIMBkmonyNjpwdo5HuLPyWHeG+WpdqMkJoupAQ4WMrM024hCYUcwl HmyY9phMrL1dzWoxqEiOcjwMapUfq4rNiHh6XvlPpsdXq0TMaqXZ/5J3I43GKWH9ejDhajau7UI 0cvv/oxMCmbyyC+JnzI+JtxRA6XjE8tgHDGGvWmVfAKuykcygPygzSAQRXVoqjYvGkvrB9vq6gw IhCMf/PoSzMFpe/DWjpkULRHfO+usvv66DSQMwuFV6nhEQ40W26zdv5abTmDl/FlYkZDPCrOSyC aqOtmd7Kd2MJ3aS7hmtnhv1SWY/8VXMd4RNSEd7/PMJwCd/PS4+uKn2r6vMnsSRfCedGzpqLPRS hKG X-Received: by 2002:a17:902:e808:b0:2bf:281c:d2d3 with SMTP id d9443c01a7336-2c4104137c6mr112096105ad.9.1781439764306; Sun, 14 Jun 2026 05:22:44 -0700 (PDT) Received: from moksh-Nitro-ANV15-51.. ([103.58.154.196]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2c43326b085sm69157995ad.70.2026.06.14.05.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jun 2026 05:22:43 -0700 (PDT) From: Moksh Panicker To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, Moksh Panicker Subject: [PATCH v1 3/4] staging: rtl8723bs: Fix missing spaces around operators in HalPwrSeqCmd.c Date: Sun, 14 Jun 2026 12:21:54 +0000 Message-Id: <20260614122155.20034-4-mokshpanicker.7@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260614122155.20034-1-mokshpanicker.7@gmail.com> References: <20260614122155.20034-1-mokshpanicker.7@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: 8bit Add missing spaces around the '&' operator in HalPwrSeqCmdParsing(). This fixes the following checkpatch.pl warnings: CHECK: spaces preferred around that '&' (ctx:ExV) CHECK: spaces preferred around that '&' (ctx:WxV) Signed-off-by: Moksh Panicker --- drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c b/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c index 86404b5e6..98a3d7695 100644 --- a/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c +++ b/drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c @@ -88,7 +88,7 @@ u8 HalPwrSeqCmdParsing( value &= (~(GET_PWR_CFG_MASK(PwrCfgCmd))); value |= ( GET_PWR_CFG_VALUE(PwrCfgCmd) - &GET_PWR_CFG_MASK(PwrCfgCmd) + & GET_PWR_CFG_MASK(PwrCfgCmd) ); /* Write the value back to system register */ @@ -106,7 +106,7 @@ u8 HalPwrSeqCmdParsing( else value = rtw_read8(padapter, offset); - value = value&GET_PWR_CFG_MASK(PwrCfgCmd); + value = value & GET_PWR_CFG_MASK(PwrCfgCmd); if ( value == (GET_PWR_CFG_VALUE(PwrCfgCmd) & GET_PWR_CFG_MASK(PwrCfgCmd)) @@ -126,7 +126,7 @@ u8 HalPwrSeqCmdParsing( if (GET_PWR_CFG_VALUE(PwrCfgCmd) == PWRSEQ_DELAY_US) udelay(GET_PWR_CFG_OFFSET(PwrCfgCmd)); else - udelay(GET_PWR_CFG_OFFSET(PwrCfgCmd)*1000); + udelay(GET_PWR_CFG_OFFSET(PwrCfgCmd) * 1000); break; case PWR_CMD_END: -- 2.34.1