commit:     bcecd378c02f0950356d7bf924d54d87a03baa54
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 03:46:00 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 11:36:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcecd378

linux-mod.eclass: fix spelling

Thanks to codespell.

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/linux-mod.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index e993ac37da0d..0098dbcfc2ce 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -340,7 +340,7 @@ get-KERNEL_CC() {
 # @USAGE: /path/to/the/modulename_without_extension
 # @RETURN: A file in /etc/modprobe.d
 # @DESCRIPTION:
-# This function will generate and install the neccessary modprobe.d file from 
the
+# This function will generate and install the necessary modprobe.d file from 
the
 # information contained in the modules exported parms.
 # (see the variables MODULESD_<modulename>_ENABLED, 
MODULESD_<modulename>_EXAMPLES,
 # MODULESD_<modulename>_ALIASES, MODULESD_<modulename>_ADDITION and 
MODULESD_<modulename>_DOCS).
@@ -679,7 +679,7 @@ linux-mod_src_install() {
                insinto "${INSTALL_MOD_PATH}"/lib/modules/${KV_FULL}/${libdir}
 
                # check here for CONFIG_MODULE_COMPRESS_<compression option> 
(NONE, GZIP, XZ, ZSTD)
-               # and similarily compress the module being built if != NONE.
+               # and similarly compress the module being built if != NONE.
 
                if linux_chkconfig_present MODULE_COMPRESS_XZ; then
                        xz -T$(makeopts_jobs) --memlimit-compress=50% -q 
${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with xz 
failed"
@@ -728,7 +728,7 @@ linux-mod_pkg_postinst() {
 
 # @FUNCTION: linux-mod_pkg_postrm
 # @DESCRIPTION:
-# It removes the package from the /var/lib/module-rebuild/moduledb database 
but it doens't
+# It removes the package from the /var/lib/module-rebuild/moduledb database 
but it doesn't
 # call /sbin/depmod because the modules are still installed.
 linux-mod_pkg_postrm() {
        debug-print-function ${FUNCNAME} $*

Reply via email to