Sergei Shtylyov 128296fc3f sh_eth: coding style fixes
Running 'scripts/checkpatch.pl' on the driver files gives numerous warnings:

- block comments using empty /* line;

- unneeded \ at end of lines;

- message string split across lines;

- use of __attribute__((aligned(n))) instead of __aligned(n) macro;

- use of __attribute__((packed)) instead of __packed macro.

Additionally, running 'scripts/checkpatch.pl --strict' gives more complaints:

- including the paragraph about writing to FSF into the heading comment;

- alignment not matching open paren;

- multiple assignments on one line;

- use of CamelCase names;

- missing {} on one of the *if* arms where another has them;

- spinlock definition without a comment.

While fixing these, also do some more style cleanups:

- remove useless () around expressions;

- add {} around multi-line *if* operator's arm;

- remove space before comma;

- add spaces after /* and before */;

- properly align continuation lines of broken up expressions;

- realign comments to the structure fields.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-03 20:49:20 -05:00
..
2013-11-27 01:03:27 +01:00
2013-12-06 08:30:18 -08:00
2013-10-29 12:53:07 +02:00
2013-12-19 14:40:29 -05:00
2013-12-08 18:47:25 -08:00
2013-11-07 19:24:20 +01:00
2013-12-12 11:05:19 -08:00
2013-12-02 21:11:30 +00:00
2013-12-13 13:22:22 -08:00
2013-12-08 18:47:25 -08:00
2014-01-03 20:49:20 -05:00
2013-12-11 10:56:21 -05:00
2013-11-15 14:05:15 -08:00
2013-10-24 16:18:40 +01:00
2013-12-10 13:12:28 +01:00
2013-11-18 15:35:09 -08:00
2013-12-06 08:30:18 -08:00
2013-11-29 12:53:19 -08:00
2013-12-06 15:22:05 -05:00
2013-12-10 08:48:15 +01:00
2013-12-02 10:12:01 -08:00