Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2320099pxb; Mon, 20 Sep 2021 18:43:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbdtAwuaAYbQar/RaZ4FF2OVeIvqanSmhVtz+oiCSUtgZxQbxNdloco+N1toJdKmqT9RMf X-Received: by 2002:a92:ca84:: with SMTP id t4mr19342871ilo.41.1632188621436; Mon, 20 Sep 2021 18:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632188621; cv=none; d=google.com; s=arc-20160816; b=YU/a5Wde6r2IwmMhFk5vyJ/ZJfY74yK/Q/aarmBHloq4ZkxUyYmKcyp4HCw1PM/pNo QYkhlJEZgEn4drBfTPdi4Ik6Uy4neVSgkH12Gg7IOaBehv0jlrgLshQGD7ShGTHS7Fd1 0dQwhJutLCG4v4NjyfTZI1fBGYEB5w27v8HhkrLwtK5WCnqBtQ4o7fivf+Xh5s/OO0fl 0JujuwTBihac5qZDY156PHeEHOQF7kGMmUZnhR3xD6FZ/BOzL0Tzd66L0ivaGUNk5t9y RyxTn30lE9myi3jngL/bBtw0vc+eSzHYD7tX3zl79U6C9f2eOI4cNf4vR1H/WB9KFa3F fDYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3mxnND3cghNT3qV3SVxq3Z54hX26K1EJXCTKQfOXAFw=; b=csHggKymT1Yqgui27Xd0MhXZSaAnxV55RMEMHw3f6PPRhvHRcxwxq96DtSYznppqCB yblDAXQcr+Gs9UdmjbRokjyK0gw80SP0EBNy16EW59E6TM+3hDDNa1f5e77R2WTK1sGx a2B9dwG99p+6kGCKbtxbN4dJ+tYjfmQUzgvrxpYFRH/YVZg7KJVdYt4//7ccQebvI2jb 4cXvNc95rCsuRZcnsU9WjGqd9dQbuShvx9C6cjNElnKkBQ/Rgnw2JVe4mM4CP5OUADLy CB97sCIC0Bxq+Ml6ZRi3x0jJBLVKvDacfuYRrzlaHGnNUQiyMS9xscqmlHQOpExVdFJ5 k5ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KlIFUYNO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e43si4311081jaf.97.2021.09.20.18.43.30; Mon, 20 Sep 2021 18:43:41 -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=@linuxfoundation.org header.s=korg header.b=KlIFUYNO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237065AbhITQzo (ORCPT + 99 others); Mon, 20 Sep 2021 12:55:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:39624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243494AbhITQvu (ORCPT ); Mon, 20 Sep 2021 12:51:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 89F5061268; Mon, 20 Sep 2021 16:49:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632156574; bh=vn5V48WHea7ZI1gUMJLNHFexHBmcof4BOoIcF9NdWyE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KlIFUYNOawbFkRhlpUzWDP7enJQWr0CCTb5DI+JR88IjlCK/tgPIzxwcDdayBEZoU DUCI6fFuGzuEnX9fa4pO+HWRS2uRnmnhJkVsPb0+cTX39DXYDm9Rb/RbycNNnbc7k0 iOYCmwraT6T9PW0T7RF1vnJUOQMt871rwyHI7jK8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Geert Uytterhoeven , Richard Cochran , John Stultz , Heiner Kallweit , Russell King , Andrew Lunn , Jakub Kicinski Subject: [PATCH 4.4 120/133] ptp: dp83640: dont define PAGE0 Date: Mon, 20 Sep 2021 18:43:18 +0200 Message-Id: <20210920163916.546337866@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163912.603434365@linuxfoundation.org> References: <20210920163912.603434365@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap commit 7366c23ff492ad260776a3ee1aaabba9fc773a8b upstream. Building dp83640.c on arch/parisc/ produces a build warning for PAGE0 being redefined. Since the macro is not used in the dp83640 driver, just make it a comment for documentation purposes. In file included from ../drivers/net/phy/dp83640.c:23: ../drivers/net/phy/dp83640_reg.h:8: warning: "PAGE0" redefined 8 | #define PAGE0 0x0000 from ../drivers/net/phy/dp83640.c:11: ../arch/parisc/include/asm/page.h:187: note: this is the location of the previous definition 187 | #define PAGE0 ((struct zeropage *)__PAGE_OFFSET) Fixes: cb646e2b02b2 ("ptp: Added a clock driver for the National Semiconductor PHYTER.") Signed-off-by: Randy Dunlap Reported-by: Geert Uytterhoeven Cc: Richard Cochran Cc: John Stultz Cc: Heiner Kallweit Cc: Russell King Reviewed-by: Andrew Lunn Link: https://lore.kernel.org/r/20210913220605.19682-1-rdunlap@infradead.org Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/phy/dp83640_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/phy/dp83640_reg.h +++ b/drivers/net/phy/dp83640_reg.h @@ -4,7 +4,7 @@ #ifndef HAVE_DP83640_REGISTERS #define HAVE_DP83640_REGISTERS -#define PAGE0 0x0000 +/* #define PAGE0 0x0000 */ #define PHYCR2 0x001c /* PHY Control Register 2 */ #define PAGE4 0x0004