lkml.org 
[lkml]   [2006]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] drivers/block/nbd.c compile fix
    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];

    /*
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-06-30 14:19    [W:0.023 / U:1.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site