Re: [PATCH 1/2] ext2: Reduce object size when !CONFIG_PRINTK

2013-06-21 Thread Joe Perches
On Fri, 2013-06-21 at 18:50 +0200, Jan Kara wrote: > On Tue 18-06-13 10:14:39, Joe Perches wrote: > > Reducing the object size ~5kb/15% could be useful for embedded > > systems. > > > > Add #ifdef CONFIG_PRINTK #else #endif blocks > > to hold formats and arguments, passing " " to > > functions whe

Re: [PATCH 1/2] ext2: Reduce object size when !CONFIG_PRINTK

2013-06-21 Thread Jan Kara
On Tue 18-06-13 10:14:39, Joe Perches wrote: > Reducing the object size ~5kb/15% could be useful for embedded > systems. > > Add #ifdef CONFIG_PRINTK #else #endif blocks > to hold formats and arguments, passing " " to > functions when !CONFIG_PRINTK and still verifying > format and arguments with

[PATCH 1/2] ext2: Reduce object size when !CONFIG_PRINTK

2013-06-18 Thread Joe Perches
Reducing the object size ~5kb/15% could be useful for embedded systems. Add #ifdef CONFIG_PRINTK #else #endif blocks to hold formats and arguments, passing " " to functions when !CONFIG_PRINTK and still verifying format and arguments with no_printk. $ size fs/ext2/built-in.o* text data