Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1118762ybl; Wed, 14 Aug 2019 11:01:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQdIk5nIAqNWpqv45Wh/BK2c7EggTCVbnUFZusfL4RCzdUPDru35yTVErKs6ZPmPuw34ek X-Received: by 2002:aa7:82da:: with SMTP id f26mr1246077pfn.82.1565805710570; Wed, 14 Aug 2019 11:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565805710; cv=none; d=google.com; s=arc-20160816; b=o3nPYSbisdSvn0bs6ugzOautqf/KydW97eWm5okHkkP6L74OB8X07/5WDJDPg00Hl8 zug627U6moyftJg3pyP0X1WXeiBNCEUqLSFLT17IY6QFlWndAhyKFhmapa16DhXTJ9ON BKl0eOUCBUg7fPbbDf6PVqUYkhSMAxRcqrjMkGYlLKoYJg6D8eAxMby9QE7l0ph2FJDT 1dx1ZESxOat3anUUSW5x/tqw3lOnAh20Wss2XGrL9T2EhwYcI5VkWhokGHAYZL+mcIRz S8iTQUK7TVr5LM/Vam+b7ab2c7CxJtfxGBu+VX9gETaCNTbyctSK6POnEvPajxZeaOZf MThQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=kF2rSGg7TWdsph3+jKGWM5Z90AAtcPpo25Mf5csWFrU=; b=a4gci7ZSsNrbKATkHxbJsEUhrqclMCKjnDhO4I31NFItUDIQ9gR0JjdfLDolXMg18e M9wJCdZOLlOE1HW48UVhLruu2yK9+gwiEb/66jqCEbcf9Z3dmFLFvH2igQ3W4GVxB7jn UaFijKAGSTkBhV1pJBhzSfvL+AxKtg7NNUPHD5s/MMoWZ/Dez/IjYKBMITJqoKC65d8C oIkKDJBH013sld8HiYlbVucw7LUQ5JEALRyDKbZpKcV8HesYxfGe7DBI8AqfsLcnLRnP Rz2Lz3QTH2RxM0grjviPQEx/A2gXUI9JZtTJP9a9EbvACDTT5ckn7x0GRE4nQhL8VYEC Dm0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Zc/RhUNa"; 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 q13si307786plr.158.2019.08.14.11.01.34; Wed, 14 Aug 2019 11:01:50 -0700 (PDT) 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="Zc/RhUNa"; 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 S1728562AbfHNR7p (ORCPT + 99 others); Wed, 14 Aug 2019 13:59:45 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:35513 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728301AbfHNR7p (ORCPT ); Wed, 14 Aug 2019 13:59:45 -0400 Received: by mail-pg1-f196.google.com with SMTP id n4so11732825pgv.2 for ; Wed, 14 Aug 2019 10:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:subject:from:cc:to:user-agent:date; bh=kF2rSGg7TWdsph3+jKGWM5Z90AAtcPpo25Mf5csWFrU=; b=Zc/RhUNaKUH6TKfhRZWBo6OBqnN6wsyVNMAXjBgiNUtQxZoaGMZ+qifnZYFCHOtQNq 93B6SETP1TqUWc7SCQ5mY3c3gtiWJs3r/RoBFb0OerUawl9ihfJgTVV4pxnTZyN7Uy7w 41upxhquofjg2gVE6AG70o1y8XyTA+QyHCgLQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:subject:from:cc:to :user-agent:date; bh=kF2rSGg7TWdsph3+jKGWM5Z90AAtcPpo25Mf5csWFrU=; b=XRlyIS9JSBMUrXJOelXSv9pPFBCbIU7jc14L4z6xI0pjVAJuaJaVZA2lo1b6Mo1JyB W9Zx23qKxWIe29Q9zo3M9r9HOMlPzCfz9mEn3NjRfYa2RLCrNMIqDgeS3McdF9soRmC2 akVTD6m0gVw4Ps07LYNuNDX1P9n/pkqOE/MbEfY8OXzMP5CL6i1fygYfOkLVwwfl7kyH k4y0upV08Bl79asd02qDoPmJUjtb+gInrk5PGnTs2L/5fbRu3OzCIpKGa7qsLBhOZqDf hikzikBcLUJDDP5YXiDiGzZoT6+G/sxisLeG1f5MNwqeU/pbpjscIYlPOnb2G0viCX2I HU3A== X-Gm-Message-State: APjAAAUMXEBNU7BKe9+op6XYbhCvnBUGalXRwzhv8EnNLh/i8pofNsra 5bjt8Tf5nDktqbOgdRjIbiPNXNhQz7TlkA== X-Received: by 2002:a17:90a:7d09:: with SMTP id g9mr903391pjl.38.1565805584194; Wed, 14 Aug 2019 10:59:44 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id f72sm486217pjg.10.2019.08.14.10.59.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 14 Aug 2019 10:59:43 -0700 (PDT) Message-ID: <5d544c0f.1c69fb81.a78d3.1381@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190813082442.25796-2-mkshah@codeaurora.org> References: <20190813082442.25796-1-mkshah@codeaurora.org> <20190813082442.25796-2-mkshah@codeaurora.org> Subject: Re: [PATCH 1/4] drivers: qcom: rpmh: fix macro to accept NULL argument From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, bjorn.andersson@linaro.org, evgreen@chromium.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, ulf.hansson@linaro.org, Maulik Shah To: Maulik Shah , agross@kernel.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org User-Agent: alot/0.8.1 Date: Wed, 14 Aug 2019 10:59:42 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Maulik Shah (2019-08-13 01:24:39) > 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. >=20 > Signed-off-by: Maulik Shah > --- Maybe this should have a Fixes tag? And the subject could be something like "avoid shadowing local variables in macro"? Reviewed-by: Stephen Boyd