* [PATCH] drivers/block/nbd.c compile fix
@ 2006-06-30 12:16 Ingo van Lil
0 siblings, 0 replies; only message in thread
From: Ingo van Lil @ 2006-06-30 12:16 UTC (permalink / raw)
To: linux-kernel
Hello everybody,
the Network Block Device driver doesn't compile if NDEBUG is defined.
Cheers,
Ingo
Signed-off-by: Ingo van Lil <inguin@gmx.de>
---
--- linux-2.6.16/drivers/block/nbd.c.orig 2006-06-30 12:34:13.000000000 +0200
+++ linux-2.6.16/drivers/block/nbd.c 2006-06-30 12:34:28.000000000 +0200
@@ -82,9 +82,9 @@
#define DBG_RX 0x0200
#define DBG_TX 0x0400
static unsigned int debugflags;
-static unsigned int nbds_max = 16;
#endif /* NDEBUG */
+static unsigned int nbds_max = 16;
static struct nbd_device nbd_dev[MAX_NBD];
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-30 12:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-30 12:16 [PATCH] drivers/block/nbd.c compile fix Ingo van Lil
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