From patchwork Wed Jun 19 20:26:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 13704505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BCA3C2BA1A for ; Wed, 19 Jun 2024 20:27:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 58C6C8D008C; Wed, 19 Jun 2024 16:27:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4EBE28D0066; Wed, 19 Jun 2024 16:27:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 205168D008C; Wed, 19 Jun 2024 16:27:06 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id E461A8D0066 for ; Wed, 19 Jun 2024 16:27:05 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 9BE88A208D for ; Wed, 19 Jun 2024 20:27:05 +0000 (UTC) X-FDA: 82248772410.07.098C53D Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf03.hostedemail.com (Postfix) with ESMTP id 571842000A for ; Wed, 19 Jun 2024 20:27:02 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=lbDkk76X; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf03.hostedemail.com: domain of kees@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=kees@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718828816; a=rsa-sha256; cv=none; b=HYUPOwn4teLf3O6vA1v2OAPPAIKvQL7YM6+i/AjvV2Va7Jv7S9bfVcjGSHU0WgNpe1vrVe UYneEE4nDfDxMpHLcC4NcZ0lh6KIDNe3AuHqzTA4EtYqlmuxzSAz9LH1pEnSmC4N7tK6dY x2LJ7cU04uGDmJ3NhBHqcoYz9vKFKpo= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=lbDkk76X; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf03.hostedemail.com: domain of kees@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=kees@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718828816; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=vnGu8OLXuVoIhqupDgUJX7hTHDwBUECVp0OZ1TmjUls=; b=5/Oz7dwSk0IqlzaEz+aAHZgVg8XO7RYfl9XTN031KISTiGT2u7N9If6NUECbHgeUfDRn+h wR8auc/eiVaymUwjgZDQKv3nsesFacp7Xh3iAM/VsnNU5EYJEK4XV3sfr80PdAc3+zGUrd DMcdEVab/FgwF3Uml9ErtmCxNTReegk= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6E94261E71; Wed, 19 Jun 2024 20:27:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 177FAC2BBFC; Wed, 19 Jun 2024 20:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718828821; bh=g4F+MdqT/MVUcXKtNQAJg5HautTBfqFGsh7S/zXMJbg=; h=From:To:Cc:Subject:Date:From; b=lbDkk76XiVd3RQP2mZdFcK/b/3jG1KOgZE4qE5BJARZKzG885i4U7SUrYOdPSuUV+ ZyP8Tb/rczN3iWQ+XlGybVllyCXWutfdf/14nDMqLj4wWDbQ6sPxE4XaIn9oRibqTK PiEyEunu5VyZDiA4uEyC0LT+LsVQ0h7BTK9AXSLSw1RKrXkcJL8nrRS2szwXnXxwEW Q0OZJl9b0T9oqRFZ4t4urkQsS/farPGb74OqUVSKMQfuPkPy64my905iIWM77muZsa DBgmarNlltQNCpGuue8ZJML8DJ1EbY4Y0GtbM9WklRThBs0xt5Qib8ttM3UUIIhOVi 1LrB5lbvzKjnw== From: Kees Cook To: Shuah Khan Cc: Kees Cook , Jeff Johnson , Brendan Higgins , David Gow , Rae Moar , "Gustavo A. R. Silva" , Andrew Morton , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-hardening@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] kunit/usercopy: Add missing MODULE_DESCRIPTION() Date: Wed, 19 Jun 2024 13:26:59 -0700 Message-Id: <20240619202659.work.532-kees@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1373; i=kees@kernel.org; h=from:subject:message-id; bh=TR+mnu+Vp3aO0Se1dthLMkaeQZNFS625VczsCknmmGU=; b=owEBbQKS/ZANAwAKAYly9N/cbcAmAcsmYgBmcz8TrS0NSRUqHvFAWAg35v8Vjkmd2YmjdFSJV K16Fe6uB0aJAjMEAAEKAB0WIQSlw/aPIp3WD3I+bhOJcvTf3G3AJgUCZnM/EwAKCRCJcvTf3G3A JrU8D/95zyNv4qF5byvmaZbz8z8Y51857vLgHut7nNBsJoK1ksYWhf2TvONsuglT6Afq02lZKh+ taA4AM/nYxi/qT7v2vJk7joKANRsxRxKmO/3fQ1RSBujsKcIfZpQKYRztuxPGeGWId5nyE82+ra /srOP28M+wJaqSNpejTdwNoLayBjTvszodIrK2obJFTwNaQ15Xkm+lIwP4do5Wnc+jtQePQf9so HPuNoaYXelpLUrDLSzwCd048KDfyTzvCnYFG7pXA0eBNTM/YFGDkys3Da7MK4buG72n0egXr8kE QmSkN8QZWvuukMyvsXs1JKLII2d4ArGsM1huUfd3IGM9OEMKAYXoDXiw0Rh9SCOHlZ2cJbFPTfj IExFAt79/EjG7qEacM4PpIkZTOOJ9n52hXmoNNr8oA382+27VvNOKaHMNiymZcTs98he0TJKcvD 3DCs0pNzL0yatRbRmXATqBhwWjvimMrjZ9oAN4H+utSHuWqal2f88nmaCCxikozrBBKFc59e2rz KXyz8dqwj62WQnMUGTD7tukqXVEkz6yhhlbt5jsq8R0kbFcE8Bzb3txuzRhelrqZIxJvUsM6xfI ufy3Tw8VRIEsUketF05CLT+ZxJi9Bv7pRe5Dx1B2h8JeWmLPJKCDv6zC0W+XMQRFwNpLqorsjR/ DeitX 033XPPVo 6g== X-Developer-Key: i=kees@kernel.org; a=openpgp; fpr=A5C3F68F229DD60F723E6E138972F4DFDC6DC026 X-Rspamd-Queue-Id: 571842000A X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: nuphrdouysd994gzwwczt58y9rge6g73 X-HE-Tag: 1718828822-157820 X-HE-Meta: U2FsdGVkX186uSRbKXPagBPefSKNqUNNu9ExUFJVBFaxawhMyeD2yKKmOu67jIFyfIvXYU3/ejW5nnadatBWEPd9VV5xbDNzAHLwKadmXhqPu5ZJ0zjAD+P6sCXuhPSzT2TbHi0ASxRdJc3AaWp9W4i8MiQookoSV1yPOQYxWM5gVEJHseQVdj7Ir9KHUa7CsrllhMMQAxKotBN00uZ9moyBJvqQ/3ynEE7YsvtsfU4nHdREESvTGCjL4TPjR9w0qBauH21mNrvSawKa6n8jAlfN7EZX0C0T+QQp8iIidYWZLuRaFC0FwIZBat7HL2Lf7dkKq7jbv5mKo3sH7K3vqwF1SCz7z/ddXS2ACtXL+YLmcO6aiUkWiaIJoyRAsG3YfxDtP6IeULIPJVImdY2+rJwvns5XbeYEqSQJyJqq3TtWyQOcjo1W6yl7HYOa5uA4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Z4aYE97K19QJdDRo3s3HxpHuwNJBiud7zaLYPR1G4GSjFivWeaTe47vQN/QLhtQ X-Bogosity: Ham, tests=bogofilter, spamicity=0.000009, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Jeff Johnson Fix warning seen with: $ make allmodconfig && make W=1 C=1 lib/usercopy_kunit.ko WARNING: modpost: missing MODULE_DESCRIPTION() in lib/usercopy_kunit.o Signed-off-by: Jeff Johnson Signed-off-by: Kees Cook Reviewed-by: Rae Moar Reviewed-by: David Gow --- At Jeff's reminder, I've split this out of: https://lore.kernel.org/all/20240601-md-lib-test-v1-1-a728620e37d8@quicinc.com/ since the file got renamed. --- Cc: Shuah Khan Cc: Jeff Johnson Cc: Brendan Higgins Cc: David Gow Cc: Rae Moar Cc: "Gustavo A. R. Silva" Cc: Andrew Morton Cc: linux-kselftest@vger.kernel.org Cc: kunit-dev@googlegroups.com Cc: linux-hardening@vger.kernel.org Cc: linux-mm@kvack.org --- lib/usercopy_kunit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/usercopy_kunit.c b/lib/usercopy_kunit.c index e819561a540d..77fa00a13df7 100644 --- a/lib/usercopy_kunit.c +++ b/lib/usercopy_kunit.c @@ -331,4 +331,5 @@ static struct kunit_suite usercopy_test_suite = { kunit_test_suites(&usercopy_test_suite); MODULE_AUTHOR("Kees Cook "); +MODULE_DESCRIPTION("Kernel module for testing copy_to/from_user infrastructure"); MODULE_LICENSE("GPL");