mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Jones <davej@suse.de>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Hugh Dickins <hugh@veritas.com>, Andrew Morton <akpm@zip.com.au>,
	Marcelo Tosatti <marcelo@conectiva.com.br>,
	Keith Owens <kaos@ocs.com.au>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] BUG() disassembly tweak
Date: Sat, 11 May 2002 00:51:15 +0200	[thread overview]
Message-ID: <20020511005115.N5262@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.21.0205102216160.3747-100000@localhost.localdomain> <Pine.LNX.4.33.0205101457120.22516-100000@penguin.transmeta.com>

On Fri, May 10, 2002 at 03:10:04PM -0700, Linus Torvalds wrote:
 > If it wants to be changed, I'd actually personally prefer it to be changed
 > to take an explicit string instead of using the filename/linenr at all.

rather than fixing up the gazillions of existing BUG()'s we have
littered through the tree, maybe we could default to current behaviour
if no argument is passed ?

Failing that, resurrecting the k_assert() idea someone proposed
(jgarzik?) a few months back.

One reason for doing this would be to make it less painful for people
writing drivers that compile on 2.4/2.6        

    Dave.

--   
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

  reply	other threads:[~2002-05-10 22:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10 21:22 Hugh Dickins
2002-05-10 22:10 ` Linus Torvalds
2002-05-10 22:51   ` Dave Jones [this message]
2002-05-11 11:42     ` Ingo Oeser
2002-05-10 22:58   ` Andrew Morton
2002-05-11  0:00     ` Keith Owens
2002-05-11  1:58       ` Hugh Dickins
2002-05-11  2:32         ` Kai Germaschewski
2002-05-11  3:03         ` Keith Owens
2002-05-11  1:04   ` Hugh Dickins
2002-05-11  1:34     ` Keith Owens
2002-05-11  1:39       ` Keith Owens
2002-05-11  2:07       ` Hugh Dickins
2002-05-11  2:21         ` Keith Owens
2002-05-13 15:31 ` Hugh Dickins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020511005115.N5262@suse.de \
    --to=davej@suse.de \
    --cc=akpm@zip.com.au \
    --cc=hugh@veritas.com \
    --cc=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®