Re: [PATCH] net: ethernet: realtek: atp: checkpatch errors and warnings corrected

From: David Miller
Date: Mon Oct 27 2014 - 18:54:01 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Mon, 27 Oct 2014 18:52:11 -0400 (EDT)

> From: Roberto Medina <robertoxmed@xxxxxxxxx>
> Date: Thu, 23 Oct 2014 19:10:00 +0200
>
>> From: Roberto Medina <robertoxmed@xxxxxxxxx>
>>
>> Several warnings and errors of coding style errors corrected.
>>
>> Signed-off-by: Roberto Medina <robertoxmed@xxxxxxxxx>
>
> Applied, thanks.

Wait, are you serious, you didn't even compile test this change?

For real?

In file included from drivers/net/ethernet/realtek/atp.c:146:0:
drivers/net/ethernet/realtek/atp.h:79:15: error: expected ʽ;ʼ, identifier or ʽ(ʼ before ʽunsignedʼ
static inline unsigned char inbyte(unsigned short port)
^
drivers/net/ethernet/realtek/atp.h:79:15: error: ʽinlineʼ in empty declaration

Don't even submit changes meant for inclusion if you're not even
willing to build test them.

And I'm very serious about this.