]> git.pld-linux.org Git - packages/kernel.git/blame - linux-static-dev.patch
- applies
[packages/kernel.git] / linux-static-dev.patch
CommitLineData
5e0770e3
PS
1--- a/drivers/char/misc.c.orig 2004-12-24 22:35:28.000000000 +0100
2+++ b/drivers/char/misc.c 2005-01-05 11:16:47.000000000 +0100
fb985d9a 3@@ -220,7 +220,7 @@
4 }
5
6 if (misc->minor == MISC_DYNAMIC_MINOR) {
7- int i = DYNAMIC_MINORS;
17ab2383 8+ int i = DYNAMIC_MINORS - 3 /* reserved */;
fb985d9a 9 while (--i >= 0)
10 if ( (misc_minors[i>>3] & (1 << (i&7))) == 0)
11 break;
5e0770e3
PS
12--- a/drivers/md/dm-ioctl.c.orig 2004-12-24 22:34:29.000000000 +0100
13+++ b/drivers/md/dm-ioctl.c 2005-01-05 11:11:39.000000000 +0100
fb985d9a 14@@ -1374,7 +1374,7 @@
15 };
16
17 static struct miscdevice _dm_misc = {
18- .minor = MISC_DYNAMIC_MINOR,
19+ .minor = 63 /* MISC_DYNAMIC_MINOR */,
20 .name = DM_NAME,
fb985d9a 21 .fops = &_ctl_fops
b01f7e3e 22 };
This page took 0.187339 seconds and 4 git commands to generate.