• Eldad Zack's avatar
    net/ipv6/af_inet6.c: checkpatch cleanup · 647c0c70
    Eldad Zack authored
    af_inet6.c:80: ERROR: do not initialise statics to 0 or NULL
    af_inet6.c:259: ERROR: spaces required around that '=' (ctx:VxV)
    af_inet6.c:394: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:412: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:422: ERROR: do not use assignment in if condition
    af_inet6.c:425: ERROR: do not use assignment in if condition
    af_inet6.c:433: ERROR: do not use assignment in if condition
    af_inet6.c:437: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:446: ERROR: spaces required around that '=' (ctx:VxV)
    af_inet6.c:478: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:485: ERROR: that open brace { should be on the previous line
    af_inet6.c:485: ERROR: space required before the open parenthesis '('
    af_inet6.c:513: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:629: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:647: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:687: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:709: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
    af_inet6.c:1073: ERROR: space required before the open parenthesis '('
    Signed-off-by: default avatarEldad Zack <eldad@fogrefinery.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    647c0c70
af_inet6.c 29.8 KB