Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1018265ybv; Thu, 20 Feb 2020 11:31:32 -0800 (PST) X-Google-Smtp-Source: APXvYqz/rZRx6W3op68SS+US+EBtg5BKYphxV45QgKEZ0+0q+Vp7uteHiu1vO8RIqYiqf8BosuwP X-Received: by 2002:aca:f10:: with SMTP id 16mr3154074oip.117.1582227091914; Thu, 20 Feb 2020 11:31:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582227091; cv=none; d=google.com; s=arc-20160816; b=L/eQE1jEdwD+RYYeLFhNutf+W8ZHLGFrXGJkJTcjLBFLb16MgwQU3fqBflnFm57/PZ n5k0nJyUvxqMeqYejO/dyFAc9LcCV3N4bVPHBPve8muNjUd+w7PtCob4TvWQ91Jn/CWq G+PGQ5M+sTqf0GXQSGT/5Z3ZAqzmZiiRxkHP/hpEbJ6cQl4vFpzxyAf/G4wahWREuRlg EzjfxrQDPMldiTIUwiKb76SxrqZJzENBYdEPZpyg5BERUzOZoE8SN/cV6aIcK8jKJjML iiJdvPSFQjZn3dD8H1fujEjd2Ho6lfOccgJgVZ2FxMPaeo+kgWGjgLlflJAaMdSRe2I9 is7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sXrvFoJPqvg02BUxIE3UTho5sV5nybX8qyPHpbQqr8E=; b=yVRhCjLctCfM4vJcw+hJ/hgwk7yWYAUH1oGBFWRgb9k0T73Phb1nh0uZWj3yUg3azO aM7r5AOVOlpmsvO9cKHsgiwVz49zm37O2JN9oOqGTTUB9TZBrOMHrBRKiwmC88H8dj6l vjlJT1U8LSxsWx0R0O1VpHeytSGm9dD2OUuh1xRF+5S9LjdvaYErK7WxL0o93ZEJyRYv 2+I3aR0ZCVP8IBTL/Dc05ebQ3etziNKFE8VPTo1JRySno4zXorOwAI226jDBU4vzV2Y4 m7ERCX2shOR9WFnULx9u+r5gd1YaavOA6RFI5CVrYO8MlEuYtrsc9jYWiz8p80aBVABe FARA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Z70rwuoF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si115967oij.270.2020.02.20.11.31.19; Thu, 20 Feb 2020 11:31:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Z70rwuoF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728688AbgBTTbI (ORCPT + 99 others); Thu, 20 Feb 2020 14:31:08 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:34236 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728334AbgBTTbI (ORCPT ); Thu, 20 Feb 2020 14:31:08 -0500 Received: by mail-pj1-f65.google.com with SMTP id f2so1428838pjq.1 for ; Thu, 20 Feb 2020 11:31:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sXrvFoJPqvg02BUxIE3UTho5sV5nybX8qyPHpbQqr8E=; b=Z70rwuoFsDifWDdSPas8zJnF+Mg+i8+o1G2DC8mif0hkptJNC5ARTCELec1tul0u6Y yW3yPrYySlq+1gxFpLFMrXTbm/A3s0PUqIIgeJz2ykBzrTW8epYftwgCqTttoU8OK9rU hSdVAXqZQYqWTG83XN557bG6e1C0aHluhJeeM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sXrvFoJPqvg02BUxIE3UTho5sV5nybX8qyPHpbQqr8E=; b=dtCaS32QMuP4X9KOak36oBoIPHaNwJbamJkFI5eiRHEyBYwxAxIMjcPdbz+H7XZkSe os2TvrIo5amSr5da6Lln5I+bzSKXg2A/nkbQTDMo+ZuW14GYYxVid/RgXp1KKP2VdoPx 1gdeLfyZtPzxKo3KQ3Eb3uA0nCRiUcWtvMef25gVqXpUnUO2oJybG8+SxXyuq9iG3gpW vRVGke1xgDBof9k/ZgA1m0M1TTCgaRXXAONvi+RBQz+KSkiZcHObmzSmdtTBlz9moUxG Wh1oegmB4TiQ1aFSATYIS0Vm1PratE4i1CFnruKiMkoM05UlpYYQgt3yDXXjQbpnkDr0 xyjQ== X-Gm-Message-State: APjAAAU5MyjK67MBq7MZ/bEOtwtMZlzm1Dg1jpmPwAaMMZMIhG86xsis QNsWq8FZWwzc12mP1lsLMgcpQQ== X-Received: by 2002:a17:90a:ac0e:: with SMTP id o14mr5557795pjq.11.1582227066988; Thu, 20 Feb 2020 11:31:06 -0800 (PST) Received: from localhost ([2620:15c:202:1:4fff:7a6b:a335:8fde]) by smtp.gmail.com with ESMTPSA id 199sm376209pfu.71.2020.02.20.11.31.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Feb 2020 11:31:06 -0800 (PST) Date: Thu, 20 Feb 2020 11:31:05 -0800 From: Matthias Kaehlcke To: Maulik Shah Cc: swboyd@chromium.org, evgreen@chromium.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, agross@kernel.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org Subject: Re: [PATCH v5 1/7] drivers: qcom: rpmh: fix macro to accept NULL argument Message-ID: <20200220193105.GB24720@google.com> References: <1582108810-21263-1-git-send-email-mkshah@codeaurora.org> <1582108810-21263-2-git-send-email-mkshah@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1582108810-21263-2-git-send-email-mkshah@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maulik, this patch and '[v5,2/7] drivers: qcom: rpmh: remove rpmh_flush export' already landed in the QCOM tree (in the branch 'drivers-for-5.7'): d5e205079c34a drivers: qcom: rpmh: remove rpmh_flush export aff9cc0847a58 drivers: qcom: rpmh: fix macro to accept NULL argument Please rebase your working tree and stop sending these. Thanks Matthias On Wed, Feb 19, 2020 at 04:10:04PM +0530, Maulik Shah wrote: > Device argument matches with dev variable declared in RPMH message. > Compiler reports error when the argument is NULL since the argument > matches the name of the property. Rename dev argument to device to > fix this. > > Signed-off-by: Maulik Shah > Reviewed-by: Stephen Boyd > --- > drivers/soc/qcom/rpmh.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/soc/qcom/rpmh.c b/drivers/soc/qcom/rpmh.c > index 035091f..3a4579d 100644 > --- a/drivers/soc/qcom/rpmh.c > +++ b/drivers/soc/qcom/rpmh.c > @@ -23,7 +23,7 @@ > > #define RPMH_TIMEOUT_MS msecs_to_jiffies(10000) > > -#define DEFINE_RPMH_MSG_ONSTACK(dev, s, q, name) \ > +#define DEFINE_RPMH_MSG_ONSTACK(device, s, q, name) \ > struct rpmh_request name = { \ > .msg = { \ > .state = s, \ > @@ -33,7 +33,7 @@ > }, \ > .cmd = { { 0 } }, \ > .completion = q, \ > - .dev = dev, \ > + .dev = device, \ > .needs_free = false, \ > } > > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation