Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1155523pxf; Fri, 26 Mar 2021 02:11:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4VLbGC5toHeSmsyrK56WHRRtPxsBg5tCuEHmwucv6o7LskIyM5BBawN+ttW4rz86EzFDf X-Received: by 2002:a17:906:a049:: with SMTP id bg9mr14084246ejb.186.1616749877227; Fri, 26 Mar 2021 02:11:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616749877; cv=none; d=google.com; s=arc-20160816; b=oX1Nz9aAp/PvqU1Dnp3rRiYgnK61pI+gjloJOT2KITFXUqIx0fBBOdv+zDsNG2jqOE Q/4V7hMPx0QM0LUwtNSwB+/+BdBAXHfSp9+7hvOxj6gDVoDkx5rRFjbnx7T4+Jb19bHe t4INRWmZAHBbNs7PGx0+hYx0bioc+RVUokJ8/i1PErE977fvsZ6sgNzI7cQiffbm1i8r MqLD/KMNq6MMzHofPvYzxNsjwv5lvxiInWXLQEnfeDI5ijjCroiRd9gpmKgjI8Y/KvJ1 p9p0qPpKVkB1TqcaPJhM9m8l3Xu63f7R5DESj4fI8Z4QmmIrv/yiGQroeCHQzS7ketzy nb6A== 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=7HpwydgRPtNBzTTMixRFrkkDelxwB2t+/hImIES2Sr8=; b=unyXUaPdpGe1tmiLpkTzujJUyOsAM7UdZhq4mNGYsVFIC6pc02JcZjvqUqnZNy0VhV LTBV2j/j4IWpHmlcntR9ED7qzZmsRM6PmM2m4bBEtxruhKwSJj79wCtqweJE/eewRe6M vozv7CJrbbZAsadWTorrKVhhoYObe2mSa330jKgmsqKSgYXqrA+jT+2byQn/ybvNDL1b DGPsMyaiLwFfqu/kn9RsbAVMR2LVFUMC99BGEpnvetoFPas6Wz30U7yE6iDJEzGYRTs5 KrCzQV3+m6hqMhotfXl8+aFe4HEY1NfezbHV/OABkUGcR3frYX6BJIE9I1xwBbx0o85j wMKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QOH+dAgH; 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 h16si6109179ejk.221.2021.03.26.02.10.54; Fri, 26 Mar 2021 02:11:17 -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=QOH+dAgH; 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 S229951AbhCZJJ7 (ORCPT + 99 others); Fri, 26 Mar 2021 05:09:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbhCZJJp (ORCPT ); Fri, 26 Mar 2021 05:09:45 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 435A5C0613AA for ; Fri, 26 Mar 2021 02:09:45 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id x7so4860910wrw.10 for ; Fri, 26 Mar 2021 02:09:45 -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=7HpwydgRPtNBzTTMixRFrkkDelxwB2t+/hImIES2Sr8=; b=QOH+dAgHT0I/hZdt7uFJLJNDcyTk8W5yVsx4GjbvvSFJYotmsxquNOhfKZ6pSnkGS1 0MlVxydcGpX7P4GN72MhDkoBWW/RbQpqbJUGZYiz1bh7FKC3rUKkjvplII4R8FrSd5v4 YGQHqzPsENZvu4H1WIQgnSDm4bOXEk6hF7YK3c0JqsVe7yeHuoTQTPVxbzIF/w8MLhK6 ohXPu27QGnpDjo7dbx/RnLSJ9y0PI1aXtZsWOOUMONqS/paJiRv0i1m0w/ncFdQDWxl9 Xa3/WY0OZEZ+ZiGP5cQBQMbVpNrWZxMf5zfnSSYjBrpQhZmULYkAEJPg18q9zCcNCzcg EuiQ== 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=7HpwydgRPtNBzTTMixRFrkkDelxwB2t+/hImIES2Sr8=; b=oh3ej/ssoYIkonSJlm0/1W8gYU3kxrroeU3Q/Sxn8zv7HhCFv8/ybfEn/tY+/ijshO hN8vmfZIV8VFs7kX4ndGzOSvPmV4nEZbfgf4a4bE1KiL9m1qFyrTcGO6uOd8LWPEebnx 4y5rTBpG3eVeSVJdaiLZuCIo0sI0wT9ZhsOlADdLDYzqVzjGXWVnyw759JC8UYRjltEL ANd9bsv8IvzLB7G5llrgIKpQHWKtN/AMMQZK57Ju3AFydgYxlgbZINMf8akI+DjbJS8R lRckGS4IkUo3U84xteBT1AkbJaQIw2U7n6aLfZSD6SmfBkrj1tx9mXolpDlUE3qJbls6 cytA== X-Gm-Message-State: AOAM530yz2pA5OMPtLHiVESZkoj0RddgvIYwlP/RcgdWOzSSarC3wutc s5UHszjzFAstmvm8DrLA6Y4= X-Received: by 2002:adf:fb0b:: with SMTP id c11mr13494565wrr.425.1616749784094; Fri, 26 Mar 2021 02:09:44 -0700 (PDT) Received: from agape ([5.171.81.75]) by smtp.gmail.com with ESMTPSA id n8sm10018835wrm.70.2021.03.26.02.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 02:09:43 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 02/15] staging: rtl8723bs: put parentheses on macros with complex values in hal/HalBtcOutSrc.h Date: Fri, 26 Mar 2021 10:09:09 +0100 Message-Id: <7c734b6d796b369f6a0d23c76daa344c241691b5.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 warning: ERROR: Macros with complex values should be enclosed in parentheses 152: FILE: drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h:152: +#define BTC_PRINT(dbgtype, dbgflag, printstr) \ no_printk printstr -- ERROR: Macros with complex values should be enclosed in parentheses 153: FILE: drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h:153: +#define BTC_PRINT_F(dbgtype, dbgflag, printstr) \ no_printk printstr -- ERROR: Macros with complex values should be enclosed in parentheses 154: FILE: drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h:154: +#define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr) \ no_printk printstr Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h index 10c021024b24..1926a1f7a7e5 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h +++ b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h @@ -149,9 +149,9 @@ extern u32 GLBtcDbgType[]; } #else -#define BTC_PRINT(dbgtype, dbgflag, printstr) no_printk printstr -#define BTC_PRINT_F(dbgtype, dbgflag, printstr) no_printk printstr -#define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr) no_printk printstr +#define BTC_PRINT(dbgtype, dbgflag, printstr) (no_printk printstr) +#define BTC_PRINT_F(dbgtype, dbgflag, printstr) (no_printk printstr) +#define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr) (no_printk printstr) #define BTC_PRINT_DATA(dbgtype, dbgflag, _TitleString, _HexData, _HexDataLen) \ no_printk("%s %p %zu", _TitleString, _HexData, _HexDataLen) #endif -- 2.20.1