[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200911061700.27493.rusty@rustcorp.com.au>
Date: Fri, 6 Nov 2009 17:00:26 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Hollis Blanchard <hollisb@...ibm.com>,
Jan Beulich <JBeulich@...ell.com>, akpm@...ux-foundation.org,
linuxppc-dev@...ts.ozlabs.org, kvm-ppc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-next@...r.kernel.org
Subject: Re: [PATCH] BUILD_BUG_ON: make it handle more cases
On Thu, 5 Nov 2009 05:08:42 pm Stephen Rothwell wrote:
> Hi Rusty,
>
> On Thu, 5 Nov 2009 16:58:36 +1030 Rusty Russell <rusty@...tcorp.com.au> wrote:
> >
> > Huh? virtio_has_feature does:
> >
> > if (__builtin_constant_p(fbit))
> > BUILD_BUG_ON(fbit >= 32);
> > else
> > BUG_ON(fbit >= 32);
>
> In Linus' tree (and linux-next) it looks like this:
Ah. My patch series fixes that as part of removing MAYBE_BUILD_BUG_ON.
I've put both in for linux-next.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists