Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp279236lqj; Sat, 1 Jun 2024 20:15:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSavNOdUuxbmU5ZcjDUATQiKO4PggHpi4fimta4hI3LhxKl/0gVfOW0Hsf0YL1bIpc/LX0qy76fx07iwZ1ppVg9BNub8ROqHwlX52j1A== X-Google-Smtp-Source: AGHT+IFU8w6qZGGqrTpfpq6zWWphCNhJSIBof1ySL0/A/J86oWGlT1qhrMxjYqazoZMiymcTWgHo X-Received: by 2002:a05:6102:2a66:b0:48a:3332:595c with SMTP id ada2fe7eead31-48bc20ca412mr5956822137.5.1717298129691; Sat, 01 Jun 2024 20:15:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717298129; cv=pass; d=google.com; s=arc-20160816; b=IvJuSDHTPnJmudrMjozOPr0otYgcbQagWXsLgbxNQb0jS5iNLa4YkmEmrSWtVaQRRW yxrSYoW/dwE8SikHFirw3lb6Vi8NxNFCpTPCZr7NeAssfdnIpGryn04Vmcr41w9pY37T vIJ5fFVFcgkUiL1us+ZXl7pEP955osQsJVDpCcXhaxPxcivhyO+hZQYC2/NB/aH5rIxw MExlVcPJ8RL51uFQi5/kud569LJ97+Y8/EgSZgMpAUkcWxrXf3lbKPePdWy2V9az+5aE dJWWFv/Xnrmv3bi5F4oLTCd4mnJLvwNvm320Cl9gfMsfCWQKJBPeVCDgyevNCrsbxTkn 4pNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=oYn5Sk8sgs0xTPxHzq8192f59eLtim9v34973Bym1G4=; fh=tcHA25ejs2ETpFvUVFSjgG/BTBDnFZnTceTceyPk/5A=; b=wWsjbo2XttpqUU7nhLBGq7swsjfKDnKML0NfrkM8PVb2cbFxmlqQEEQtMbja4b8UB9 UzPtb2wZKQdd6pGXZDsk4to8vvtTsian2SneR6e1Iu25Pqk0imu5gJWEjf+vYGPWAu2I tqfPXfzqoivAd38/Xlp3kBd7UXETqCqNm3mloRsycY+KYvxZxkmnP+5s1XdsuFp13b06 R9ZZGcXYFxXEkCYN40r0JPVZ3BaiY46zQbVUYkpPB2aMNZSyTNqcJVCD2S6WXn5S+vxz tjq3Dj4StYBjjIIjIOkaK/nnozbxMeVaCXP1lEt+XBlP/3BQMT+LHgjEd+eIdVAm6C2e whoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ALPY0Web; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-198078-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198078-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43ff257d7cdsi57425001cf.428.2024.06.01.20.15.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 20:15:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198078-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ALPY0Web; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-198078-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198078-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 694C81C20C6B for ; Sun, 2 Jun 2024 03:15:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DC4BA945; Sun, 2 Jun 2024 03:15:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ALPY0Web" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DCEA3C00; Sun, 2 Jun 2024 03:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717298120; cv=none; b=G9hAOwOhpmGEv0tbOOmAlKr2k+XkOdM67p1R591IbODlSY71Og3AtoKY2biulldUHMmuznC8L6gGzWtR0QSrlWmK7qbQvOyznVX9J95nMHlenBlkxkENYQQ8SySJ0oADv5/RO0USDymPgUXHuf9rH9XhxCv0GdCLlyQZQW4DdVg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717298120; c=relaxed/simple; bh=edP8nsQBYJd0TE352wO287BLS+JWhbL3wrSTC+ycZXw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=jLN9BkhSFmnb4ziV/URU2SUnEyYJnkwubZ9woQ5rdsNJfsPdoKTLJdlGelMulH79mTIPgJWqrqe5O9h1I8yB9JRa12AtNiEulPe+oGMWV4cqitxF1XqPXVhsBibfeLOcon3sGUF6hwiVOdlpduNHo1/aV0U3xF+wE0Vd6fSZYyw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ALPY0Web; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4521vPHL008978; Sun, 2 Jun 2024 03:15:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= oYn5Sk8sgs0xTPxHzq8192f59eLtim9v34973Bym1G4=; b=ALPY0Web6Kn8iWpf BBeZsd5lQqjjhgHX+Yca2CLejJTm/+R+7N2yMCQATDZS5bMVlCwYFvn3YzzDgX+H 9Xf0rIov/cuCGYhVrSPH/29r1Ubg85I0mkaCPuhKLRTwWBJ5z/CwHTWu0ihegO7B Qgg015qGjQ6t/Q/7qV4qZ1r8JcIRTuGPlxVsKDWyoGo38ah9rcHqfsk/22vJ0Sjm G1DVWs5b8r49pR685QJSr7lxF44Uh6coyYu+vC7Vvm4emVgR9PaXytWa/zXDBBbB f1rv3dwHI6FlgohlLqANhe1KSvs6Fs4GF6Cdd57AU5lPRgBAtz/FuE6eYe9BduwU GAxh6g== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw5khj48-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 02 Jun 2024 03:15:09 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4523F8PO015548 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 2 Jun 2024 03:15:08 GMT Received: from [10.48.241.139] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sat, 1 Jun 2024 20:15:07 -0700 Message-ID: <42a6c483-5ad0-4985-971d-898ef91cec42@quicinc.com> Date: Sat, 1 Jun 2024 20:15:06 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] KUnit: add missing MODULE_DESCRIPTION() macros for lib/test_*.ko To: "Masami Hiramatsu (Google)" CC: Andrew Morton , "Naveen N. Rao" , Anil S Keshavamurthy , "David S. Miller" , , , References: <20240601-md-lib-test-v1-1-a728620e37d8@quicinc.com> <20240602120126.bdf79b0a209ad016f8a91a73@kernel.org> Content-Language: en-US From: Jeff Johnson In-Reply-To: <20240602120126.bdf79b0a209ad016f8a91a73@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: V8Lduz61aFqhfa_2OnnlIPUcdVTFTMlv X-Proofpoint-ORIG-GUID: V8Lduz61aFqhfa_2OnnlIPUcdVTFTMlv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-01_19,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 malwarescore=0 clxscore=1015 phishscore=0 mlxscore=0 priorityscore=1501 adultscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406020025 On 6/1/2024 8:01 PM, Masami Hiramatsu (Google) wrote: > On Sat, 1 Jun 2024 15:19:39 -0700 > Jeff Johnson wrote: > >> make allmodconfig && make W=1 C=1 reports for lib/test_*.ko: >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_hexdump.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_dhry.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_firmware.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_sysctl.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_hash.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_ida.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_list_sort.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_min_heap.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_module.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_sort.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_user_copy.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_static_keys.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_static_key_base.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_memcat_p.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_blackhole_dev.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_meminit.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_free_pages.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_kprobes.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_ref_tracker.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_bits.o >> >> Add the missing invocations of the MODULE_DESCRIPTION() macro. >> >> Signed-off-by: Jeff Johnson >> --- > [...] > >> diff --git a/lib/test_kprobes.c b/lib/test_kprobes.c >> index 0648f7154f5c..e707f7b3a366 100644 >> --- a/lib/test_kprobes.c >> +++ b/lib/test_kprobes.c >> @@ -400,4 +400,5 @@ static struct kunit_suite kprobes_test_suite = { >> >> kunit_test_suites(&kprobes_test_suite); >> >> +MODULE_DESCRIPTION("simple sanity test for *probes"); > > nit: Could you make it "simple sanity test for k*probes" ? because > there is test_fprobe.c. > sure, I'll spin a v2 do you want me to modify the header comment as well since I just copied it: /* * test_kprobes.c - simple sanity test for *probes /jeff