[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings removed from linux/dev/drivers/block/genhd.c
From: |
Alfred M. Szmidt |
Subject: |
Re: Warnings removed from linux/dev/drivers/block/genhd.c |
Date: |
Tue, 31 Jan 2006 00:39:39 +0100 |
add_bsd_partition() is only used when MACH _and_ CONFIG_BSD_DISKLABEL
are defined.
2006-01-31 Alfred M. Szmidt <ams@gnu.org>
* linux/dev/drivers/block/genhd.c (add_bsd_partition): Silence
compiler warning. Reported by Matheus Morais
<matheus.morais@gmail.com>
--- genhd.c 20 Jul 1999 20:33:55 +0200 1.4
+++ genhd.c 31 Jan 2006 00:35:47 +0100
@@ -111,7 +111,7 @@ static void add_partition (struct gendis
printk(" %s", disk_name(hd, minor, buf));
}
-#ifdef MACH
+#if MACH && CONFIG_BSD_DISKLABEL
static int mach_minor;
static void
add_bsd_partition (struct gendisk *hd, int minor, int slice,
- Warnings removed from linux/dev/drivers/block/genhd.c, Matheus Morais, 2006/01/30
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Neal H. Walfield, 2006/01/30
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Alfred M. Szmidt, 2006/01/30
- Message not available
- Re: Warnings removed from linux/dev/drivers/block/genhd.c,
Alfred M. Szmidt <=
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Neal H. Walfield, 2006/01/30
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Alfred M. Szmidt, 2006/01/30
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Neal H. Walfield, 2006/01/30
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Alfred M. Szmidt, 2006/01/30
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Marcus Brinkmann, 2006/01/30
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Matheus Morais, 2006/01/31
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Marcus Brinkmann, 2006/01/31
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Matheus Morais, 2006/01/31
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Alfred M. Szmidt, 2006/01/31
- Re: Warnings removed from linux/dev/drivers/block/genhd.c, Alfred M. Szmidt, 2006/01/31