Re: [patch] printk and dma_addr_t

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Feb 13 2002 - 05:23:50 EST


> From: Alan Cox <alan@lxorguk.ukuu.org.uk>
> Date: Wed, 13 Feb 2002 09:40:44 +0000 (GMT)
>
> Vomit. How about adding a dma_addr_t %code to the printk function ?
>
> And gcc will discover this via what? Osmosis perhaps? :-)

Yeah, seems gcc is a bit lacking in its overclever printf handlers. It
lacks the ability to declare additional non standard % code - despite the
fact glibc itself expands on the standard

       glibc 2.0 adds conversion characters C and S.

       glibc 2.1 adds length modifiers hh,j,t,z and conversion
       characters a,A.

       glibc 2.2 adds the conversion character F with C99 seman-
       tics, and the flag character I.

So how do they modify the printf format rules in gcc ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:53 EST