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

Ladislav Michl
2020-02-18T11:49:08Z

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.