Message ID | 20230816073019.1446155-1-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 z13csp111499vqi; Wed, 16 Aug 2023 08:58:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFI8tsUQA774umHsS2nVCrximcZku9nxL316yKaRa+DqqJhVcDIbJbH0nA9DAkdN1notUvb X-Received: by 2002:a17:906:1d8:b0:99d:ef0e:e968 with SMTP id 24-20020a17090601d800b0099def0ee968mr1711005ejj.4.1692201527696; Wed, 16 Aug 2023 08:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692201527; cv=none; d=google.com; s=arc-20160816; b=L5QKwCAnGaf+f5Z4ObXTS0GWMce10g9nsquaOR4D76jd4cXGUMvkQJm6I5YSIhu3jv yVVB1Fe3ZYUAheKINQwteC89+ALXQA/dt8D5lrmnkJsobYTNwsg8uVq3OJqk9p3Zzkkz ZWhUD56Q/+2EovvkxN8HzuYE/j/f9Rdx761zwF9H9uem93fn7uJL+t3eslRBfbFXpH/G PzfbCfgYELWe8KD3jcg8fFOs/RM6sVbGnjwpX4Kv/SqG//JV3PpGmJ98gvsalxS2Ml6x 6rLIR/Ls8zWvzf2OOx8yxiXPTmSIN10cCv2Xxr3UhYQul7dDCstdFsqqW7VdjAMGULH9 WP8w== 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=0I7TPUg4E31TMu62FWmKoxXqRzwNNupmAPAivBkHKnY=; fh=c+H3IE1lmVX3ID0iyHLFGEVZK7B1+Kh8gLold6pvv7A=; b=HB60M0OC6YsQLXNEN3G9KCEQsY9RjKw6HEz/xxa81tuOvgVxUaLaULh5/y6yceYXCC ESS7SfpvSS7ZsggH7rEkuQzqesR66gPhxkOfKkYgc7lsCovxz5wniStSze+5+Te7KPRX iooRQdqG42RcS6cbkNrebuCMlcSYZ+/PQKHCQ2ZC8vPROw6SY+C/sjstlsz1r+QW+1GT tXIGOyxsC1fPm4zjRrKX4wiZqK9ESnscr5k4fwCFAuZDc34JY5c7ij1b8eVwVPcWTCJu 3yJBp99+YdtR1GtDFIJKHDqRCRui3R2+UqM8yUTZbGYBZ6MwGOARS+t0qqVahUg6IqJi 6UDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="YKD9qM/6"; 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 gz19-20020a170906f2d300b0099caf72e95fsi11530664ejb.578.2023.08.16.08.58.23; Wed, 16 Aug 2023 08:58:47 -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="YKD9qM/6"; 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 S242417AbjHPHaa (ORCPT <rfc822;somadevkernel@gmail.com> + 99 others); Wed, 16 Aug 2023 03:30:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242455AbjHPHa1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Aug 2023 03:30:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F16A6B3 for <linux-kernel@vger.kernel.org>; Wed, 16 Aug 2023 00:30:26 -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 8D9586102F for <linux-kernel@vger.kernel.org>; Wed, 16 Aug 2023 07:30:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BB71C433C8; Wed, 16 Aug 2023 07:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692171026; bh=I8ugELsiLhPi5/Uez9ANm4CZY7xS4VMhFNvjwLb/ZIw=; h=From:To:Cc:Subject:Date:From; b=YKD9qM/6bWdXyBURQWdfhoppr0z1kSukoRYEVRrlDdJfDAnmVzsdBs1SB2Jk/dVC9 2LAs4pCg48T/vzkz3aXJVAD9gp9x125ijV1G85XJwLVV70VJgiQqKBxBqWQWIsCne6 cgrLihpfJowqZTq2LxPt7eld5DwSD6IHXb/r7u/vOh+Zmqby8QONT/X0FLlEUeU6cV WHzFpKLkt/4O/PJ8cstZHuptHB4QBNOoXE+sB8Nx7BSovaD04fWeGaQEBjkQDcD1+N mj0gfj9B3HAQEezDsWzAJCtaxrUrVl78pkCZeewwjC3UFvtKHo8OW16kFvbln1zCjV CK0gbOQli4yqQ== 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 1/2] drivers: base: test: Add missing MODULE_* macros for platform devices tests Date: Wed, 16 Aug 2023 09:30:18 +0200 Message-ID: <20230816073019.1446155-1-mripard@kernel.org> X-Mailer: git-send-email 2.41.0 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: 1774401908718811029 X-GMAIL-MSGID: 1774401908718811029 |
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 b4cc44301b9d ("drivers: base: Add basic devm tests for platform
devices") introduced a new set of tests for platform devices that could
be compiled as a module, but didn't have the usual module macros.
Make sure they're there.
Fixes: b4cc44301b9d ("drivers: base: Add basic devm tests for platform devices")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
drivers/base/test/platform-device-test.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/base/test/platform-device-test.c b/drivers/base/test/platform-device-test.c index 1ae5ce8bd366..ea05b8785743 100644 --- a/drivers/base/test/platform-device-test.c +++ b/drivers/base/test/platform-device-test.c @@ -218,3 +218,7 @@ static struct kunit_suite platform_device_devm_test_suite = { }; kunit_test_suite(platform_device_devm_test_suite); + +MODULE_DESCRIPTION("Test module for platform devices"); +MODULE_AUTHOR("Maxime Ripard <mripard@kernel.org>"); +MODULE_LICENSE("GPL");