mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bob Miller <rem@osdl.org>
To: rusty@rustcorp.com.au
Cc: linux-kernel@vger.kernel.org
Subject: [rem@osdl.org: [TRIVIAL PATCH 2.5.47] Fix char/raw.c to build as module]
Date: Thu, 14 Nov 2002 10:16:01 -0800	[thread overview]
Message-ID: <20021114181601.GA4542@doc.pdx.osdl.net> (raw)

Rusty,

Please don't apply this patch.  There's a bug in it. I'll send
the right version sortly.

TIA.

----- Forwarded message from Bob Miller <rem@osdl.org> -----

Date: 	Wed, 13 Nov 2002 14:25:54 -0800
To: trivial@rustcorp.com.au
Cc: linux-kernel@vger.kernel.org
From: Bob Miller <rem@osdl.org>
Subject: [TRIVIAL PATCH 2.5.47] Fix char/raw.c to build as module

Small fixes that lets the raw driver be built as a module.

diff -Nru a/drivers/char/raw.c b/drivers/char/raw.c
--- a/drivers/char/raw.c	Wed Nov 13 14:09:57 2002
+++ b/drivers/char/raw.c	Wed Nov 13 14:09:57 2002
@@ -103,7 +103,7 @@
 {
 	struct block_device *bdev = filp->private_data;
 
-	return blkdev_ioctl(bdev->bd_inode, NULL, command, arg);
+	return ioctl_by_bdev(bdev->bd_inode, command, arg);
 }
 
 /*
@@ -241,3 +241,4 @@
 
 module_init(raw_init);
 module_exit(raw_exit);
+MODULE_LICENSE("GPL");
 
-- 
Bob Miller					Email: rem@osdl.org
Open Source Development Lab			Phone: 503.626.2455 Ext. 17
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

                 reply	other threads:[~2002-11-14 18: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=20021114181601.GA4542@doc.pdx.osdl.net \
    --to=rem@osdl.org \
    --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