Re: "eliminate warn_on_slowpath()" change causes many gcc-3.2.3 warnings

From: H. Peter Anvin
Date: Sat Jan 17 2009 - 16:11:47 EST


Kyle McMartin wrote:
>
> How about something utterly evil? (Since you can't pass a zero-length
> string to a printf attributed function either...)
>

?!

*That* should definitely be permitted... anything else is an utter bug.

On the other hand, having a global empty string in the kernel isn't a
bad thing.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/