Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3922547pxb; Mon, 4 Oct 2021 12:43:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEtG1h+OM6Vw5dvoG2TGtxLF+vmU9Ww45qeBe0xa+V47MGGA1DhrG1s2jGWjnderywX7JX X-Received: by 2002:a17:906:1fc1:: with SMTP id e1mr19207831ejt.515.1633376611556; Mon, 04 Oct 2021 12:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633376611; cv=none; d=google.com; s=arc-20160816; b=PEHKJy3cps3J/XFIioQHYLgoDdBctV183U+ow6EbNo/RZ0OGJ+5GXWjAH6wPKG1MpW K+vON7Wpcf9aUxZwTbdlruqYgiIJiSd2nS06LHs2Q5M5sfT+7bMNxdVI2N+aFV0LPs/v yKvJjHkhHLq0Qig2/uayFfD+jhWiVNBc64nhE3kidIWkcPlYmobzWglW7XFPStxE1ShF ZUu7ZmVZQpLt61hIoDAyllX1/g6BYdyIcsRD0MIBWIJIb+LvIjXT/mL0wvbBUWPv1N6T Keh1Nk7ip2OIJnuooOsxN27xmpaChmtDuMs2QfiWIDgWa0GpemoWBTfoNRi86Y1/ONeV F1iA== 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=Ur3up0lt2EvMJOgh5sTnhtr3LI8QPXadmNJEovi6fic=; b=h2KxKz8kRMyAyaatEHGRVa9xjUw2nWoL80C5akQrx1/VeqbBcO5KPnPv6G5xrP5pp1 vOx8LyygemO8jpZ3htaO8J4SztdE8RETLIaXY0IYrvrimn4S9Sc4yjnBczKUiYTtWelp UiodCxIZYrrplBPIpZICiRaGu3eRsCUMW9zI9O7rlrrmDAcBrrOWZ5X4LHjosFDP4VGW veEbOOFzjjRZmD4257PgMYTIdDGZlgpzybHG7HwwCq3rjyEDBV/AF0touAUdxwb9/93q AZldKpOhy+zlTxq5+sO0ILHU+9QJKP3NkxMFiJqBqMBCdAofLlWT/kRFebJjTOfxB0d7 akJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nhnCThdF; 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 ds17si29984223ejc.213.2021.10.04.12.43.05; Mon, 04 Oct 2021 12:43:31 -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=nhnCThdF; 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 S234675AbhJDNET (ORCPT + 99 others); Mon, 4 Oct 2021 09:04:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:32900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234115AbhJDNCx (ORCPT ); Mon, 4 Oct 2021 09:02:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 72DD96140A; Mon, 4 Oct 2021 12:59:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633352366; bh=Ph40bzWZ+VYDS03XR1nO7k7kHctxU69Bi/ZMKB5DkMw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nhnCThdFQj5VpyhnRhj8O/D9dUdtQikiv36IpDF47y02I4eKVCYukdFdckMiXz2hU rHOpI+1UHtg3WO+gzmOg0LZoXYGjoqh0LozY3fKFgUiy2Oq6+sIhvKoKjcbW6//Faz 9pqLrzIUYDy5tMB6dabA62sQ3XykmaNL0h//zMeU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller , Linus Torvalds , Sasha Levin , Guenter Roeck Subject: [PATCH 4.14 32/75] parisc: Use absolute_pointer() to define PAGE0 Date: Mon, 4 Oct 2021 14:52:07 +0200 Message-Id: <20211004125032.594286145@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211004125031.530773667@linuxfoundation.org> References: <20211004125031.530773667@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: Helge Deller [ Upstream commit 90cc7bed1ed19f869ae7221a6b41887fe762a6a3 ] Use absolute_pointer() wrapper for PAGE0 to avoid this compiler warning: arch/parisc/kernel/setup.c: In function 'start_parisc': error: '__builtin_memcmp_eq' specified bound 8 exceeds source size 0 Signed-off-by: Helge Deller Co-Developed-by: Guenter Roeck Suggested-by: Linus Torvalds Signed-off-by: Sasha Levin --- arch/parisc/include/asm/page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/parisc/include/asm/page.h b/arch/parisc/include/asm/page.h index af00fe9bf846..c631a8fd856a 100644 --- a/arch/parisc/include/asm/page.h +++ b/arch/parisc/include/asm/page.h @@ -179,7 +179,7 @@ extern int npmem_ranges; #include #include -#define PAGE0 ((struct zeropage *)__PAGE_OFFSET) +#define PAGE0 ((struct zeropage *)absolute_pointer(__PAGE_OFFSET)) /* DEFINITION OF THE ZERO-PAGE (PAG0) */ /* based on work by Jason Eckhardt (jason@equator.com) */ -- 2.33.0