> compiling the kernel with -Wno-format is annoying for development and 
> hides real bugs. It seems gcc has attribute format kprintf since a few 
> years already. What is missing until we can remove -Wno-format? Any 
> pointers to prior discussions about this?

It is missing the actual format fixes in the tree. I have done a large
bunch of them but am sleeping on these changes.

> - define a few macros for special types, e.g. bus_addr_t and time_t 
> and use them

It was decided to cast bus_*_t to long long and print them with %lld,
rather than introduce kernel-only PRIfoo macros.

> Is there anything else? Do all used gcc versions support 'z' for 
> size_t?

Yes.

> Maybe a useful first step would be to remove -Wno-format and use -Wno-
> error=format instead?

No, this syntax is not understood by gcc < 4.

Reply via email to