Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1381629rdh; Mon, 25 Sep 2023 10:57:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUbiCvzo6zSUZNqq0FwiYzubfrSiKnts7TvzTnqjHqdPyzRoX7/dsuNsZeQYQiQWkvZ4aG X-Received: by 2002:a17:902:d2ce:b0:1c3:8dbe:aecb with SMTP id n14-20020a170902d2ce00b001c38dbeaecbmr9467764plc.2.1695664675645; Mon, 25 Sep 2023 10:57:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695664675; cv=none; d=google.com; s=arc-20160816; b=ZFvM+AeOCHy/94SJCckI1StgAV0WoxaC8RRurTrHmwaQvKLzQeORCvAOvafYH+C71W xEYDN7YCKtFspmnlU1/p4iaZYK2GoaIYYLGLh92EjZdLubjIbdxGEt6C/OAaENuQDWUu iHevEAN/7uJZEOyh3AAZmqCxdFxVqpZjjz8aNCTfwbhvZLxbD3i6N6/AHYmoxc4RyDFh 4A7/9/6B/Uy+SgsL15UwHxpivYwcPm1ol/kInPNL29tMrsDRnovT/fQIAT89OOBwPlNs DagKkggUYVMUHqz5ygA5ZEziC1tIstKSYu2NLd8J/0DYDx/uMh2GwvGT35d8T8+6bkb/ 1ogA== 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=lej3Br+ecxQoR2slafI4nlOW/sl45XZPMG9U846SETA=; fh=vc6OB1SkNHxEb7N5xKl3CmJvvzrlr0dfWHktb27oMBo=; b=RvXUBfVpBsvv0b/hzcaMUfn1H/W+jKqsK5ZDA4zmuVxLOiogo1ZPFNr9x6wVCVJJZn u0+cr0yAcXI1U0qCCCvs5EdiN3taltJ4VpNDXd0A7P731h5/KJosIVE/v19obZPLK+LW 414xZlUfdjLbw/E3VNrzvVcIKaHP4BmlnkjVn2k6aG7WhNh7oglXTLy5HwLpSr2U4JmE ir+Zyr+aV9rZxkvrKfYqTrHFrP+5ZXiUS3Y7lUTm0p8TCCLM7O6RNmouawPZZ/FZZYYw 9+E8L9RkvBEd47Opk6fpWsw15CHZ8qc18i7IymZKFb8F6n8BVwCEK0UhSvF7WFX6mwcl QBhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PPliPTRY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id im22-20020a170902bb1600b001c5ff477ebcsi5377140plb.265.2023.09.25.10.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 10:57:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PPliPTRY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 984EF82DFD08; Mon, 25 Sep 2023 07:50:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232521AbjIYOuB (ORCPT + 99 others); Mon, 25 Sep 2023 10:50:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232536AbjIYOt5 (ORCPT ); Mon, 25 Sep 2023 10:49:57 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87E9B180; Mon, 25 Sep 2023 07:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695653391; x=1727189391; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=84m75FsmmCxHAs5Vy3y5UlBCIG1MzYs7Y5oMZFaEZNo=; b=PPliPTRYiWutXQRnH+SS2qS0dz3S0dZF04BfpK+qpTXcK778PhJuiUxN /+cWRoELWJdKYvtiT0Gy1NhmOyO1yJyMbjh0drpewkWM+/uo6d0jxmU2Q WwBWB3f48NWweQ1j0xx9/UuTCgEd2SnmolDr6S5xzzralceNHSzmwtuIi dYapuildU1x1FwLvG6cf4AbKMWgnPivaVBKuh4I02QpIBAtFcAJkKcKus b+WoRcavklTnjeMoDXW3dHWboqiLQ3d/6nyVhe3RCkACXpx6J4/Ws41sR 7nzjl6GVXIP1qfB6m6Ig84evbZ2eqoiIqVsIADZBYnNCBu98SpSltzzGZ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="378548124" X-IronPort-AV: E=Sophos;i="6.03,175,1694761200"; d="scan'208";a="378548124" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 07:49:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="995409563" X-IronPort-AV: E=Sophos;i="6.03,175,1694761200"; d="scan'208";a="995409563" Received: from powerlab.fi.intel.com ([10.237.71.25]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 07:49:41 -0700 From: Michal Wilczynski To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev Cc: rafael.j.wysocki@intel.com, andriy.shevchenko@intel.com, lenb@kernel.org, dan.j.williams@intel.com, vishal.l.verma@intel.com, ira.weiny@intel.com, rui.zhang@intel.com, Michal Wilczynski , Andy Shevchenko Subject: [PATCH v1 9/9] ACPI: NFIT: Don't use KBUILD_MODNAME for driver name Date: Mon, 25 Sep 2023 17:48:42 +0300 Message-ID: <20230925144842.586829-10-michal.wilczynski@intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230925144842.586829-1-michal.wilczynski@intel.com> References: <20230925144842.586829-1-michal.wilczynski@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 25 Sep 2023 07:50:00 -0700 (PDT) Driver name is part of the ABI, so it should be hard-coded, as ABI should be always kept backward compatible. Prevent ABI from changing accidentally in case KBUILD_MODNAME change. Suggested-by: Andy Shevchenko Signed-off-by: Michal Wilczynski --- drivers/acpi/nfit/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index f09530d2520a..987eb5567036 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -3478,7 +3478,7 @@ MODULE_DEVICE_TABLE(acpi, acpi_nfit_ids); static struct platform_driver acpi_nfit_driver = { .probe = acpi_nfit_probe, .driver = { - .name = KBUILD_MODNAME, + .name = "nfit", .acpi_match_table = acpi_nfit_ids, }, }; -- 2.41.0