• David Howells's avatar
    [PATCH] FDPIC: Adjust the ELF-FDPIC driver to conform more to the CodingStyle · 8a2ab7f5
    David Howells authored
    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: default avatarDavid Howells <dhowells@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    8a2ab7f5
binfmt_elf_fdpic.c 29.9 KB