[Bug 274388] Several modules declare dependency on non-existent 'g_flashmap' kmod
Date: Tue, 29 Oct 2024 15:50:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274388 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2352336ad9b26fd21d9b0013e195e41d6d02b914 commit 2352336ad9b26fd21d9b0013e195e41d6d02b914 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-10-29 15:11:12 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-10-29 15:11:12 +0000 geom_flashmap: Rename the kernel module Absent a linker.hints, if a module dependency exists on disk, the loader will automatically load it. That is, if something depends on module foo, and foo.ko exists, we'll load foo.ko even though the linker hints file is missing. It's a bit of a hack but it's handy. This breaks with geom_flashmap though, since it's geom_flashmap.ko on disk but the module is called g_flashmap. However, pretty much every other GEOM module is given a "geom_" prefix, so for consistency's sake alone, it seems nice to rename the module. PR: 274388 Reviewed by: jhb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47311 sys/dev/fdt/fdt_slicer.c | 2 +- sys/dev/mmc/mmcsd.c | 2 +- sys/geom/geom_flashmap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.