From: "Thomas Maier" <balagi@justmail.de>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "Peter Osterlund" <petero2@telia.com>, "akpm@osdl.org" <akpm@osdl.org>
Subject: [PATCH 1/2] 2.6.19-rc1-mm1 pktcdvd: init pktdev_major
Date: Sat, 14 Oct 2006 20:03:21 +0200 [thread overview]
Message-ID: <op.thfa3vzviudtyh@master> (raw)
In-Reply-To: <m3k63emtma.fsf@telia.com>
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
Hello,
this is a bugfix for pktcdvd.c:
pktdev_major must be initialized to 0.
Signed-off-by: Thomas Maier <balagi@justmail.de>
[-- Attachment #2: pktcdvd-1-init-pktdev_major.patch --]
[-- Type: application/octet-stream, Size: 545 bytes --]
diff -urpN linux-2.6.19-rc1-mm1/drivers/block/pktcdvd.c 1-init-pktdev_major/drivers/block/pktcdvd.c
--- linux-2.6.19-rc1-mm1/drivers/block/pktcdvd.c 2006-10-14 13:46:04.000000000 +0200
+++ 1-init-pktdev_major/drivers/block/pktcdvd.c 2006-10-14 13:50:54.000000000 +0200
@@ -83,7 +83,7 @@
static struct pktcdvd_device *pkt_devs[MAX_WRITERS];
static struct proc_dir_entry *pkt_proc;
-static int pktdev_major;
+static int pktdev_major = 0;
static struct mutex ctl_mutex; /* Serialize open/close/setup/teardown */
static mempool_t *psd_pool;
next prev parent reply other threads:[~2006-10-14 18:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-03 15:26 [PATCH 7/11] 2.6.18-mm3 pktcdvd: make procfs interface optional Thomas Maier
2006-10-05 19:48 ` Peter Osterlund
2006-10-14 18:03 ` Thomas Maier [this message]
2006-10-14 18:05 ` [PATCH 1/2] 2.6.19-rc1-mm1 pktcdvd: init pktdev_major Peter Osterlund
2006-10-05 19:59 ` [PATCH 7/11] 2.6.18-mm3 pktcdvd: make procfs interface optional Peter Osterlund
2006-10-09 10:05 ` Thomas Maier
2006-10-09 17:07 ` Ingo Oeser
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=op.thfa3vzviudtyh@master \
--to=balagi@justmail.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=petero2@telia.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.