This patch has been submitted to linux-kernel and is being reviewed and changing. When that is done I'll replace this one with whatever comes out there.
> -----Original Message----- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Bart Van Assche > Sent: Friday, August 05, 2011 1:40 PM > To: rpear...@systemfabricworks.com > Cc: linux-rdma@vger.kernel.org > Subject: Re: [patch v2 01/37] add slice by 8 algorithm to crc32.c > > On Sun, Jul 24, 2011 at 9:43 PM, <rpear...@systemfabricworks.com> wrote: > > -#if CRC_BE_BITS > 8 || CRC_BE_BITS < 1 || CRC_BE_BITS & CRC_BE_BITS-1 > > -# error CRC_BE_BITS must be a power of 2 between 1 and 8 > > +#if CRC_BE_BITS > 64 || CRC_BE_BITS < 1 || CRC_BE_BITS == 16 || \ > > + CRC_BE_BITS & CRC_BE_BITS-1 > > +# error "CRC_BE_BITS must be one of {1, 2, 4, 8, 32, 64}" > > #endif > > It's a little unfortunate that Roland's macro > BUILD_BUG_ON_NOT_POWER_OF_2() can't be used in the above - that > would > make the "CRC_BE_BITS & CRC_BE_BITS-1" part more readable. > > Bart. > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html