Message ID | 20230816073019.1446155-2-mripard@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp593214vqi; Thu, 17 Aug 2023 03:17:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJDIHpnULCSPIE9p+ioYG/jteqNmyE5S7eBvUE24xMXy3uM6Fppri+2b9kxw53dO3SBbdu X-Received: by 2002:a17:90a:8992:b0:26b:3f10:820f with SMTP id v18-20020a17090a899200b0026b3f10820fmr3545057pjn.36.1692267455908; Thu, 17 Aug 2023 03:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692267455; cv=none; d=google.com; s=arc-20160816; b=kGQqFl0cJcEXLXB8ICJxZFGbpVYI553YeicCebntyKsoxwHmdVSl9sIj3+ZRKpCuwI NPCWAWqXlxxHu8tFI9iqQThyx36O+6Xy7dq1jbwTe0Nk2xa8DkYW+spRrtG/mzaWQiVk IuvXCMR0kTS36zXfke5tq1RFN+U6NumJl95JvHK5zsxS/7fNHddy5huzqb7edQd1/bAX o4WFSwpEcz9GAYv4GXEqvXvvAc3MS/2RZhuajjTE0A8x/j4GHJdXTTEJdxL/cPzzJFs3 1oW1+8BdRoM/MjHkKbe+Gz4nAHv1FWvRbh32FXZd419Q5E4bA8EoyqcsO+7L/4GWN3u8 NVuA== 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=LYqgqg5KvgBw9gWMWNCJGj/FrtREROzRZwrVaO85B/A=; fh=c+H3IE1lmVX3ID0iyHLFGEVZK7B1+Kh8gLold6pvv7A=; b=mYTIOJH/wvrCjYwgghj31QDFBnF8LS9Ea8DwizSm+HytwVkYmks2iBFTo0xHbvbvzs IgBG6mA3eO477SGl+OEQsG9DUQncDaWSKwKpEWcxDQv4KdOqHPJ/vERlvI2pMwpUk/Oy ZJs0O+XwftKdT9BdVOo4mHZlIgiAKlmctnzUVmZoaFL6cYtP1W0PYV7+RUlY5tJF8bBU tXdU6x9G5Tt56+LBWauyhGXiJ1zel+G/XANxrFUiaz/NQjBNYvgS0EVnwU4k1EEJAckj hF+73YC3/QEwUvK/6yKlLmT8KTJ+3JbLKY3b8w++PJ4lXuVOTck82X4W3cpenxieCDM+ /kaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NWK2UZrz; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id br7-20020a17090b0f0700b0026b392b4e68si1251920pjb.12.2023.08.17.03.17.23; Thu, 17 Aug 2023 03:17:35 -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=@kernel.org header.s=k20201202 header.b=NWK2UZrz; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242433AbjHPHbA (ORCPT <rfc822;somadevkernel@gmail.com> + 99 others); Wed, 16 Aug 2023 03:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242431AbjHPHac (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Aug 2023 03:30:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0749210D for <linux-kernel@vger.kernel.org>; Wed, 16 Aug 2023 00:30:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8C05963768 for <linux-kernel@vger.kernel.org>; Wed, 16 Aug 2023 07:30:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4116C433C7; Wed, 16 Aug 2023 07:30:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692171029; bh=IjU0xsme7hzmvI4HEK1ZSqT2ZAu9jNopCFcXjHtbehU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NWK2UZrzBO6aoDhOJ2padLKD5u6ti/iomybfecIB11eIT10D/lieiEGA20edkTkBr DkRuKB75y4hYxbtSmYT2BFJltRrj/kDzNPLfVokA1MSERq6LdvbTESp0zzeoi1i96e nlQgtsD7g0mWvNBjME60dt0i+eVn7NJG7g3RqbeRgKMBWH+r0wHmQoxt+Hk5Oc4B4W cJB+rlkvRhFPUr+OI/3cYInyStlTQUP+SONR98W2UQeyMLRbFw21Xn3oHf3BK26+yo HsFtJ/UwOupldUugvDB0VJ5+H4i65htDHvYkq1pwG1OSxCoFkQjPWKyn+WeXnwjurK eYKXL0HCmAjWw== From: Maxime Ripard <mripard@kernel.org> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: "Rafael J . Wysocki" <rafael@kernel.org>, linux-kernel@vger.kernel.org, Maxime Ripard <mripard@kernel.org>, Stephen Rothwell <sfr@canb.auug.org.au> Subject: [PATCH 2/2] drivers: base: test: Add missing MODULE_* macros to root device tests Date: Wed, 16 Aug 2023 09:30:19 +0200 Message-ID: <20230816073019.1446155-2-mripard@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816073019.1446155-1-mripard@kernel.org> References: <20230816073019.1446155-1-mripard@kernel.org> 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,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774471039743554520 X-GMAIL-MSGID: 1774471039743554520 |
Series |
[1/2] drivers: base: test: Add missing MODULE_* macros for platform devices tests
|
|
Commit Message
Maxime Ripard
Aug. 16, 2023, 7:30 a.m. UTC
Commit 06188bc80ccb ("drivers: base: Add basic devm tests for root
devices") introduced a new set of tests for root devices that could be
compiled as a module, but didn't have the usual module macros.
Make sure they're there.
Fixes: 06188bc80ccb ("drivers: base: Add basic devm tests for root devices")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
drivers/base/test/root-device-test.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/base/test/root-device-test.c b/drivers/base/test/root-device-test.c index 780d07455f57..9aea23c9123e 100644 --- a/drivers/base/test/root-device-test.c +++ b/drivers/base/test/root-device-test.c @@ -106,3 +106,7 @@ static struct kunit_suite root_device_devm_test_suite = { }; kunit_test_suite(root_device_devm_test_suite); + +MODULE_DESCRIPTION("Test module for root devices"); +MODULE_AUTHOR("Maxime Ripard <mripard@kernel.org>"); +MODULE_LICENSE("GPL");