Re: [PATCH 5/5] serial: 8250_dw: Set FIFO size dynamically

From: Alan Cox
Date: Wed Nov 28 2012 - 08:12:59 EST


> + if (!reg || (reg & 0xff) != '*')
> + return;
> +

That looks bogus. If reg == 0 then reg & 0xFF != '*'

So why the double test ?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/