Message ID | 20230203122222.1907-2-mpdesouza@suse.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp809328wrn; Fri, 3 Feb 2023 04:27:15 -0800 (PST) X-Google-Smtp-Source: AK7set9xcfAUm31o03kt+6f2VMz9flmFIstTarpnIbU+SMXxBqHfDcPR2Ec2BmcD41DXjnlLW/yC X-Received: by 2002:a05:6a20:e684:b0:bc:c456:9621 with SMTP id mz4-20020a056a20e68400b000bcc4569621mr9875370pzb.8.1675427235169; Fri, 03 Feb 2023 04:27:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675427235; cv=none; d=google.com; s=arc-20160816; b=UZNOlHdYDFbnhAhTLKvPBNwNIkYTPxo9bUthcauKJx95BePzAw9yd2DLGKIW9XD+Dq u50Y38EeqbsPrg6exqdB1VlgtKz8NAuZ28SiRZVNQa2Y1s4oU9GrSkVOWyJwPd84cA+n fiVdMwZG/cjbe2HW5com5XgeaqmkYkLReQjYDHZKkM8mYmhMGNCu7cTxBkgKkJvwFpxX wHnQYUua134toAD6/9JrAH4loK3SQxh2OIM1fqNZnLtbW82ujE3fbVhRGFb6pBZfIPul E56V7DyOLYCIJ9v71Iq5yAaY67DRYPIPM09ZLB59k8Z7XSTX22Q3KW3K2lr6YKoBL97f dCGw== 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=mNtvJdFEkJ+jXdKOWmXqrXhKo6WoAPSlnuOUK1ohQYQ=; b=L9qcsoxtp4QbU0CpCPLsvpWkBxqOTHrz/1KgoGFOvxsDbQRVuloCFi9tKPXoMIP5DV EXcYAwxHsTEoW/pZTlv6P7gM/2Bjmcpjmn/HGxFalxMQBFGbrHtmGNjAGIt/j7njgcMM P5+L3wCskMs2+xvf57o9FZZ2od2GpB5ob7J/dg3VS5rTKPDlzA9SRjCiCEtqhehfd0qj zQ/J8vAA8R4NKDR8d6nSE3VvAfs48u+X91bgTdwPEyPhn8YZ8Y44855UuMp49O6gJUIK jApx4Yt19LZNUNV2VXX1ZOu4NfDTU1sfRZ+NWz0g5CsvIUHbqYvVcdSB0eEKlisl8cAF B0NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=XjBddZ0A; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f4-20020a637544000000b004787df29e4fsi2413982pgn.515.2023.02.03.04.27.02; Fri, 03 Feb 2023 04:27:15 -0800 (PST) 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=@suse.com header.s=susede1 header.b=XjBddZ0A; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232848AbjBCMW5 (ORCPT <rfc822;il.mystafa@gmail.com> + 99 others); Fri, 3 Feb 2023 07:22:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232816AbjBCMWv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 3 Feb 2023 07:22:51 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DCFE9DEF9; Fri, 3 Feb 2023 04:22:41 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 11D09200EE; Fri, 3 Feb 2023 12:22:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1675426960; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mNtvJdFEkJ+jXdKOWmXqrXhKo6WoAPSlnuOUK1ohQYQ=; b=XjBddZ0Ae9MZPN3G32TZ40Ieou62drXhI2JG1ku4ttif0KSGkwLmgSY6tGoAjeWIRH1Dkp w2E0TvuD6LkLvc8lOTK35+XcMt95m2/ZKvECe5YhxXzLi92RmRFQvTC6YNG1F3LxEfN3Po 020FCjDPNDZm89c4nQbJukSsCHSryzA= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 27B931358A; Fri, 3 Feb 2023 12:22:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id KDjlN4z83GNWZQAAMHmgww (envelope-from <mpdesouza@suse.com>); Fri, 03 Feb 2023 12:22:36 +0000 From: Marcos Paulo de Souza <mpdesouza@suse.com> To: mcgrof@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, linux-doc@vger.kernel.org, jpoimboe@kernel.org, mbenes@suse.cz, joe.lawrence@redhat.com, corbet@lwn.net, pmladek@suse.com Cc: Marcos Paulo de Souza <mpdesouza@suse.com> Subject: [PATCH v2 1/2] module.h: Document klp_modinfo struct using kdoc Date: Fri, 3 Feb 2023 09:22:21 -0300 Message-Id: <20230203122222.1907-2-mpdesouza@suse.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230203122222.1907-1-mpdesouza@suse.com> References: <20230203122222.1907-1-mpdesouza@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756812788357185251?= X-GMAIL-MSGID: =?utf-8?q?1756812788357185251?= |
Series |
[v2,1/2] module.h: Document klp_modinfo struct using kdoc
|
|
Commit Message
Marcos Paulo de Souza
Feb. 3, 2023, 12:22 p.m. UTC
Previously the documentation existed only in Documentation/livepatch
directory.
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
---
include/linux/module.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/linux/module.h b/include/linux/module.h index ec61fb53979a..3382ef8f66a8 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -352,6 +352,14 @@ struct mod_kallsyms { }; #ifdef CONFIG_LIVEPATCH +/** + * struct klp_modinfo - Elf information preserved from the livepatch module + * + * @hdr: Elf header + * @sechdrs: Section header table + * @secstrings: String table for the section headers + * @symndx: The symbol table section index + */ struct klp_modinfo { Elf_Ehdr hdr; Elf_Shdr *sechdrs;