Re: [PATCH 1/1] tools: net: bpf_dbg.c fixed keyboard typo

From: Ozgur Karatas
Date: Fri Dec 16 2016 - 13:58:56 EST


16.12.2016, 20:35, "Joe Perches" <joe@xxxxxxxxxxx>:
> On Fri, 2016-12-16 at 20:21 +0200, Ozgur Karatas wrote:
>> ÂThis patch fixed to keyboard typo, brackets not closed.
>> ÂI think, it should be close to parenthes.
>
> No.
>
> Please compile and test your patches on your own system
> before you send them.

Also, checkpatch script give a error, it should not forget.

$ ./scripts/checkpatch.pl --file --terse tools/net/bpf_dbg.c
tools/net/bpf_dbg.c:1216: ERROR: do not use assignment in if condition

After fix:

$ ./scripts/checkpatch.pl --file --terse tools/net/bpf_dbg.c
total: 0 errors, 6 warnings, 1395 lines checked

Regards,

~Ozgur