lkml.org 
[lkml]   [2010]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 27/66] include/linux/raw.h: Checkpatch cleanup
    Date
    include/linux/raw.h:6: ERROR: space prohibited after that open parenthesis '('
    include/linux/raw.h:6: ERROR: space prohibited before that close parenthesis ')'
    include/linux/raw.h:7: ERROR: space prohibited after that open parenthesis '('
    include/linux/raw.h:7: ERROR: space prohibited before that close parenthesis ')'
    include/linux/raw.h:9: ERROR: trailing whitespace
    include/linux/raw.h:10: ERROR: open brace '{' following struct go on the same line

    Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
    ---
    include/linux/raw.h | 7 +++----
    1 files changed, 3 insertions(+), 4 deletions(-)

    diff --git a/include/linux/raw.h b/include/linux/raw.h
    index 62d543e..01d635b 100644
    --- a/include/linux/raw.h
    +++ b/include/linux/raw.h
    @@ -3,11 +3,10 @@

    #include <linux/types.h>

    -#define RAW_SETBIND _IO( 0xac, 0 )
    -#define RAW_GETBIND _IO( 0xac, 1 )
    +#define RAW_SETBIND _IO(0xac, 0)
    +#define RAW_GETBIND _IO(0xac, 1)

    -struct raw_config_request
    -{
    +struct raw_config_request {
    int raw_minor;
    __u64 block_major;
    __u64 block_minor;
    --
    1.7.0.90.g251a4


    \
     
     \ /
      Last update: 2010-02-27 17:57    [W:0.023 / U:93.872 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site