The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Jan Beulich <JBeulich@novell.com>,
	Hollis Blanchard <hollisb@us.ibm.com>
Subject: [PULL] BUG_ON enhancements, remove MAYBE_BUILD_BUG_ON.
Date: Mon, 24 Jan 2011 14:46:41 +1030	[thread overview]
Message-ID: <201101241446.41821.rusty@rustcorp.com.au> (raw)

Hi Linus,

   These have been sitting in linux-next for several releases; this makes
BUG_ON cover a wider range of cases, and removes MAYBE_BUILD_BUG_ON which
can fail entirely.  Also adds some docs for BUG_ON.

The following changes since commit 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5:

  Linux 2.6.38-rc2 (2011-01-21 19:01:34 -0800)

are available in the git repository at:
  ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git BUG_ON

Rusty Russell (2):
      BUILD_BUG_ON: make it handle more cases
      Remove MAYBE_BUILD_BUG_ON

 include/linux/gfp.h           |    2 +-
 include/linux/kernel.h        |   32 ++++++++++++++++++++++++++------
 include/linux/kmemcheck.h     |    2 +-
 include/linux/virtio_config.h |    5 ++++-
 4 files changed, 32 insertions(+), 9 deletions(-)

                 reply	other threads:[~2011-01-24  4:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201101241446.41821.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=JBeulich@novell.com \
    --cc=hollisb@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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