> +     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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to