Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1827735rwo; Wed, 2 Aug 2023 23:37:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlFQzTQpM5x7CtYSXx4xE6JBFC8JMInjgqialh8gOBY1l9DEO934E6A1LJpaPctRXw7E3uYG X-Received: by 2002:a17:906:32c3:b0:992:b3a3:81f9 with SMTP id k3-20020a17090632c300b00992b3a381f9mr6578064ejk.71.1691044678045; Wed, 02 Aug 2023 23:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691044678; cv=none; d=google.com; s=arc-20160816; b=L5QBShzetFtTj+sEFzku+ryLbWNZQRG+FgPDjAqmTqli4ch4WsMijt3nzawrB3BbLO hDgG9Sf9QiBkd2q6Cy5nte5AWWIrFZPS5kGHXbfVr3CeJj36dh05Ff2RAfzTAJ8DIMwA Zh7/b1xdiQbwGbLVafpKA8izVb32ao5rikQJXGuWFkZz4Ffg1Opt2kufCQH/bydX4LUy cy6KE93iMIbZHKbEuVxEGZRU8hOAmqSUa0tFuBBRA4UwWojcxwzkMYvV6AcZFSVkJPVl gy79Vzib/hiFOhjMjRjwt0Cz/YqSJKeqm2Jc0Oe7iEsTQv0MRzCVgaHXDy0JS4KxR2cb wk4A== 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=PM7XzKF8tTQM5VWkE5Nb5Ap5SOD0k4nFUfl69Y7xtZo=; fh=M9ufmEVolQsOyceX2ftquheLxkr87S291NpldfpXre8=; b=ZnCBNvZUBCO9FeYO/U/tILZx368dWrBeoXzaSyTit6Z8wnMONpVyqabGbiApiwqR3h DppNARs2M4rW9Goili+jYRRqTeClEuHYkDPy34WXnZmisvFkvdrh37shwWvPNz42gzaX rmQWvGjMm498zvBWNzeM8pJqbLtiqqObK9xBSbzsQThq3WkpCtyB0UYSwvPkLtOTIZYO dLqHnYtePVefNKD9M+Pd9DvMSE+lvlJ0605IWOtQTDy9hQOVZdre2adUe4rt8XO7ras+ QjxqrLvIbiqAZuJioKJBgKr4bOqDua4reNvnLb/zplAnhKdc4P0uBMXD1jhf4bD6MnRW QOBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J9jsMy5O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lu22-20020a170906fad600b0099bd4572594si8521985ejb.563.2023.08.02.23.37.32; Wed, 02 Aug 2023 23:37:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J9jsMy5O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231972AbjHCFsd (ORCPT + 99 others); Thu, 3 Aug 2023 01:48:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbjHCFsb (ORCPT ); Thu, 3 Aug 2023 01:48:31 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D6A82D43; Wed, 2 Aug 2023 22:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691041710; x=1722577710; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fuHR5vlg0Pj/rQJGG+2yi4N34sEiicrfjR7PExpvW5w=; b=J9jsMy5OLyztTj41clc5neL0vtASw1NM5UePWSe6785DAMQJWyHuLbEb wTKp0YTVH0/nXdAMpdsPo+jum6nWvn1YgcwQz8FdCph8F1OfLwKHVofZn mquKS6QQPuKJZtXkg6EWBd3peXBnW6WTb75/PUquHFVyfH3gd0oHXIm6b sypy9EYzdj5eZD+lhjSXA4hdiJ3eK6oFPDD4NzYfHYsDJdlEQ3HesFvbz TVJZOpAw+eiGjz8gaJKZYACyHEO0PEMzHqrzGbngesu1UJzEcEXnJ+kYw xerAo6G9zeQ5SjbYFUFdYndtLuZI3glNn6wRLKxzxrQVUZ/jfwhKBfQB+ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="372510831" X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="scan'208";a="372510831" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 22:48:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="732629455" X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="scan'208";a="732629455" Received: from xiao-desktop.sh.intel.com ([10.239.46.158]) by fmsmga007.fm.intel.com with ESMTP; 02 Aug 2023 22:48:25 -0700 From: Xiao Wang To: ardb@kernel.org Cc: linux-riscv@lists.infradead.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Xiao Wang , stable@vger.kernel.org Subject: [PATCH] efi/riscv: libstub: Fix comment about absolute relocation Date: Thu, 3 Aug 2023 13:56:11 +0800 Message-Id: <20230803055611.2343011-1-xiao.w.wang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We don't want absolute symbols references in the stub, so fix the double negation in the comment. Fixes: d7071743db31 ("RISC-V: Add EFI stub support.") Cc: stable@vger.kernel.org Signed-off-by: Xiao Wang --- drivers/firmware/efi/libstub/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile index b0f8c495c10f..ed6e8ebd89b4 100644 --- a/drivers/firmware/efi/libstub/Makefile +++ b/drivers/firmware/efi/libstub/Makefile @@ -146,7 +146,7 @@ STUBCOPY_RELOC-$(CONFIG_ARM64) := R_AARCH64_ABS # For RISC-V, we don't need anything special other than arm64. Keep all the # symbols in .init section and make sure that no absolute symbols references -# doesn't exist. +# exist. STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \ --prefix-symbols=__efistub_ STUBCOPY_RELOC-$(CONFIG_RISCV) := R_RISCV_HI20 -- 2.25.1