On Thu, 2 Feb 2012, Michel [ISO-8859-1] D?nzer wrote:
>> +#define I2F_MAX_BITS 15 >> +#define I2F_MAX_INPUT ((2 << I2F_MAX_BITS) - 1) > > Should be ((1 << I2F_MAX_BITS) - 1): 2^n == (1 << n) > Right. I'll fix it. > Use WARN_ON_ONCE here to avoid spamming the kernel output. If this is > ever hit again, it won't happen just once. > > I agree. v2 coming shortly. -- Ilija