* [PATCH] cciss: avoid defining useless MAJOR_NR macro
@ 2006-01-06 20:55 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-01-06 20:55 UTC (permalink / raw)
To: Andrew Morton; +Cc: Christoph Hellwig, mike.miller, linux-kernel
From: Christoph Hellwig <hch@lst.de>
this sneaked in with one of the updates
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was sent by Christoph Hellwig on:
- 4 May 2005
--- 1.136/drivers/block/cciss.c 2005-03-10 09:38:39 +01:00
+++ edited/drivers/block/cciss.c 2005-03-12 09:12:51 +01:00
@@ -2762,7 +2762,7 @@
* 8 controller support.
*/
if (i < MAX_CTLR_ORIG)
- hba[i]->major = MAJOR_NR + i;
+ hba[i]->major = COMPAQ_CISS_MAJOR + i;
rc = register_blkdev(hba[i]->major, hba[i]->devname);
if(rc == -EBUSY || rc == -EINVAL) {
printk(KERN_ERR
--- 1.27/drivers/block/cciss.h 2005-03-10 09:38:39 +01:00
+++ edited/drivers/block/cciss.h 2005-03-12 09:12:30 +01:00
@@ -13,8 +13,6 @@
#define IO_OK 0
#define IO_ERROR 1
-#define MAJOR_NR COMPAQ_CISS_MAJOR
-
struct ctlr_info;
typedef struct ctlr_info ctlr_info_t;
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH] cciss: avoid defining useless MAJOR_NR macro
@ 2005-05-04 19:35 Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2005-05-04 19:35 UTC (permalink / raw)
To: mike.miller; +Cc: linux-kernel
this sneaked in with one of the recent updates
--- 1.136/drivers/block/cciss.c 2005-03-10 09:38:39 +01:00
+++ edited/drivers/block/cciss.c 2005-03-12 09:12:51 +01:00
@@ -2762,7 +2762,7 @@
* 8 controller support.
*/
if (i < MAX_CTLR_ORIG)
- hba[i]->major = MAJOR_NR + i;
+ hba[i]->major = COMPAQ_CISS_MAJOR + i;
rc = register_blkdev(hba[i]->major, hba[i]->devname);
if(rc == -EBUSY || rc == -EINVAL) {
printk(KERN_ERR
--- 1.27/drivers/block/cciss.h 2005-03-10 09:38:39 +01:00
+++ edited/drivers/block/cciss.h 2005-03-12 09:12:30 +01:00
@@ -13,8 +13,6 @@
#define IO_OK 0
#define IO_ERROR 1
-#define MAJOR_NR COMPAQ_CISS_MAJOR
-
struct ctlr_info;
typedef struct ctlr_info ctlr_info_t;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-06 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-06 20:55 [PATCH] cciss: avoid defining useless MAJOR_NR macro Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-05-04 19:35 Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox