From: Lucas De Marchi <lucas.demarchi@intel.com>
To: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Lucas De Marchi <lucas.demarchi@intel.com>,
Petr Pavlu <petr.pavlu@suse.com>
Subject: [PATCH 0/2] module: Tweak return and warning
Date: Mon, 13 Oct 2025 09:26:22 -0700 [thread overview]
Message-ID: <20251013-module-warn-ret-v1-0-ab65b41af01f@intel.com> (raw)
Do not let userspace tools and end users confused on the return code and
log messages.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
Lucas De Marchi (2):
module: Override -EEXISTS module return
module: Simplify warning on positive returns from module_init()
kernel/module/main.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
base-commit: e5f0a698b34ed76002dc5cff3804a61c80233a7a
change-id: 20251013-module-warn-ret-59f085298055
Lucas De Marchi
next reply other threads:[~2025-10-13 16:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-13 16:26 Lucas De Marchi [this message]
2025-10-13 16:26 ` [PATCH 1/2] module: Override -EEXISTS module return Lucas De Marchi
2025-10-17 12:04 ` Petr Pavlu
2025-11-02 18:23 ` Aaron Tomlin
2025-11-10 15:17 ` Daniel Gomez
2025-11-10 15:31 ` Lucas De Marchi
2025-11-16 20:42 ` Daniel Gomez
2025-11-16 20:46 ` Daniel Gomez
2025-10-13 16:26 ` [PATCH 2/2] module: Simplify warning on positive returns from module_init() Lucas De Marchi
2025-10-17 12:06 ` Petr Pavlu
2025-11-02 18:23 ` Aaron Tomlin
2025-11-16 20:47 ` [PATCH 0/2] module: Tweak return and warning Daniel Gomez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251013-module-warn-ret-v1-0-ab65b41af01f@intel.com \
--to=lucas.demarchi@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-modules@vger.kernel.org \
--cc=petr.pavlu@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).