Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp192210rwb; Thu, 6 Oct 2022 16:55:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7UJoSceOUsTssjvCgI5+nrKXjgrYGfXhvpOgmhg/tvlKKsEkPGW9l4Yl3PMA7NtGZPk13E X-Received: by 2002:a05:6402:1e92:b0:451:dcf:641d with SMTP id f18-20020a0564021e9200b004510dcf641dmr2098571edf.335.1665100525930; Thu, 06 Oct 2022 16:55:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665100525; cv=none; d=google.com; s=arc-20160816; b=uO+13nYHWP7vx1Iqf6laYoNwr+iBSGEst537X5T6YnaRNVyveeQvq3Xv0SvZslb985 3HXqksMaQTbnzpUKs72yIsSVm3+5E1YYMUT2uoVE1WEkK//Y9M/K7b0jtbBc9J6scVUn 0S4rEO0F/nzBttwVv9NCaFOkTKHyTMHQkxxRE3dzdMFc5c/9r+CWEH0OgNSAvCQ9cTdb 2b7eNEpgdZpf5yl4+PNmg15VKyyeEizBltS9BDHPhaEf7pqxzyuaK/tpIgiQoLgvGYVF u71k834WCPKL+3O3TyXgWnggBEK6IIcS+RpK94x+ZN4X5GmNLSWoW2GlnA/SaK95+CGq n43g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fyTNkQo2umov1vOiOrWjKRPdNwFQ2sA+uyQXpivio3w=; b=HKXrgVWDYk4dzd5fAiDRbanPCpFY5moJEvPhRrIOA/kXSjUU0EQ+ugofRnfs0V8HIv 33kO4vq9EdJopAQtr/7sXvdnLL6dc7uPL7ZU4Byq9jY4fYhUsmZP/jOIUjJWcvHOA9Et 7dOcalHvk2olJskRMKq5DhsRAHOBdcCggvCw5J6Hpef12lvGZoUUgFfIq20MVz3Hc0TG 8iskNhyOrOdqkM3k4ZOtuEFLfEbcvatyVll0enwJt3RyAM8jhjqq2eifEt7cME0e1VJd /eccpCGHHZzNv8v55MjpNo+bVLG8uDjR8NZzrsAThhzhtCzRdK6D/pDLKKOM1AgaYc9t u3ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=qgqa9fPe; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a170906a40200b0072b1964e54esi578652ejz.1007.2022.10.06.16.54.32; Thu, 06 Oct 2022 16:55:25 -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=fail header.i=@igalia.com header.s=20170329 header.b=qgqa9fPe; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232355AbiJFWoy (ORCPT + 99 others); Thu, 6 Oct 2022 18:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232357AbiJFWou (ORCPT ); Thu, 6 Oct 2022 18:44:50 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB231AE4C; Thu, 6 Oct 2022 15:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: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=fyTNkQo2umov1vOiOrWjKRPdNwFQ2sA+uyQXpivio3w=; b=qgqa9fPeQyI/PxxJrVajIRmbKM lN90Nsf7BVEGPmgyeE2vPm2u5lpq1kU1HXKS4LQP7lnuc6cJHNS691w9FQnpsuzFEJ1WevfEckY80 XEEIzxx8zeHyw0qFB/7qD8f3WacwPEVbc5cqpiLkluyHiFT1MMyWKcfmgDmG5iwI/0rbw27HB2edj 3OmLRSlNaTd/4wblcYOZga7dixjV8BPUJ9saFnoRCnTHdWm0EBT3unTk/+GMJnUApol0sUJKHIy9F LVucn2/hKXN/D3bh2lPsAAT8aNZ9YBQlMZxijxMH0I2QUfPUIcMIO9aDyt0ucvmMke8+PYm34N3fd QmxFaing==; Received: from 201-43-120-40.dsl.telesp.net.br ([201.43.120.40] helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1ogZbh-00C4R4-PY; Fri, 07 Oct 2022 00:44:46 +0200 From: "Guilherme G. Piccoli" To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Cc: kernel-dev@igalia.com, kernel@gpiccoli.net, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com, "Guilherme G. Piccoli" , linux-efi@vger.kernel.org, Ard Biesheuvel Subject: [PATCH 7/8] efi: pstore: Follow convention for the efi-pstore backend name Date: Thu, 6 Oct 2022 19:42:11 -0300 Message-Id: <20221006224212.569555-8-gpiccoli@igalia.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221006224212.569555-1-gpiccoli@igalia.com> References: <20221006224212.569555-1-gpiccoli@igalia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 For some reason, the efi-pstore backend name (exposed through the pstore infrastructure) is hardcoded as "efi", whereas all the other backends follow a kind of convention in using the module name. Let's do it here as well, to make user's life easier (they might use this info for unloading the module backend, for example). Cc: Ard Biesheuvel Signed-off-by: Guilherme G. Piccoli --- drivers/firmware/efi/efi-pstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/efi-pstore.c b/drivers/firmware/efi/efi-pstore.c index 3bddc152fcd4..97a9e84840a0 100644 --- a/drivers/firmware/efi/efi-pstore.c +++ b/drivers/firmware/efi/efi-pstore.c @@ -207,7 +207,7 @@ static int efi_pstore_erase(struct pstore_record *record) static struct pstore_info efi_pstore_info = { .owner = THIS_MODULE, - .name = "efi", + .name = KBUILD_MODNAME, .flags = PSTORE_FLAGS_DMESG, .open = efi_pstore_open, .close = efi_pstore_close, -- 2.38.0