From: Jan Kiszka <jan.kiszka@siemens.com>
To: Alexander Smirnov <asmirnov@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH 2/4] example-module: Do not return error on init
Date: Tue, 6 Mar 2018 13:58:09 +0100 [thread overview]
Message-ID: <e1e7181a-4976-cb1e-f0c7-e931978f6bb4@siemens.com> (raw)
In-Reply-To: <20180306124055.15990-3-asmirnov@ilbers.de>
On 2018-03-06 13:40, Alexander Smirnov wrote:
> Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
> ---
> meta-isar/recipes-kernel/example-module/files/src/example-module.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-isar/recipes-kernel/example-module/files/src/example-module.c b/meta-isar/recipes-kernel/example-module/files/src/example-module.c
> index 07cb214..ef25dd9 100644
> --- a/meta-isar/recipes-kernel/example-module/files/src/example-module.c
> +++ b/meta-isar/recipes-kernel/example-module/files/src/example-module.c
> @@ -11,7 +11,7 @@
> static int __init example_module_init(void)
> {
> printk("Just an example\n");
> - return -ENOANO;
> + return 0;
> }
>
> module_init(example_module_init);
>
IIRC, you then need to provide a module_exit handler, or that module
cannot be unloaded again.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2018-03-06 12:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 12:40 [RFC][PATCH 0/4] Kernel module autoload Alexander Smirnov
2018-03-06 12:40 ` [PATCH 1/4] kernel/module: Add AUTOLOAD option Alexander Smirnov
2018-03-06 12:59 ` Jan Kiszka
2018-03-07 7:19 ` Jan Kiszka
2018-03-07 7:36 ` Alexander Smirnov
2018-03-07 7:39 ` Jan Kiszka
2018-03-07 8:13 ` Alexander Smirnov
2018-03-07 10:46 ` [PATCH v3 " Alexander Smirnov
2018-09-12 13:15 ` Henning Schild
2018-03-06 12:40 ` [PATCH 2/4] example-module: Do not return error on init Alexander Smirnov
2018-03-06 12:58 ` Jan Kiszka [this message]
2018-03-06 15:40 ` [PATCH v2 " Alexander Smirnov
2018-03-06 15:56 ` Jan Kiszka
2018-03-06 16:26 ` Alexander Smirnov
2018-03-06 12:40 ` [PATCH 3/4] example-module: Enable autoload Alexander Smirnov
2018-03-06 12:40 ` [PATCH 4/4] vm_smoke_test: Add check for kernel module Alexander Smirnov
2018-03-07 10:47 ` [PATCH v2 " Alexander Smirnov
2018-03-09 8:49 ` Henning Schild
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=e1e7181a-4976-cb1e-f0c7-e931978f6bb4@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=asmirnov@ilbers.de \
--cc=isar-users@googlegroups.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