[PATCH] FDPIC: Adjust the ELF-FDPIC driver to conform more to the CodingStyle
authorDavid Howells <dhowells@redhat.com>
Mon, 10 Jul 2006 11:44:53 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:21 +0000 (13:24 -0700)
commit8a2ab7f5df76b920d62b908919d987d3b8a82856
treecad7a9ce6a131ee092fcd5ad555869b30761d377
parent21ff821630c0e64f5d2fab96ced72000d77fa90b
[PATCH] FDPIC: Adjust the ELF-FDPIC driver to conform more to the CodingStyle

Adjust the ELF-FDPIC binfmt driver to conform much more to the CodingStyle,
silly though it may be.

Further changes:

 (*) Drop the casts to long for addresses in kdebug() statements (they're
     unsigned long already).

 (*) Use extra variables to avoid expressions longer than 80 chars by splitting
     the statement into multiple statements and letting the compiler optimise
     them back together.

 (*) Eliminate duplicate call of ksize() when working out how much space was
     actually allocated for the stack.

 (*) Discard the commented-out load_shlib prototype and op pointer as this will
     not be supported in ELF-FDPIC for the foreseeable future.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/binfmt_elf_fdpic.c