Skip to content

Malta: massive code cleanup

Dmitri Vorobiev linux-mips lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17Malta: use Linux kernel style for structure initializationarch/mips/mips-boards/malta/malta_setup.c+42 -140 replies
2/17Malta: use the KERN_ facility level in printk()arch/mips/mips-boards/malta/malta_int.c+14 -130 replies
3/17Malta: check the PCI clock frequency in a separate functionarch/mips/mips-boards/malta/malta_setup.c+25 -180 replies
4/17Malta: set up the screen info in a separate functionarch/mips/mips-boards/malta/malta_setup.c+22 -170 replies
5/17Malta: use tabs not spacesarch/mips/mips-boards/malta/malta_int.c arch/mips/mips-boards/malta/malta_smtc.c+34 -340 replies
6/17Malta: remove a dead function declarationarch/mips/mips-boards/malta/malta_setup.c+0 -10 replies
7/17Malta: fix oversized lines in malta_int.carch/mips/mips-boards/malta/malta_int.c+16 -60 replies
8/17Malta, Atlas, Sead: remove an extern from .c filesarch/mips/mips-boards/atlas/atlas_setup.c arch/mips/mips-boards/malta/malta_setup.c arch/mips/mips-boards/sead/sead_setup.c +1 more+2 -60 replies
9/17Malta: include <linux/cpu.h> instead of <asm/cpu.h>arch/mips/mips-boards/malta/malta_int.c arch/mips/mips-boards/malta/malta_setup.c+4 -40 replies
10/17Malta: remove a superfluous commentarch/mips/mips-boards/malta/malta_int.c+0 -10 replies
11/17Malta: else should follow close brace in malta_int.carch/mips/mips-boards/malta/malta_int.c+2 -40 replies
12/17Malta: Use C89 style for commentsarch/mips/mips-boards/malta/malta_int.c+2 -20 replies
13/17Malta, Atlas: move an extern function declaration to the header filearch/mips/mips-boards/atlas/atlas_setup.c arch/mips/mips-boards/malta/malta_setup.c include/asm-mips/mips-boards/generic.h+4 -80 replies
14/17Malta: fix braces at single statement blocksarch/mips/mips-boards/malta/malta_int.c arch/mips/mips-boards/malta/malta_setup.c+3 -30 replies
15/17Malta: make the helper function staticarch/mips/mips-boards/malta/malta_setup.c+1 -10 replies
16/17Malta: remaining bits of the board support code cleanuparch/mips/mips-boards/malta/malta_setup.c+42 -380 replies
17/17remove Documentation/mips/GT64120.READMEDocumentation/mips/00-INDEX Documentation/mips/GT64120.README+0 -670 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/17] [MIPS] Malta: massive code cleanup

Ralf,

This is the Malta cleanup, which I was talking about some time ago.

The patches should be fairly obvious. They make no functional changes.

Build tests passed successfully when I used the default configs for Atlas, Malta and SEAD.

Just in case, I also ran boot tests, which passed successfully with the default Malta config and a Qemu-emulated Malta board in both BE and LE modes.

The net effect is that the number of errors, warnings, and checks reported by checkpatch.pl changes as follows:

Before:

--------------------------------------------
| errors | warnings | checks
--------------------------------------------
malta_int.c | 47 | 20 | 1
--------------------------------------------
malta_setup.c | 3 | 21 | 3
--------------------------------------------
malta_smtc.c | 2 | 0 | 0
--------------------------------------------

After:

--------------------------------------------
| errors | warnings | checks
--------------------------------------------
malta_int.c | 0 | 0 | 0
--------------------------------------------
malta_setup.c | 0 | 0 | 0
--------------------------------------------
malta_smtc.c | 0 | 0 | 0
--------------------------------------------

The last patch in the series removes a very obsolete and misleading document from Documentation/mips.

Please consider.

Thanks,

Dmitri