Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp269103lqj; Sat, 1 Jun 2024 19:30:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvck3DhCEN/ZPEO1sjDOUYseBO3501D/piI0TgUCJ1gzb+WF4SgxkM6TP29H/PQb+U87QwER2Na1hm4Qnb3Bgp1iGg8BOT1RkIviCb6g== X-Google-Smtp-Source: AGHT+IGUYTssst0puurAWdQvobKv8P9DxgcQiEEcRp6i/gSyhPIrc8sr/X0Jp3qJQmuUsfFtzf80 X-Received: by 2002:a05:6359:7c26:b0:199:30ee:6fe2 with SMTP id e5c5f4694b2df-19b48e922e5mr525849655d.18.1717295440426; Sat, 01 Jun 2024 19:30:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717295440; cv=pass; d=google.com; s=arc-20160816; b=VIwJex89/hbVmhIEbyAg/29E7zQn4QQNMIMJTLp//m/5QiK6ARgutkZDiHWjBR0ZM5 eQATdZkenpojVSC1ddNvANdpssIDNmv8ie5HWFSfyxZYt8quT/UWTeEHhqEERr45wYJD rlaxbOIy9c6v7UnhhqHJaJMmzzYwDbhUBBK5nvujkDkZPuEqzuRCAQal1S+9RoO26x4d KU0BJemMREa1tp/FopEQkzR70gFfJPxrLIEsFjGIP2t9gD6RK/grJaFxslhCjpRzOoFm ineZUzARY5qR6sWncbyN5ljq0LV5blmm28OlcaJequS3TAdv1B9N2gNo/CecQIwog/oY SCAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=yj5xj2fZrmFrDkVUD5+kOG78+/hqE/rHGqouqpvz6FY=; fh=JbOwgxx0g0AfbWT2QNkRBcoHAhQpUqSTjK0+RyOIazI=; b=JmZjA0Qs47qsNxUmZVaa4nAYVGiMF8HJpfAS/Z22Pa6hqdadHN6UEXxCpuMXewqyR1 LONg1bLtvQnqZVInFQLpJiCwgdCLKczRR9D/d1h9xEEzoMsnf4fVbJrKrBesfQaiNz9n ER868mz9GEeljpOipK15lnUE2EFtTBq5L71Jw5uOsbZGnyCd05Gj6jp/RICgeIAVY4mF wnrtvJWNu9n2RP8coD0pTWfyNQEZqOwbnDGS8XTO2WG1xbIpw0VXtIN3UYJkKE7vy1Kc cv12oWR2mFVagijTAkZPzEyUJZvUVV64qP8XyqY81S7kineBoUCvXQDgchkt9FVg5Rlq v/kQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GwbaPxo7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35cb0f393si4432605a12.787.2024.06.01.19.30.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 19:30:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GwbaPxo7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7E5A7B2123B for ; Sun, 2 Jun 2024 02:30:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 664646116; Sun, 2 Jun 2024 02:30:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GwbaPxo7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 84FEE15A5; Sun, 2 Jun 2024 02:30:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717295423; cv=none; b=p4Lxre+1WenRhq5oJcFxptdRZIfR8jnEaS8SBrGdKkMyibfCKqAMJEL/dpM9ZH1IQJRRmQSZ3PZvfd9c2WgYgNkzktU1Dv7wxsfyQN3E+DM8b0wd6jK2CNvDplZLHo6pNyDBnMXhkWETd/6X/S8B9XyhL9CkDP2chb5CC25g9vc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717295423; c=relaxed/simple; bh=Q8AdSr1763igBtiPbv1oDsgkW6kA1BrMNzTsklnYWUI=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=aRyHNrO9To+yUfAkAPSzhIhASkgPulBff9b+/i4+LKhF7MJsVOrMtfTMJcA0sAmq2q4xIDFyniZhPENEZqpckS3jmjjWylR7nJYIzO4iV8k9lkrx6uTPyprT/MpBwYqUr1Ij0isf6sTyiOJVlDby4NTLY3F1p2ABos0Movy/i6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GwbaPxo7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E0E3C116B1; Sun, 2 Jun 2024 02:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717295422; bh=Q8AdSr1763igBtiPbv1oDsgkW6kA1BrMNzTsklnYWUI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GwbaPxo7rP3jOFHeu0n9LEAascOGpMyZ23uKGhMfYsvSf5ZM8QMwgQerJCnIueyCL EJBO8oTq2mWsB1ocYr69oY1/cUJ8QXgQZBewaBmEVrPmfzNig656RPjdqnt/IB5B2R hnmULCZTne9KSUaZ7tltST9tPSU+QkHnm2YVMOGbUKQ1sp4wYadHHh/5wrs3Oh/xhc vO736mtGi6GK2XkHRoYxMdQdGa/T3StL98HTlLrT+4c7FSUZenoqK9WD3gPNgjsgS0 tlm9XMdR038ymLyWd5ce9+NITd88OK08SanBPxYUIYJISZziI3kavw63vsogYlr6q8 1uXtZsVoquy0w== Date: Sun, 2 Jun 2024 11:30:18 +0900 From: Masami Hiramatsu (Google) To: Jeff Johnson Cc: "Naveen N. Rao" , Anil S Keshavamurthy , "David S. Miller" , , , Subject: Re: [PATCH] samples: kprobes: add missing MODULE_DESCRIPTION() macros Message-Id: <20240602113018.4771521d3651150422919cef@kernel.org> In-Reply-To: <20240601-md-samples-kprobes-v1-1-b6a772353893@quicinc.com> References: <20240601-md-samples-kprobes-v1-1-b6a772353893@quicinc.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 1 Jun 2024 18:31:55 -0700 Jeff Johnson wrote: > make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kprobe_example.o > WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kretprobe_example.o > > Add the missing invocations of the MODULE_DESCRIPTION() macro. > OK, these are also good to me too. Thanks, > Signed-off-by: Jeff Johnson > --- > samples/kprobes/kprobe_example.c | 1 + > samples/kprobes/kretprobe_example.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/samples/kprobes/kprobe_example.c b/samples/kprobes/kprobe_example.c > index ef44c614c6d9..53ec6c8b8c40 100644 > --- a/samples/kprobes/kprobe_example.c > +++ b/samples/kprobes/kprobe_example.c > @@ -125,4 +125,5 @@ static void __exit kprobe_exit(void) > > module_init(kprobe_init) > module_exit(kprobe_exit) > +MODULE_DESCRIPTION("sample kernel module showing the use of kprobes"); > MODULE_LICENSE("GPL"); > diff --git a/samples/kprobes/kretprobe_example.c b/samples/kprobes/kretprobe_example.c > index ed79fd3d48fb..65d6dcafd742 100644 > --- a/samples/kprobes/kretprobe_example.c > +++ b/samples/kprobes/kretprobe_example.c > @@ -104,4 +104,5 @@ static void __exit kretprobe_exit(void) > > module_init(kretprobe_init) > module_exit(kretprobe_exit) > +MODULE_DESCRIPTION("sample kernel module showing the use of return probes"); > MODULE_LICENSE("GPL"); > > --- > base-commit: b050496579632f86ee1ef7e7501906db579f3457 > change-id: 20240601-md-samples-kprobes-efb32cbcc8dd > -- Masami Hiramatsu (Google)