]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
warning: fix init do_mounts_md c
authorIngo Molnar <mingo@elte.hu>
Mon, 18 Aug 2008 10:54:00 +0000 (12:54 +0200)
committerArjan van de Ven <arjan@linux.intel.com>
Sun, 12 Oct 2008 15:24:34 +0000 (08:24 -0700)
commit82cbc11a4146d6a8acd81f81f7fe17387668107f
tree9d1390d70610228e83f22b4f0870d37c3e3d9ccf
parent02c15def8400a974fbce02b4f2d65b38c839e88b
warning: fix init do_mounts_md c

fix warning:

  init/do_mounts_md.c: In function ‘md_run_setup’:
  init/do_mounts_md.c:282: warning: ISO C90 forbids mixed declarations and code

also, use the opportunity to put the RAID autodetection code
into a separate function - this also solves a checkpatch style warning.

No code changed:

md5:
   aa36a35faef371b05f1974ad583bdbbd  do_mounts_md.o.before.asm
   aa36a35faef371b05f1974ad583bdbbd  do_mounts_md.o.after.asm

Signed-off-by: Ingo Molnar <mingo@elte.hu>
init/do_mounts_md.c