Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1497405pxx; Fri, 30 Oct 2020 11:20:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/ueW4mETiBUfkHNk8YfiF30JEsRo7rb8ePexLKTu7Uk5w7D3EM7O0RklblZpniV50i9Sr X-Received: by 2002:a05:6402:6ca:: with SMTP id n10mr3893536edy.314.1604082030553; Fri, 30 Oct 2020 11:20:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604082030; cv=none; d=google.com; s=arc-20160816; b=t74xswkxYbEvdT7+OsxuaUxUq5GRALXvkEJu5mly62ddFkEACOZDB/nENtLUz7fyOL F65ZXWW4J368GTjAe+KzhaP4G2tAnk+d5wikP1INRHewlbeC15IW/vFt8kRqDZ3td04u GtIu6JJ8sM2QLoyWDWw0v2qcF1E/KTA3xOhfIfROX7xiGvIe5TioJFWT6WaaN3t9fNJn LUWid5+uoLIyKVKvQvKl4CKY5cScSsvrN2qCFH2nYeTE6JIgfZM2OST3W6bZfMtcpPVc NM3ddUmESZl3JjzvmoQ1qXPp5oDDyEFb7oS390H/wDB5P8DSCqavrid9TkiqkBMTNi5P OIfw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=POr4JSNxo9Vex3KFhgjAL6YPhe46OQ89C08+ir6XPTs=; b=jsZflL7ZTf9lSpeWrQ0I85IPQQQeygFpAJtDNdQtBeCQBwLYjatMPYeEFqXwZMP7HX A8koOofpQvX3ARZw28DLLvpWc8aUUi39IAroxeESdMGFYlYPQvgbXHusTVG3fs3EXaW3 oFcaaAhd41zo/IQEeSjQTq52D2tIqEbHKUVz6BiVL6g13hMkFcYEe7PWVfzjdRNMg6fG QzA19Df2+shnztcvouJ96p95uCZ0UwbMLx6JRd/I6OE+v7Pruc9CgIe3YIyr18D8Hh/x ouC8FMJj88mFkom4s7yPcSnhtXwfQLiqEpkZpcq5hgWjoXTPkUVBzIdO8CYgUW47VZRc rMMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dTIDxPGP; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu8si6056823edb.95.2020.10.30.11.20.04; Fri, 30 Oct 2020 11:20:30 -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=@linaro.org header.s=google header.b=dTIDxPGP; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726704AbgJ3SSg (ORCPT + 99 others); Fri, 30 Oct 2020 14:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725844AbgJ3SSf (ORCPT ); Fri, 30 Oct 2020 14:18:35 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26BE0C0613D6 for ; Fri, 30 Oct 2020 11:18:35 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id b8so7511493wrn.0 for ; Fri, 30 Oct 2020 11:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=POr4JSNxo9Vex3KFhgjAL6YPhe46OQ89C08+ir6XPTs=; b=dTIDxPGPYckzrbOC6452Z1q6L3MaW1Z9CfWUkssYbkTuuKzC890B9DQnGXkQ7eYX4z u1en4kP44xS3sM/Sgpw6aBzPfKh4+PI/qo9M4VNRqIY1ByMdgt7DuqqF4VXyqEkLLyfF z/OlkU05m48R64suFmuHzsonZet4HZnEru7tKDc4g858Tiq/hW2+1Fzp8jNtMePX23Ki /w42o716i+5AxhmT5iFTFAo+uxQ2sYqjeYRU8rMYdXhAOtNfPmOik3Qc+Om9sR+Vf1op ySXnMFI1sW67thE7M1Q4bUoemFEL/KIT/fgNKzdMso1GUM7oddT9hVN602WGpg1RbCyu d2CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=POr4JSNxo9Vex3KFhgjAL6YPhe46OQ89C08+ir6XPTs=; b=O36vgJKWssg4OffHjDLZYsHNbziZ63MNEPtWVj+2yfr9pt0AyqYkO6HCsC71WZ0Vv+ qk3h0vnDtPnOLsW+idMxKuq4usKawr7UmoEPirIpdxxlJxnpl/w1fQBGOsKkaFnSNWHC Q8lXBg6pvRPtIUZtRH0o88hBOXtlSNH58C18V8JZ626Vy2m7eUxohQYwv5YtgHj6q3D2 DfFUcD+99NG9PBvjHAL3775jmk4R/4OHzR7nA0//1B5fctLcyBQrHcWNSFznczlIluiD Zy4hnvYNcad2STUI2ED/5F7CIuujo8uwy8usXostxRlG3NFcIj5XpWWHPr2it0+/vDFw F29A== X-Gm-Message-State: AOAM533sOSOenpZQnhbBIuu7VtglMSRCU832mfKX3Is0FNPnHRWnJU7V t+5Z1T5/SdYLR53vCY/Eka/HBw== X-Received: by 2002:adf:b7c8:: with SMTP id t8mr4941556wre.143.1604081913792; Fri, 30 Oct 2020 11:18:33 -0700 (PDT) Received: from dell.default ([91.110.221.176]) by smtp.gmail.com with ESMTPSA id q6sm5666782wma.0.2020.10.30.11.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 11:18:32 -0700 (PDT) From: Lee Jones To: daniel.vetter@ffwll.ch, gregkh@linuxfoundation.org, yepeilin.cs@gmail.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , stable@vger.kernel.org, Russell King Subject: [PATCH 1/1] Fonts: font_acorn_8x8: Replace discarded const qualifier Date: Fri, 30 Oct 2020 18:18:22 +0000 Message-Id: <20201030181822.570402-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 09e5b3fd5672 ("Fonts: Support FONT_EXTRA_WORDS macros for built-in fonts") introduced the following error when building rpc_defconfig (only this build appears to be affected): `acorndata_8x8' referenced in section `.text' of arch/arm/boot/compressed/ll_char_wr.o: defined in discarded section `.data' of arch/arm/boot/compressed/font.o `acorndata_8x8' referenced in section `.data.rel.ro' of arch/arm/boot/compressed/font.o: defined in discarded section `.data' of arch/arm/boot/compressed/font.o make[3]: *** [/scratch/linux/arch/arm/boot/compressed/Makefile:191: arch/arm/boot/compressed/vmlinux] Error 1 make[2]: *** [/scratch/linux/arch/arm/boot/Makefile:61: arch/arm/boot/compressed/vmlinux] Error 2 make[1]: *** [/scratch/linux/arch/arm/Makefile:317: zImage] Error 2 The .data section is discarded at link time. Reinstating acorndata_8x8 as const ensures it is still available after linking. Cc: Cc: Russell King Signed-off-by: Lee Jones --- lib/fonts/font_acorn_8x8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fonts/font_acorn_8x8.c b/lib/fonts/font_acorn_8x8.c index 069b3e80c4344..fb395f0d40317 100644 --- a/lib/fonts/font_acorn_8x8.c +++ b/lib/fonts/font_acorn_8x8.c @@ -5,7 +5,7 @@ #define FONTDATAMAX 2048 -static struct font_data acorndata_8x8 = { +static const struct font_data acorndata_8x8 = { { 0, 0, FONTDATAMAX, 0 }, { /* 00 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ^@ */ /* 01 */ 0x7e, 0x81, 0xa5, 0x81, 0xbd, 0x99, 0x81, 0x7e, /* ^A */ -- 2.25.1