Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1681243ybv; Fri, 21 Feb 2020 01:34:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzob3fU6NfyfVShgetHedJw6vgwYDwKozxgUHv6BFngBWP8MkaU6Vpwsi9TiELDMNhieYxX X-Received: by 2002:aca:1704:: with SMTP id j4mr1184312oii.12.1582277686563; Fri, 21 Feb 2020 01:34:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582277686; cv=none; d=google.com; s=arc-20160816; b=UcI2wQtrCOc585L20M59gh/TIRYb05GMu9+OpjZ/ZCxsKibzlIVn12w2O5+2T0CR0r yMN/IXWRMAspI/r3LnqYyY1+Ds/EMPTHbST3g93l1mj7Wb9DFPff7CHtIRyPhNcHbD4K qiD9T95tNVpDi2sQytdkM4OXXnSSmEFU8fVRFzkrlGJNOHik7rdi0ZdyWSsuT271TkSN +EAdoGpgtfx2FJJAQKgrozmDw8GPW09xp/4ardutTCoXinyWyWf8BMwHXFJQRL+3a9ID g1np5amDYKrgEWwnCwM1TJBf8B5aoGzmGd/wJMsTGkVzOGoO+Jg6q/jsUmfIT1s4/B1Z p0rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=YXNMIm4ZOZ9CnParaqb7qbfYy1/tzl8hkD+zHYO7eI0=; b=yLwXRZjA4VsKc3XAo9bc4xZ0/mL0mXUuuY1Hf4Sz16ky2PRLXTn4ovmZQHboESHgEI lsKRzHUv8+WybnUx75HAc5hkSOe4YVyRhWmIl4P3C/sNJ6ooUQaUm3c6hPnEac/GCsb/ WNI5FTP26w6RcWkteDFJsgVSkR2w/HHHD4Gm0SZykuWOKVDT40Ir1ux+U80qKMVZFGki hIWBeWFOImeF+TZdIY0Ps1At6OOB7tiS73755PMY3Kf/dAQKUvdhY5REzmXSFXIv8Mzu Hp/Df1PogT4sVHpw0e20xPTDrP+bJwn3URiHM1lfB066k1cX88gIyRIHsgudUgtTtR2k E+ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=P6O8skGY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si1243384otc.272.2020.02.21.01.34.34; Fri, 21 Feb 2020 01:34:46 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=P6O8skGY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728126AbgBUJdH (ORCPT + 99 others); Fri, 21 Feb 2020 04:33:07 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:22165 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727036AbgBUJdG (ORCPT ); Fri, 21 Feb 2020 04:33:06 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1582277586; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=YXNMIm4ZOZ9CnParaqb7qbfYy1/tzl8hkD+zHYO7eI0=; b=P6O8skGYkSnPko1d+kB4gyRIWATHQAU0HaQUDRRxiZHNN+7q1viktDxHbE2PyC2i2vjPfWeH ZH8FG/IN4fYbZoq3IZS/XaQmpklPYEDlnIcbe7XkxuGUtR1vq0Ia9XbbyrOV8Akfa2c0mw1k 7ZBNrz4Km/kTFNw7TMzBmBVrdLg= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e4fa3c9.7fe23163c768-smtp-out-n02; Fri, 21 Feb 2020 09:32:57 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D0C29C433A2; Fri, 21 Feb 2020 09:32:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.206.13.37] (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7D745C43383; Fri, 21 Feb 2020 09:32:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7D745C43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=mkshah@codeaurora.org Subject: Re: [PATCH v5 1/7] drivers: qcom: rpmh: fix macro to accept NULL argument To: Matthias Kaehlcke 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 References: <1582108810-21263-1-git-send-email-mkshah@codeaurora.org> <1582108810-21263-2-git-send-email-mkshah@codeaurora.org> <20200220193105.GB24720@google.com> From: Maulik Shah Message-ID: Date: Fri, 21 Feb 2020 15:02:50 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200220193105.GB24720@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/21/2020 1:01 AM, Matthias Kaehlcke wrote: > 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 Hi Matthias Rebased and updated in v6. Thanks, Maulik > > 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 -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation