Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1180144ybt; Wed, 1 Jul 2020 21:54:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbe5RFBQM+QId2ZTfEpW51gVKlo+l/RhF/7C7a9bzzgyh0HQE9ESbD7G7QLux+xQ6ouWBY X-Received: by 2002:aa7:d845:: with SMTP id f5mr31935072eds.162.1593665658354; Wed, 01 Jul 2020 21:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593665658; cv=none; d=google.com; s=arc-20160816; b=vTkKnktLkGd88b4UcshxkUdlgrtlvEX0Mg3HR+aGuTyoVZPkz685UbweoCho14RLS/ cu03h8hmw/JJJYHFOz85MrVzfOPsb0qLNvZGrGbqIN/n8vtCyUaaupwLrj/Vl4huyRay xSZvyzeWSOMw+8/nCHxsrdc4e/s+AlLGHqjxTIgUnKA9w0chBbY1YTxQPB0HY592w0SB QiNY5ioVdebF4FIQ9b/Yh2p8qkHZyO0W4cHV6cunoyf6Y4ZuX+hNyh8q+seWKLZa+pev Ou+pF2AtARLo7K5TzM+XAOoNFm4Dt1TXYRjJkaPts+CFAP48aemZJXiudWJsjDG5pz+R PI5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:date:from:dkim-signature; bh=/YARYDgAoocQGIiJPdXQ/OBNzg9SVquA525nyFPetjI=; b=LLx0lfeujrLHtx7/IVCKV+1ufjdjO/p5eDd4HCUgmvArgMYY+mAnRpoy+uli57Al3J uO3J7ZAOGsiH+nqF1ig6gHAOPLoIp9n+6mY/ox/oUcLcd8MzstY2sWUsEuUwx5fXe9mA tPPKjmO7vFzjbmpkYtN1BUUm/Mkps4jecEBXtrWFAjw+VHyTMQxR4sy3457mgmn67fRI 2gacWGv+GYFlsw0UWLl61mTq3gVBOOVG4FSCMcFVXWbu9Bp+goVjRTsiUw1bBoAlInPE kATlmTJzg3cdqH0TRMBU0i4X4O2cCfEiE3QE3tsYDD7ljS8POk/fGXSPUD9vxfaLVKOX VAfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pesu-pes-edu.20150623.gappssmtp.com header.s=20150623 header.b=RTgR1R4p; 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=fail (p=NONE sp=NONE dis=NONE) header.from=pes.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s3si4929766edy.157.2020.07.01.21.53.55; Wed, 01 Jul 2020 21:54:18 -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=@pesu-pes-edu.20150623.gappssmtp.com header.s=20150623 header.b=RTgR1R4p; 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=fail (p=NONE sp=NONE dis=NONE) header.from=pes.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726199AbgGBEvb (ORCPT + 99 others); Thu, 2 Jul 2020 00:51:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725994AbgGBEvb (ORCPT ); Thu, 2 Jul 2020 00:51:31 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77A6DC08C5C1 for ; Wed, 1 Jul 2020 21:51:31 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id w2so12051388pgg.10 for ; Wed, 01 Jul 2020 21:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pesu-pes-edu.20150623.gappssmtp.com; s=20150623; h=from:date:to:subject:message-id:mime-version:content-disposition :user-agent; bh=/YARYDgAoocQGIiJPdXQ/OBNzg9SVquA525nyFPetjI=; b=RTgR1R4pF0FKxBMUiO1ySajqUMjzwSomk7BeRnUlSAheR8sN1yghpi81c7QzAPi30S Cd2RmKtaz1EAHX928beEqY8698DBkIlTm2d57H/jz+09SFQRZjqSqegfpIeMkrBc02J5 4l2oLR8Vzl733jEo0n66VgSt6BHqpX0gTOWQyWroO5eocilGBNUjVV0k9z73iCmB1opi aC2bUeo3vIBOSQfgKiB2ixtz38ZfYEnkngbjD4S3Ei1vTRGufTAbIuRpjNV+ppWyT5fn W67O7zmu8DxPmnMFWrDKgh3+L1D4/Huhbp3sj/PNp6aT7/jqy4p4OBpM+u7XUdJdIsEk pA7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mime-version :content-disposition:user-agent; bh=/YARYDgAoocQGIiJPdXQ/OBNzg9SVquA525nyFPetjI=; b=F5poInzeFiX/2w+C/yNXgci3LhbBmDWSAI5tfV+zDYXO81D5LWB5f77vRm018yh4Gs lfyTaaewqhGF8EQT4Ak5+YRJ8ebJg/0vEWPzogy7CRA2YUWwSyLrQX2rG900ZPFmWPAC 0ZMt5JR/TgfTHveOg7bB/XwAMEGuOJDY8Ht/Y8a0g0T6tqGaNfg2cbuQJDbTnCQIqmkv UY5YT8bRXcAAmb0H7xIRkTZvZFUlUxtuek2amI/3Z3iXqs5PaOdiL3jss8HRpVX/JwuR ijJ3ZpNpQJsa2RdZ/D/CcwXCd/97KAGYP3NL7Gnr/lh5ocNoII0bzBq6ELa3chhLa8Jt k8zQ== X-Gm-Message-State: AOAM532hUa51WwCX5hUMhki0s48m2YFoITl+bJB0ZqORgfjSzJtgr7zg TsCvW1yKgzK/PGzF+lwy9YHNeCTJkyE= X-Received: by 2002:a62:cf07:: with SMTP id b7mr25710527pfg.33.1593665490994; Wed, 01 Jul 2020 21:51:30 -0700 (PDT) Received: from localhost ([2406:7400:73:3271:908:f18a:1156:5c38]) by smtp.gmail.com with ESMTPSA id br9sm6310418pjb.56.2020.07.01.21.51.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 21:51:30 -0700 (PDT) From: B K Karthik X-Google-Original-From: B K Karthik Date: Thu, 2 Jul 2020 00:51:22 -0400 To: Larry Finger , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed multiple parentheses coding style issues. Message-ID: <20200702045122.xysl7ctdke6wxedz@pesu-pes-edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ks6c27hjdea646tv" Content-Disposition: inline User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ks6c27hjdea646tv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline add parentheses since complex valued macros must be enclosed within parentheses. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h index 404634999e35..c89328142731 100644 --- a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h +++ b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h @@ -84,7 +84,7 @@ struct reportpwrstate_parm { unsigned short rsvd; }; -#define LPS_DELAY_TIME 1*HZ /* 1 sec */ +#define LPS_DELAY_TIME (i*HZ) /* 1 sec */ #define EXE_PWR_NONE 0x01 #define EXE_PWR_IPS 0x02 @@ -201,7 +201,7 @@ struct pwrctrl_priv { }; #define rtw_get_ips_mode_req(pwrctrlpriv) \ - (pwrctrlpriv)->ips_mode_req + ((pwrctrlpriv)->ips_mode_req) #define rtw_ips_mode_req(pwrctrlpriv, ips_mode) \ ((pwrctrlpriv)->ips_mode_req = (ips_mode)) -- 2.20.1 --ks6c27hjdea646tv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEpIrzAt4LvWLJmKjp471Q5AHeZ2oFAl79Z8oACgkQ471Q5AHe Z2oL3Qv/Y9lIZMUuMYffWsvo/dS/mAzAgBEYtZmXv8NFysaG6SLLXr5euK0SRAtT u5sziSw40waWJfp4O/DYMiTshprA8tTojvCjoSZP+jdLj/H/aduVAalCRvF8oCNU ASaEip5GZUcFYKhFVEa/9qfjUd3gbZBEBuWpJhDyC3jx6cxeX+d7RKseKApNbF7j aE7uXtGaZY14l8b0QPJWXbzN7aqVEIwkJujJKR6/0rLDxYtXD5GVYpW3+mTF103c e9L3yGZCn/PMMnoE2eTB4oEXZhJWmcOj2lKVa17V0+ZFdkytmxhofxlYBfgRVUSR yUI6keUD2Y3nO1Eh/xdCuxnCBFzl/sPk4ylYZLMn5RqI/icpNfhcuzCv/FsdkdHo nLMHg/+TgyVFPDpj9uRSAQ8Nuuk17h/PE3fhgK3BklT+vcosH8YI2NKmN0MtEZkY 7Y3E8YJ+Rr5wG8KIER14sm6d721DGlJxjacCOVJu7jbTQtr/Y4sg7xD7mrjH7PZz IR5raRTj =fmwW -----END PGP SIGNATURE----- --ks6c27hjdea646tv--