Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1157085pxf; Fri, 26 Mar 2021 02:13:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJtQl7kqAguJHP3b6yvzcBbFbyhf41t/9FGCtwIwKK/a2gVuBRM7jTELBuoxLTaZECO2z5 X-Received: by 2002:a05:6402:138f:: with SMTP id b15mr13840478edv.121.1616750024417; Fri, 26 Mar 2021 02:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616750024; cv=none; d=google.com; s=arc-20160816; b=KAqvcLaGxDZZ1KTo/njrPfYJdqYntBB9Cc1v4KAkd1IlxXR2Hk7CcFd1EMhEH6HjnR Kg1XcgdSTCPn7LzcEnt/Zoz1aMFpTM7a6k4Wwd7M22D2yMgqkQvB8MJER6+mofde8RSI H8n5SuZywyyYoP3xazcdMRcpOFb2sm3NUtle7Y/uErLjC96CPqC5kGX8HOghX60CWqZs iM+HpNHHKn4q4bRmZ9IeGzLoLq1hCHf4hFqRb3Rz+giir8VijnNw1dhe1J8AZEwvh6wH zN9ioD4PMlhTgwcqHGVRv3zHzt9Q1B5mZSciBWloGO5+5qxIOailzfvlIFcMh7I2fM/n wttQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=C2qjc4Ksn1CALD5m37+MaDZfcs0eyhY3C8ypdEUFsu4=; b=q+p1xZ0U2bN7G6rlW/s2X5Uqskon1qvXLWHXca9KjMnRfvbSCiUN9cF1MwbF2MiP74 wOeXmDWZeB11OSdIvjL0rcgaJyIwz2dQD7kMXk5Cj8vs2+rhL5wQiHnQgj/wj9pPx3p9 33OUFYe+vxGadduTM90qaQUc1qP9sZQMuW6kJgVMFNbd228EIChsf3QfO81/xAAFoYgi UhgnVYenR4Z0LcMg/D7h4vFBp3LQzi336wINWLT0CqutCR45mCbl5vyaIKJAzZJNIB8q 8J2DKIcefh7tyyDp3+5E1Zm4nQcJhBA3pVRt0U0SvK7D/6gWcAKA3OYFHqeYNEYmhx1i 5JIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XQwFi5PV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si6494770edw.236.2021.03.26.02.13.18; Fri, 26 Mar 2021 02:13:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XQwFi5PV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbhCZJKG (ORCPT + 99 others); Fri, 26 Mar 2021 05:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbhCZJJx (ORCPT ); Fri, 26 Mar 2021 05:09:53 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 711B7C0613AA for ; Fri, 26 Mar 2021 02:09:53 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id p19so2589517wmq.1 for ; Fri, 26 Mar 2021 02:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C2qjc4Ksn1CALD5m37+MaDZfcs0eyhY3C8ypdEUFsu4=; b=XQwFi5PVQfdPE4b05vezd572XYU3ehOGE42j2jMFp6BjWDibY+2dr4mvDug/0IcCck /SOomcs8ZU98RrUoGkZ0UqaBniqh46t7AxzCrR1hMpF6D+tR3+B2P6rRjyY3YD0ylhif lQlkipHnGWQG+D6mMAEU1E6oRh1CjDeGfp9kQuGL1gwzxQF9ule5rvG5JYCyjFLSnuGx DHZYkHmB6zYgU8Yueq7bcM18/zPiFkQ/7EZtBl5pY/vklCH+fHDXGK66dGebFjUNw/UP GYnHWhEPTz93xdNiHzG69wSCrHpL59kaRQNJ6BSIEoIqJ7USWM2G7B4z5Bap4NUa4c7z qb5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C2qjc4Ksn1CALD5m37+MaDZfcs0eyhY3C8ypdEUFsu4=; b=CJe/qQ3Kh6R9xLnBXjaXKWryW0qtvASxqEfhTmt3UNVSIRpmmhtvl30L67rPH3tf67 +Gr/NQuSkSAcQlYMs9rnlmi73q52xJvkvg1YmnvuO6h1aQH6a63NzqHhZDyGr+zHJ9Uw k9+shlYL2NVmGJxjus6CyzyrnCWM7xdh4YLjLL16agkhbWCz1WeCaPqPG1aO13hhYKzN 6p9b8eXlHdPHWqQ/1RHtovcwpuuoboHccq5N5TDuGiX0fONW7PH9ouDaxAmm70/QaqQN svER5tWd8gbMqmJuS/XvGtKpnsWwBMSb5dN/094DQj2P/Cj/zeqciwxcvShpGV4mPhO2 eDyA== X-Gm-Message-State: AOAM5303CL1nQVqlKJfjgT5BSolV996tJx8/uxX8b9m1NF+rBTInxeRL X5/MVximfrwGsm/CirgNBDq7aeb/CeASjw== X-Received: by 2002:a05:600c:4f94:: with SMTP id n20mr11901852wmq.18.1616749792194; Fri, 26 Mar 2021 02:09:52 -0700 (PDT) Received: from agape ([5.171.81.75]) by smtp.gmail.com with ESMTPSA id s8sm11392541wrn.97.2021.03.26.02.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 02:09:51 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 07/15] staging: rtl8723bs: put parentheses on macros with complex values in include/hal_com_reg.h Date: Fri, 26 Mar 2021 10:09:14 +0100 Message-Id: <8b71e4bc52854aa5c3cd6888fa40c5dbd00fe5fb.1616748885.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix the following checkpatch warnings: ERROR: Macros with complex values should be enclosed in parentheses 710: FILE: drivers/staging/rtl8723bs/include/hal_com_reg.h:710: +#define RATE_ALL_CCK RATR_1M | RATR_2M | RATR_55M | RATR_11M -- ERROR: Macros with complex values should be enclosed in parentheses 711: FILE: drivers/staging/rtl8723bs/include/hal_com_reg.h:711: +#define RATE_ALL_OFDM_AG RATR_6M | RATR_9M | RATR_12M | RATR_18M | RATR_24M |\ -- ERROR: Macros with complex values should be enclosed in parentheses 713: FILE: drivers/staging/rtl8723bs/include/hal_com_reg.h:713: +#define RATE_ALL_OFDM_1SS RATR_MCS0 | RATR_MCS1 | RATR_MCS2 | RATR_MCS3 |\ -- ERROR: Macros with complex values should be enclosed in parentheses 715: FILE: drivers/staging/rtl8723bs/include/hal_com_reg.h:715: +#define RATE_ALL_OFDM_2SS RATR_MCS8 | RATR_MCS9 | RATR_MCS10 | RATR_MCS11 |\ Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/include/hal_com_reg.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/hal_com_reg.h b/drivers/staging/rtl8723bs/include/hal_com_reg.h index b555826760d0..b5610dedc23e 100644 --- a/drivers/staging/rtl8723bs/include/hal_com_reg.h +++ b/drivers/staging/rtl8723bs/include/hal_com_reg.h @@ -707,13 +707,13 @@ Default: 00b. /* ALL CCK Rate */ -#define RATE_ALL_CCK RATR_1M | RATR_2M | RATR_55M | RATR_11M -#define RATE_ALL_OFDM_AG RATR_6M | RATR_9M | RATR_12M | RATR_18M | RATR_24M |\ - RATR_36M | RATR_48M | RATR_54M -#define RATE_ALL_OFDM_1SS RATR_MCS0 | RATR_MCS1 | RATR_MCS2 | RATR_MCS3 |\ - RATR_MCS4 | RATR_MCS5 | RATR_MCS6 | RATR_MCS7 -#define RATE_ALL_OFDM_2SS RATR_MCS8 | RATR_MCS9 | RATR_MCS10 | RATR_MCS11 |\ - RATR_MCS12 | RATR_MCS13 | RATR_MCS14 | RATR_MCS15 +#define RATE_ALL_CCK (RATR_1M | RATR_2M | RATR_55M | RATR_11M) +#define RATE_ALL_OFDM_AG (RATR_6M | RATR_9M | RATR_12M | RATR_18M | RATR_24M |\ + RATR_36M | RATR_48M | RATR_54M) +#define RATE_ALL_OFDM_1SS (RATR_MCS0 | RATR_MCS1 | RATR_MCS2 | RATR_MCS3 |\ + RATR_MCS4 | RATR_MCS5 | RATR_MCS6 | RATR_MCS7) +#define RATE_ALL_OFDM_2SS (RATR_MCS8 | RATR_MCS9 | RATR_MCS10 | RATR_MCS11 |\ + RATR_MCS12 | RATR_MCS13 | RATR_MCS14 | RATR_MCS15) #define RATE_BITMAP_ALL 0xFFFFF -- 2.20.1