Re: [PATCH] a more efficient BUG() macro

From: Andrew Morton (andrewm@uow.edu.au)
Date: Sat Feb 17 2001 - 20:50:21 EST

  • Next message: Andre Tomt: "2.4.1 crashing every other day"

    "J . A . Magallon" wrote:
    >
    > On 02.18 Andrew Morton wrote:
    > >
    > > __BASE_FILE__ does this. It expands to the thing which you
    > > typed on the `gcc' command line.
    > >
    > ..
    > > 3 at a.c
    > > 3 at a.c
    >
    > I also thought that, but look at the line numbers...wrong and repeated.

    Sure. There's no __BASE_LINE__.

    I don't think providing file-n-line in BUG() provides much utility. Just
    remove it. Replace it with "please feed the following into ksymoops".
    -
    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/



    This archive was generated by hypermail 2b29 : Sat Feb 17 2001 - 20:42:27 EST