From: William Stinson <wstinson@infonie.fr>
To: linux-kernel@vger.kernel.org
Cc: ak@muc.de
Subject: [PATCH] small patch to fix compilation error in drivers/char/rocket.c
Date: Sat, 9 Mar 2002 11:09:33 +0000 [thread overview]
Message-ID: <3C81318C00184C5A@mail.libertysurf.net> (raw)
Hi
this is a (trivial) patch for compilation error in the rocketport serial driver.
Patch for 2.5.6. Please CC' my for any answers/comments.
I also put this patch at http://www.chez.com/wstinson/linux/kernel/patch-rocket
William Stinson (wstinson@infonie.fr)
--- linux-2.5.6/drivers/char/rocket.c Sat Mar 9 01:06:58 2002
+++ linux-local/drivers/char/rocket.c Sat Mar 9 01:09:20 2002
@@ -227,7 +227,7 @@
if (!info)
return 1;
if (info->magic != RPORT_MAGIC) {
- printk(badmagic, MAJOR(device), MINOR(device), routine);
+ printk(badmagic, major(device), minor(device), routine);
return 1;
}
#endif
@@ -896,7 +896,7 @@
CHANNEL_t *cp;
unsigned long page;
- line = MINOR(tty->device) - tty->driver.minor_start;
+ line = minor(tty->device) - tty->driver.minor_start;
if ((line < 0) || (line >= MAX_RP_PORTS))
return -ENODEV;
if (!tmp_buf) {
_______________________________________________
Kernel-janitor-discuss mailing list
Kernel-janitor-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kernel-janitor-discuss
-------------------------------------------------------
reply other threads:[~2002-03-09 10:09 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=3C81318C00184C5A@mail.libertysurf.net \
--to=wstinson@infonie.fr \
--cc=ak@muc.de \
--cc=linux-kernel@vger.kernel.org \
/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®