mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] fix/improve modular IDE (Re: [PATCH] modular IDE for 2.6.1 ugly but working fix)
Date: Tue, 20 Jan 2004 16:45:48 +0100	[thread overview]
Message-ID: <200401201645.48611.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <20040120020710.837CE2C226@lists.samba.org>

On Tuesday 20 of January 2004 03:01, Rusty Russell wrote:
> In message <200401171422.06211.bzolnier@elka.pw.edu.pl> you write:
> > +static int __init ide_generic_init(void)
> > +{
> > +	MOD_INC_USE_COUNT;
> > +	if (ide_hwifs[0].io_ports[IDE_DATA_OFFSET])
> > +		ide_get_lock(NULL, NULL); /* for atari only */
> > +
> > +	(void)ideprobe_init();
> > +
> > +	if (ide_hwifs[0].io_ports[IDE_DATA_OFFSET])
> > +		ide_release_lock();	/* for atari only */
> > +
> > +#ifdef CONFIG_PROC_FS
> > +	create_proc_ide_interfaces();
> > +#endif
> > +	return 0;
> > +}
> > +
> > +static void __exit ide_generic_exit(void)
> > +{
> > +}
>
> If you don't want to be unloadable, just don't have a module_exit() at
> all.

Ok, I will update it later.  Thanks for a hint!
--bart


      reply	other threads:[~2004-01-20 15:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-17 12:13 [PATCH] modular IDE for 2.6.1 ugly but working fix Witold Krecicki
2004-01-17 13:22 ` [PATCH] fix/improve modular IDE (Re: [PATCH] modular IDE for 2.6.1 ugly but working fix) Bartlomiej Zolnierkiewicz
2004-01-17 15:38   ` Sam Ravnborg
2004-01-17 16:02     ` Bartlomiej Zolnierkiewicz
2004-01-18 11:52       ` Arkadiusz Miskiewicz
2004-01-18 12:25         ` Sam Ravnborg
2004-01-18 12:56         ` Bartlomiej Zolnierkiewicz
2004-01-20  2:01   ` Rusty Russell
2004-01-20 15:45     ` Bartlomiej Zolnierkiewicz [this message]

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=200401201645.48611.bzolnier@elka.pw.edu.pl \
    --to=b.zolnierkiewicz@elka.pw.edu.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /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

Powered by JetHome