Advertisement
Spyros

checkapatch.pl

Jul 17th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. northpole@debian:~/gsoc$ ./checkpatch.pl --ignore COMPLEX_MACRO --no-tree --strict --file batman-adv/*.c
  2. total: 0 errors, 0 warnings, 0 checks, 1336 lines checked
  3.  
  4. NOTE: Ignored message types: COMPLEX_MACRO
  5.  
  6. batman-adv/bat_iv_ogm.c has no obvious style problems and is ready for submission.
  7. total: 0 errors, 0 warnings, 0 checks, 98 lines checked
  8.  
  9. NOTE: Ignored message types: COMPLEX_MACRO
  10.  
  11. batman-adv/bitarray.c has no obvious style problems and is ready for submission.
  12. total: 0 errors, 0 warnings, 0 checks, 1668 lines checked
  13.  
  14. NOTE: Ignored message types: COMPLEX_MACRO
  15.  
  16. batman-adv/bridge_loop_avoidance.c has no obvious style problems and is ready for submission.
  17. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  18. #28: FILE: compat.c:28:
  19. +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, 0)
  20.  
  21. total: 0 errors, 1 warnings, 0 checks, 67 lines checked
  22.  
  23. NOTE: Ignored message types: COMPLEX_MACRO
  24.  
  25. batman-adv/compat.c has style problems, please review.
  26.  
  27. If any of these errors are false positives, please report
  28. them to the maintainer, see CHECKPATCH in MAINTAINERS.
  29. total: 0 errors, 0 warnings, 0 checks, 421 lines checked
  30.  
  31. NOTE: Ignored message types: COMPLEX_MACRO
  32.  
  33. batman-adv/debugfs.c has no obvious style problems and is ready for submission.
  34. total: 0 errors, 0 warnings, 0 checks, 721 lines checked
  35.  
  36. NOTE: Ignored message types: COMPLEX_MACRO
  37.  
  38. batman-adv/gateway_client.c has no obvious style problems and is ready for submission.
  39. total: 0 errors, 0 warnings, 0 checks, 188 lines checked
  40.  
  41. NOTE: Ignored message types: COMPLEX_MACRO
  42.  
  43. batman-adv/gateway_common.c has no obvious style problems and is ready for submission.
  44. total: 0 errors, 0 warnings, 0 checks, 588 lines checked
  45.  
  46. NOTE: Ignored message types: COMPLEX_MACRO
  47.  
  48. batman-adv/hard-interface.c has no obvious style problems and is ready for submission.
  49. total: 0 errors, 0 warnings, 0 checks, 78 lines checked
  50.  
  51. NOTE: Ignored message types: COMPLEX_MACRO
  52.  
  53. batman-adv/hash.c has no obvious style problems and is ready for submission.
  54. total: 0 errors, 0 warnings, 0 checks, 348 lines checked
  55.  
  56. NOTE: Ignored message types: COMPLEX_MACRO
  57.  
  58. batman-adv/icmp_socket.c has no obvious style problems and is ready for submission.
  59. total: 0 errors, 0 warnings, 0 checks, 765 lines checked
  60.  
  61. NOTE: Ignored message types: COMPLEX_MACRO
  62.  
  63. batman-adv/main.c has no obvious style problems and is ready for submission.
  64. total: 0 errors, 0 warnings, 0 checks, 657 lines checked
  65.  
  66. NOTE: Ignored message types: COMPLEX_MACRO
  67.  
  68. batman-adv/originator.c has no obvious style problems and is ready for submission.
  69. total: 0 errors, 0 warnings, 0 checks, 51 lines checked
  70.  
  71. NOTE: Ignored message types: COMPLEX_MACRO
  72.  
  73. batman-adv/ring_buffer.c has no obvious style problems and is ready for submission.
  74. total: 0 errors, 0 warnings, 0 checks, 1213 lines checked
  75.  
  76. NOTE: Ignored message types: COMPLEX_MACRO
  77.  
  78. batman-adv/routing.c has no obvious style problems and is ready for submission.
  79. total: 0 errors, 0 warnings, 0 checks, 343 lines checked
  80.  
  81. NOTE: Ignored message types: COMPLEX_MACRO
  82.  
  83. batman-adv/send.c has no obvious style problems and is ready for submission.
  84. total: 0 errors, 0 warnings, 0 checks, 577 lines checked
  85.  
  86. NOTE: Ignored message types: COMPLEX_MACRO
  87.  
  88. batman-adv/soft-interface.c has no obvious style problems and is ready for submission.
  89. total: 0 errors, 0 warnings, 0 checks, 806 lines checked
  90.  
  91. NOTE: Ignored message types: COMPLEX_MACRO
  92.  
  93. batman-adv/sysfs.c has no obvious style problems and is ready for submission.
  94. total: 0 errors, 0 warnings, 0 checks, 2396 lines checked
  95.  
  96. NOTE: Ignored message types: COMPLEX_MACRO
  97.  
  98. batman-adv/translation-table.c has no obvious style problems and is ready for submission.
  99. total: 0 errors, 0 warnings, 0 checks, 371 lines checked
  100.  
  101. NOTE: Ignored message types: COMPLEX_MACRO
  102.  
  103. batman-adv/unicast.c has no obvious style problems and is ready for submission.
  104. total: 0 errors, 0 warnings, 0 checks, 955 lines checked
  105.  
  106. NOTE: Ignored message types: COMPLEX_MACRO
  107.  
  108. batman-adv/vis.c has no obvious style problems and is ready for submission.
  109.  
  110.  
  111. northpole@debian:~/gsoc$ ./checkpatch.pl --ignore COMPLEX_MACRO --no-tree --strict --file batman-adv/*.h
  112. total: 0 errors, 0 warnings, 0 checks, 25 lines checked
  113.  
  114. NOTE: Ignored message types: COMPLEX_MACRO
  115.  
  116. batman-adv/bat_algo.h has no obvious style problems and is ready for submission.
  117. total: 0 errors, 0 warnings, 0 checks, 54 lines checked
  118.  
  119. NOTE: Ignored message types: COMPLEX_MACRO
  120.  
  121. batman-adv/bitarray.h has no obvious style problems and is ready for submission.
  122. total: 0 errors, 0 warnings, 0 checks, 108 lines checked
  123.  
  124. NOTE: Ignored message types: COMPLEX_MACRO
  125.  
  126. batman-adv/bridge_loop_avoidance.h has no obvious style problems and is ready for submission.
  127. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  128. #29: FILE: compat.h:29:
  129. +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
  130.  
  131. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  132. #38: FILE: compat.h:38:
  133. +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31)
  134.  
  135. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  136. #51: FILE: compat.h:51:
  137. +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33))
  138.  
  139. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  140. #58: FILE: compat.h:58:
  141. +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
  142.  
  143. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  144. #68: FILE: compat.h:68:
  145. +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 34)
  146.  
  147. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  148. #82: FILE: compat.h:82:
  149. +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35)
  150.  
  151. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  152. #90: FILE: compat.h:90:
  153. +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36)
  154.  
  155. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  156. #130: FILE: compat.h:130:
  157. +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
  158.  
  159. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  160. #138: FILE: compat.h:138:
  161. +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, 0)
  162.  
  163. WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
  164. #151: FILE: compat.h:151:
  165. +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
  166.  
  167. total: 0 errors, 10 warnings, 0 checks, 160 lines checked
  168.  
  169. NOTE: Ignored message types: COMPLEX_MACRO
  170.  
  171. batman-adv/compat.h has style problems, please review.
  172.  
  173. If any of these errors are false positives, please report
  174. them to the maintainer, see CHECKPATCH in MAINTAINERS.
  175. total: 0 errors, 0 warnings, 0 checks, 30 lines checked
  176.  
  177. NOTE: Ignored message types: COMPLEX_MACRO
  178.  
  179. batman-adv/debugfs.h has no obvious style problems and is ready for submission.
  180. total: 0 errors, 0 warnings, 0 checks, 40 lines checked
  181.  
  182. NOTE: Ignored message types: COMPLEX_MACRO
  183.  
  184. batman-adv/gateway_client.h has no obvious style problems and is ready for submission.
  185. total: 0 errors, 0 warnings, 0 checks, 37 lines checked
  186.  
  187. NOTE: Ignored message types: COMPLEX_MACRO
  188.  
  189. batman-adv/gateway_common.h has no obvious style problems and is ready for submission.
  190. total: 0 errors, 0 warnings, 0 checks, 70 lines checked
  191.  
  192. NOTE: Ignored message types: COMPLEX_MACRO
  193.  
  194. batman-adv/hard-interface.h has no obvious style problems and is ready for submission.
  195. total: 0 errors, 0 warnings, 0 checks, 166 lines checked
  196.  
  197. NOTE: Ignored message types: COMPLEX_MACRO
  198.  
  199. batman-adv/hash.h has no obvious style problems and is ready for submission.
  200. total: 0 errors, 0 warnings, 0 checks, 30 lines checked
  201.  
  202. NOTE: Ignored message types: COMPLEX_MACRO
  203.  
  204. batman-adv/icmp_socket.h has no obvious style problems and is ready for submission.
  205. total: 0 errors, 0 warnings, 0 checks, 335 lines checked
  206.  
  207. NOTE: Ignored message types: COMPLEX_MACRO
  208.  
  209. batman-adv/main.h has no obvious style problems and is ready for submission.
  210. total: 0 errors, 0 warnings, 0 checks, 97 lines checked
  211.  
  212. NOTE: Ignored message types: COMPLEX_MACRO
  213.  
  214. batman-adv/originator.h has no obvious style problems and is ready for submission.
  215. total: 0 errors, 0 warnings, 0 checks, 229 lines checked
  216.  
  217. NOTE: Ignored message types: COMPLEX_MACRO
  218.  
  219. batman-adv/packet.h has no obvious style problems and is ready for submission.
  220. total: 0 errors, 0 warnings, 0 checks, 27 lines checked
  221.  
  222. NOTE: Ignored message types: COMPLEX_MACRO
  223.  
  224. batman-adv/ring_buffer.h has no obvious style problems and is ready for submission.
  225. total: 0 errors, 0 warnings, 0 checks, 59 lines checked
  226.  
  227. NOTE: Ignored message types: COMPLEX_MACRO
  228.  
  229. batman-adv/routing.h has no obvious style problems and is ready for submission.
  230. total: 0 errors, 0 warnings, 0 checks, 35 lines checked
  231.  
  232. NOTE: Ignored message types: COMPLEX_MACRO
  233.  
  234. batman-adv/send.h has no obvious style problems and is ready for submission.
  235. total: 0 errors, 0 warnings, 0 checks, 30 lines checked
  236.  
  237. NOTE: Ignored message types: COMPLEX_MACRO
  238.  
  239. batman-adv/soft-interface.h has no obvious style problems and is ready for submission.
  240. total: 0 errors, 0 warnings, 0 checks, 42 lines checked
  241.  
  242. NOTE: Ignored message types: COMPLEX_MACRO
  243.  
  244. batman-adv/sysfs.h has no obvious style problems and is ready for submission.
  245. total: 0 errors, 0 warnings, 0 checks, 64 lines checked
  246.  
  247. NOTE: Ignored message types: COMPLEX_MACRO
  248.  
  249. batman-adv/translation-table.h has no obvious style problems and is ready for submission.
  250. total: 0 errors, 0 warnings, 0 checks, 421 lines checked
  251.  
  252. NOTE: Ignored message types: COMPLEX_MACRO
  253.  
  254. batman-adv/types.h has no obvious style problems and is ready for submission.
  255. total: 0 errors, 0 warnings, 0 checks, 58 lines checked
  256.  
  257. NOTE: Ignored message types: COMPLEX_MACRO
  258.  
  259. batman-adv/unicast.h has no obvious style problems and is ready for submission.
  260. total: 0 errors, 0 warnings, 0 checks, 36 lines checked
  261.  
  262. NOTE: Ignored message types: COMPLEX_MACRO
  263.  
  264. batman-adv/vis.h has no obvious style problems and is ready for submission.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement