[Letux-kernel] [PATCH v3] extcon: palmas: hide error messages if gpio returns -EPROBE_DEFER

Ladislav Michl ladis at linux-mips.org
Tue Feb 18 12:49:02 CET 2020


Hi Nikolaus,

On Mon, Feb 17, 2020 at 09:25:32PM +0100, H. Nikolaus Schaller wrote:
> > The rest of discussion
> > would need disassembly and I'll do it once I'll be waiting for yet another
> > long run recompile.
> 
> :)

Just FYI, original compiled with gcc-8.2.1:
   text    data     bss     dec     hex filename
   4358     104       0    4462    116e drivers/extcon/extcon-palmas.o

Your patch:
   text    data     bss     dec     hex filename
   4382     104       0    4486    1186 drivers/extcon/extcon-palmas.o

My patch with printing error value:
   text	   data	    bss	    dec	    hex	filename
   4406	    104	      0	   4510	   119e	drivers/extcon/extcon-palmas.o

So even without disassembling numbers speak for themselves :)

	l.


More information about the Letux-kernel mailing list