Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4467643ima; Mon, 4 Feb 2019 17:39:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IaLPbNQxIyqJ9q0tuJ78jRbSqhm22zwJNfZmPRStA3zTm9Y0wWxrm74Tvb4PWXkXkmsNGxl X-Received: by 2002:a63:e21:: with SMTP id d33mr2187224pgl.272.1549330782569; Mon, 04 Feb 2019 17:39:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549330782; cv=none; d=google.com; s=arc-20160816; b=Ktv9FL/mYH56NynyJolDNCLv6LVO3ark5HhB+5FHJBHXXthSZjrPl0ryUfICPPIoB0 UcMgOYM5hGHEcPNP+Vv/bsczBRDfogjKZo6G73JHKI85CpDU3UffgYIv7nZ35Z9CqQ5Z cH1MqIRXQZkImzkFu13VTspoNxUn71knyXFbiEJLTcJ2XzBqSv6M0oQipB4WIIy+oqDH 7qT7uHpgLwkA7SPYbQuPPXTKUnV7wRD3nNAK0gqLxoSjssS8dBx5846dwhrwgWVe+ti9 xGVHB1EDKVZzA5sYEn3TYkIMAaTQr+PpvjsjZplZ5mkd9oRndsx4U6iGMti963znI/G1 aLgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=kccaUqyC1f7inWW8HAtT6id4oQJsFDVmMkJGxxLB7HQ=; b=e0Hk2iObvaXyMq991V5ceHDIfrzEzvbQ0PJPRXcq6sq2PoK+XQ0iFBv4AurY+S3yqU XgK24OuNv9CTOxx5I/d82Ue6nR6mNigPUvic0t94XorOxUeOtty/jCVV7G3Aq3A+LxR4 IK1bcsJsdrXU+lhacDTzFaF4j9Y/tQCDKJoHMnnrKqoAity4Iu93nER2z8nOSw3Zqmot XYVtB/9O27JQP2JxQVYUjt9Lk4OP0PgHFXXoVp/MR9SGm1lTJpJiju9XQ2C0AbFb7CVN MtacoC0sfiMSxHlNSp0jHY8yihBbUOJaQL/Sf1aMNkTpBN0q6jHZlOxfHYciWsFY9fjv Nu9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@lechnology.com header.s=default header.b=v6NA1bUC; 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 133si1478282pgc.588.2019.02.04.17.39.26; Mon, 04 Feb 2019 17:39:42 -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=neutral (body hash did not verify) header.i=@lechnology.com header.s=default header.b=v6NA1bUC; 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 S1728031AbfBEBFi (ORCPT + 99 others); Mon, 4 Feb 2019 20:05:38 -0500 Received: from vern.gendns.com ([98.142.107.122]:38562 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbfBEBFi (ORCPT ); Mon, 4 Feb 2019 20:05:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/TP0/OW1fhgo5zXKi7GkSfHuDDW93wB1hxGRjVY0KLw=; b=v6NA1bUC7Gon3ZgaBkTyP4syea MBlHu1JKvSC1zA8KwN7XTgMClh2nv3Eb4TPb3NV749vCpA6Em8zlcCtAM0HSrur4eQDV8zCQ08myc YUxRKedZ3LTKjJ6R7JGtnUugoTmEtoMnFZh80Bc1sVS7Zv9KmUvzRamNw4UpBekHx4tLs/6jKQItM Za9PEw8sUaseMJ8qpO3ck88dSTxrOIs3dL9/+ZviVduxKz9gWoX0ybzkbYhnduin/2P/qTBuhoV9C ECT9n63KmTbf5H+4hYMiGm9OOmzOd64qQyYRMsz+mNIgkMrbSLYGeoziisiPeDAAOl6sbJS4x52qx 2jD2TxTw==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:32966 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gqp7h-0003ZO-8p; Mon, 04 Feb 2019 20:02:01 -0500 Subject: Re: [PATCH 34/35] ARM: davinci: stop using defines from mach/irqs.h To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20190131133928.17985-1-brgl@bgdev.pl> <20190131133928.17985-35-brgl@bgdev.pl> From: David Lechner Message-ID: Date: Mon, 4 Feb 2019 19:05:35 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190131133928.17985-35-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > As the second step in preparation for mach/irqs.h removal - replace > all constants defined there with the DAVINCI_INTC_IRQ() macro which > takes the NR_IRQS offset into account. > > Signed-off-by: Bartosz Golaszewski > --- Reviewed-by: David Lechner > diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c > index e8dbbb7479ab..b8e5c5998872 100644 > --- a/arch/arm/mach-davinci/devices.c > +++ b/arch/arm/mach-davinci/devices.c ... > @@ -110,7 +110,7 @@ void __init davinci_init_ide(void) > davinci_cfg_reg(DM644X_ATAEN); > davinci_cfg_reg(DM644X_HDIREN); > } else if (cpu_is_davinci_dm646x()) { > - /* IRQ_DM646X_IDE is the same as IRQ_IDE */ > + /* DAVINCI_INTC_IRQ(22) is the same as DAVINCI_INTC_IRQ(22) */ This comment can be dropped. > davinci_cfg_reg(DM646X_ATAEN); > } else { > WARN_ON(1);