From: Paul Mackerras <paulus@samba.org>
To: torvalds@transmeta.com
Cc: benh@kernel.crashing.org, linux-kernel@vger.kernel.org
Subject: [PATCH] SET_MODULE_OWNER change in apm_emu.c
Date: Thu, 22 May 2003 11:24:04 +1000 [thread overview]
Message-ID: <16076.9908.786052.20735@argo.ozlabs.ibm.com> (raw)
Linus,
The patch below fixes drivers/macintosh/apm_emu.c by replacing the
SET_MODULE_OWNER with a statement that explicitly sets the owner field
of the proc_dir_entry that it creates.
Please apply.
Thanks,
Paul.
diff -urN linux-2.5/drivers/macintosh/apm_emu.c pmac-2.5/drivers/macintosh/apm_emu.c
--- linux-2.5/drivers/macintosh/apm_emu.c 2003-04-03 08:55:29.000000000 +1000
+++ pmac-2.5/drivers/macintosh/apm_emu.c 2003-05-21 13:40:54.000000000 +1000
@@ -524,7 +524,7 @@
apm_proc = create_proc_info_entry("apm", 0, NULL, apm_emu_get_info);
if (apm_proc)
- SET_MODULE_OWNER(apm_proc);
+ apm_proc->owner = THIS_MODULE;
misc_register(&apm_device);
reply other threads:[~2003-05-22 1:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=16076.9908.786052.20735@argo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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
all inboxes | Powered by JetHome®