[Ocfs2-devel] Request to remove -Wfno-format
Mark Fasheh
mark.fasheh at oracle.com
Fri Feb 13 19:18:41 CST 2004
On Fri, Feb 13, 2004 at 07:09:40PM -0800, Rusty Lynch wrote:
> I have something here that instead of doing crazy cast, with define a U64_MODIFIER
> that will expand appropriatly. So... it's always correct and much easier on the eyes.
>
> printk's would look something like:
>
> printk(KERN_DEBUG "size_t is %Zu, and a u64 is " U64_MODIFIER "\n", asize, au64value);
>
> Let me do one more verification on the patch and I will send it out.
>
> --rusty
Have you seen how often we print out __u64's? I predict that chopping up our
format strings with that will be much uglier than a cast macro ;)
--Mark
--
Mark Fasheh
Software Developer, Oracle Corp
mark.fasheh at oracle.com
More information about the Ocfs2-devel
mailing list