Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1156199pxf; Fri, 26 Mar 2021 02:12:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWgBb+IUSn484eRBOWjIKgDgrWm+C8Es7HMPnJOG1uQrfwG/uPLeKtYJb6n9F7syn1NrVy X-Received: by 2002:a17:906:1fd6:: with SMTP id e22mr14416162ejt.481.1616749942029; Fri, 26 Mar 2021 02:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616749942; cv=none; d=google.com; s=arc-20160816; b=t2hR9YmzEqYpF/Bja4lzQeyKJMR0dQLbf2V2UnQxZA3uE7CwgHs+hwuUL+1OMw15BB 1u+JptkiW9av9dyY/9UiJ5UMymMvdmbN6oGQeAGi25x6AtU3mnyTISUuRcyzaW2PL0xF 9BHk10za/Tye8MixYHh0KCqRLy1VsB8cuDStBTCZg+WXGNtBtiZbaKhvQbaikFh8tzda gm9e23UJ/cSApeWcGC2fiHovqDMSWZN/jndqo3g7pSJrRiJHWcjv4HKTcq4BoHjY6RNi KwoSfYemuB5M8VKTgJerwrNuadG37vV2rBAZM4h4d8sIn2KCFQTtCxLYYC80QPYHkL7P bZ6w== 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=tjZ69b9hxFcbktSVpwV434OeU24igr5zjHI3bGPYJis=; b=PIJTkbcFRhLGay+Kv1psWuXSpLs7iZRiKK5hb9UqFBCEKvyELheE/OWpDhW0Kdilxi LiPjn42n1KBMULFpnPPg4jrjsDMiIuGLKnVAp4/YBloPkKj3+ecB4iSIbEaGRX7IoBWm aR0eF3MbjeC1dzdptV8EwO7xUQ9JsmZfxb+HnyMg4cDwoUm7Ea3crONflq/hEq2KPU27 g7bPkFSEWwmU/jLaePjjRuRWsiQF/0BZoey/cx0pIiC+iuY10+7eB6vJuC7x+8tnz2Yc /WbHZCSNtCzvgoDOslDG/MhpwOv+gMeCUGYST6vk7tD4H32IFnwsr/lonmaYBhGWLxuX 38Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OH7MgcVz; 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 cy16si6889820edb.300.2021.03.26.02.11.59; Fri, 26 Mar 2021 02:12:22 -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=OH7MgcVz; 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 S230182AbhCZJKe (ORCPT + 99 others); Fri, 26 Mar 2021 05:10:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbhCZJJ6 (ORCPT ); Fri, 26 Mar 2021 05:09:58 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF9ACC0613AA for ; Fri, 26 Mar 2021 02:09:57 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id p19so2589632wmq.1 for ; Fri, 26 Mar 2021 02:09:57 -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=tjZ69b9hxFcbktSVpwV434OeU24igr5zjHI3bGPYJis=; b=OH7MgcVz9FM55iQRiRxGIQClKespOVCuKfxJ7xc7GYQLdg+zzffre5JvtyQ92F8RLX Eszta5Ytn2/YJWjhmX51LQQQxkRottUxlTWAnSRffNjM+1vdV3qlZtF+8iK96vbTuv7v 9f+KwmxsNz1YK9r8AXn+2wk3F1My9YHrHPs9t/P2+zfC7aTwpF96XF5IbbIg3X2IfH7z umGWsLpHBeILZ3y+L0xc4fFLrTYYGOHkA1d4Dn9PyoXEbwuYo6UQCi1ThU+Ko+H82SHL f0eTNpuRZVqtM3qN3V2W6W2/XinaMrcipr+qsEi1fHNOTp67aOv53/nsNVk1jX7RvsLj qRhg== 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=tjZ69b9hxFcbktSVpwV434OeU24igr5zjHI3bGPYJis=; b=UQY3ur5fy3guem9OJ96WssxbP1BIjlfifWplmRk/Ab2s9AD37rMPc/0EpQUcu9tr6r zGegblfNZreyk3mLUA+BWaITmKOueU0ZxnvYbdvypW/VRbsD1tgrSdSoTETwY/5yDiq0 UIk4yLmTvm9AtnA5iCt0sBPOrqVcTJvhbm9vSeHbkvy1UV/ZPtSs89+UeSUQs6R+ilJj ZaFSaUAW6SdqDMrELY+CQOES2r+6fgq6mxeH51vrBKfTPKiksYX9+k0NgVEh4LKYfbCD f8JJhvm98aiqxssd44LbBSaJ7usv8ZZ8Qnj12pcz2NqlYKZH/QpLopuE2z7mUILqx2R/ bUUg== X-Gm-Message-State: AOAM531vxnv2/smb3LGumPASHvNpUqhKRnJr777lo4q4OzHIjiYz1t6h fG1AEhhjpGPyvV4ZZEqIxYs= X-Received: by 2002:a1c:7ed4:: with SMTP id z203mr11437608wmc.89.1616749796741; Fri, 26 Mar 2021 02:09:56 -0700 (PDT) Received: from agape ([5.171.81.75]) by smtp.gmail.com with ESMTPSA id o11sm10933234wrq.74.2021.03.26.02.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 02:09:56 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 10/15] staging: rtl8723bs: put parentheses on macros with complex values in include/ieee80211.h Date: Fri, 26 Mar 2021 10:09:17 +0100 Message-Id: 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 warning: ERROR: Macros with complex values should be enclosed in parentheses 823: FILE: drivers/staging/rtl8723bs/include/ieee80211.h:823: +#define CHAN_ARG(channel) \ Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/include/ieee80211.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h index 8a10bca876b8..80df24c1c6ed 100644 --- a/drivers/staging/rtl8723bs/include/ieee80211.h +++ b/drivers/staging/rtl8723bs/include/ieee80211.h @@ -823,8 +823,8 @@ struct rtw_ieee80211_channel { #define CHAN_ARG(channel) \ /*(channel)->band*/ \ /*, (channel)->center_freq*/ \ - (channel)->hw_value \ - , (channel)->flags \ + ((channel)->hw_value \ + , (channel)->flags) \ /*, (channel)->max_antenna_gain*/ \ /*, (channel)->max_power*/ \ /*, (channel)->max_reg_power*/ \ -- 2.20.1