Re: git: b2e41172bdc0 - main - A skeleton kernel module suitable for creating new such modules.

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Tue, 14 Nov 2023 22:17:03 UTC
On Tue, Nov 14, 2023 at 09:11:32PM +0000, George V. Neville-Neil wrote:
G> The branch main has been updated by gnn:
G> 
G> URL: https://cgit.FreeBSD.org/src/commit/?id=b2e41172bdc00f177f7de4d4f4963cc4d99a3178
G> 
G> commit b2e41172bdc00f177f7de4d4f4963cc4d99a3178
G> Author:     George V. Neville-Neil <gnn@FreeBSD.org>
G> AuthorDate: 2023-10-05 20:05:31 +0000
G> Commit:     George V. Neville-Neil <gnn@FreeBSD.org>
G> CommitDate: 2023-11-14 21:08:13 +0000
G> 
G>     A skeleton kernel module suitable for creating new such modules.
G> ---
G>  share/examples/modules/Makefile |  6 +++
G>  share/examples/modules/skel.c   | 87 +++++++++++++++++++++++++++++++++++++++++
G>  2 files changed, 93 insertions(+)

Are you aware there exists share/examples/kld that already has several
kernel module examples? I'm not sure if a very minimal kernel module
adds more value to examples, but pretty sure that it belongs to the
existing directory instead of a new one. The existing directory is also
connected to the build, which makes examples installed.

-- 
Gleb Smirnoff