Advertisement
Guest User

Untitled

a guest
Apr 11th, 2019
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.04 KB | None | 0 0
  1. arnd@threadripper:~/arm-soc/y2038$ make O=obj-s390 CROSS_COMPILE=/tmp/binutils-multi-test/bin/s390x-linux-gnu- CC=/tmp/binutils-multi-test/bin/clang ARCH=s390 -skj30
  2. In file included from ../arch/s390/boot/als.c:5:
  3. In file included from ../include/linux/kernel.h:12:
  4. In file included from ../include/linux/bitops.h:19:
  5. ../arch/s390/include/asm/bitops.h:76:22: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  6. to integer types with different sign [-Wpointer-sign]
  7. __atomic64_or(mask, addr);
  8. ^~~~
  9. ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
  10. __ATOMIC_OPS(__atomic64_or, long, "laog")
  11. ^
  12. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  13. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  14. ^
  15. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  16. static inline op_type op_name(op_type val, op_type *ptr) \
  17. ^
  18. In file included from ../arch/s390/boot/als.c:5:
  19. In file included from ../include/linux/kernel.h:12:
  20. In file included from ../include/linux/bitops.h:19:
  21. ../arch/s390/include/asm/bitops.h:97:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  22. to integer types with different sign [-Wpointer-sign]
  23. __atomic64_and(mask, addr);
  24. ^~~~
  25. ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
  26. __ATOMIC_OPS(__atomic64_and, long, "lang")
  27. ^
  28. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  29. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  30. ^
  31. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  32. static inline op_type op_name(op_type val, op_type *ptr) \
  33. ^
  34. In file included from ../arch/s390/boot/als.c:5:
  35. In file included from ../include/linux/kernel.h:12:
  36. In file included from ../include/linux/bitops.h:19:
  37. ../arch/s390/include/asm/bitops.h:118:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  38. to integer types with different sign [-Wpointer-sign]
  39. __atomic64_xor(mask, addr);
  40. ^~~~
  41. ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
  42. __ATOMIC_OPS(__atomic64_xor, long, "laxg")
  43. ^
  44. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  45. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  46. ^
  47. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  48. static inline op_type op_name(op_type val, op_type *ptr) \
  49. ^
  50. In file included from ../arch/s390/boot/als.c:5:
  51. In file included from ../include/linux/kernel.h:12:
  52. In file included from ../include/linux/bitops.h:19:
  53. ../arch/s390/include/asm/bitops.h:128:36: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  54. to integer types with different sign [-Wpointer-sign]
  55. old = __atomic64_or_barrier(mask, addr);
  56. ^~~~
  57. ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
  58. __ATOMIC_OPS(__atomic64_or, long, "laog")
  59. ^
  60. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  61. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  62. ^
  63. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  64. static inline op_type op_name(op_type val, op_type *ptr) \
  65. ^
  66. In file included from ../arch/s390/boot/als.c:5:
  67. In file included from ../include/linux/kernel.h:12:
  68. In file included from ../include/linux/bitops.h:19:
  69. ../arch/s390/include/asm/bitops.h:139:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  70. to integer types with different sign [-Wpointer-sign]
  71. old = __atomic64_and_barrier(mask, addr);
  72. ^~~~
  73. ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
  74. __ATOMIC_OPS(__atomic64_and, long, "lang")
  75. ^
  76. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  77. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  78. ^
  79. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  80. static inline op_type op_name(op_type val, op_type *ptr) \
  81. ^
  82. In file included from ../arch/s390/boot/als.c:5:
  83. In file included from ../include/linux/kernel.h:12:
  84. In file included from ../include/linux/bitops.h:19:
  85. ../arch/s390/include/asm/bitops.h:150:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  86. to integer types with different sign [-Wpointer-sign]
  87. old = __atomic64_xor_barrier(mask, addr);
  88. ^~~~
  89. ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
  90. __ATOMIC_OPS(__atomic64_xor, long, "laxg")
  91. ^
  92. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  93. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  94. ^
  95. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  96. static inline op_type op_name(op_type val, op_type *ptr) \
  97. ^
  98. In file included from ../arch/s390/boot/ipl_parm.c:2:
  99. In file included from ../include/linux/kernel.h:12:
  100. In file included from ../include/linux/bitops.h:19:
  101. ../arch/s390/include/asm/bitops.h:76:22: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  102. to integer types with different sign [-Wpointer-sign]
  103. __atomic64_or(mask, addr);
  104. ^~~~
  105. ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
  106. __ATOMIC_OPS(__atomic64_or, long, "laog")
  107. ^
  108. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  109. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  110. ^
  111. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  112. static inline op_type op_name(op_type val, op_type *ptr) \
  113. ^
  114. In file included from ../arch/s390/boot/ipl_parm.c:2:
  115. In file included from ../include/linux/kernel.h:12:
  116. In file included from ../include/linux/bitops.h:19:
  117. ../arch/s390/include/asm/bitops.h:97:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  118. to integer types with different sign [-Wpointer-sign]
  119. __atomic64_and(mask, addr);
  120. ^~~~
  121. ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
  122. __ATOMIC_OPS(__atomic64_and, long, "lang")
  123. ^
  124. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  125. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  126. ^
  127. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  128. static inline op_type op_name(op_type val, op_type *ptr) \
  129. ^
  130. In file included from ../arch/s390/boot/ipl_parm.c:2:
  131. In file included from ../include/linux/kernel.h:12:
  132. In file included from ../include/linux/bitops.h:19:
  133. ../arch/s390/include/asm/bitops.h:118:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  134. to integer types with different sign [-Wpointer-sign]
  135. __atomic64_xor(mask, addr);
  136. ^~~~
  137. ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
  138. __ATOMIC_OPS(__atomic64_xor, long, "laxg")
  139. ^
  140. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  141. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  142. ^
  143. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  144. static inline op_type op_name(op_type val, op_type *ptr) \
  145. ^
  146. In file included from ../arch/s390/boot/ipl_parm.c:2:
  147. In file included from ../include/linux/kernel.h:12:
  148. In file included from ../include/linux/bitops.h:19:
  149. ../arch/s390/include/asm/bitops.h:128:36: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  150. to integer types with different sign [-Wpointer-sign]
  151. old = __atomic64_or_barrier(mask, addr);
  152. ^~~~
  153. ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
  154. __ATOMIC_OPS(__atomic64_or, long, "laog")
  155. ^
  156. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  157. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  158. ^
  159. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  160. static inline op_type op_name(op_type val, op_type *ptr) \
  161. ^
  162. In file included from ../arch/s390/boot/ipl_parm.c:2:
  163. In file included from ../include/linux/kernel.h:12:
  164. In file included from ../include/linux/bitops.h:19:
  165. ../arch/s390/include/asm/bitops.h:139:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  166. to integer types with different sign [-Wpointer-sign]
  167. old = __atomic64_and_barrier(mask, addr);
  168. ^~~~
  169. ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
  170. __ATOMIC_OPS(__atomic64_and, long, "lang")
  171. ^
  172. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  173. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  174. ^
  175. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  176. static inline op_type op_name(op_type val, op_type *ptr) \
  177. ^
  178. In file included from ../arch/s390/boot/ipl_parm.c:2:
  179. In file included from ../include/linux/kernel.h:12:
  180. In file included from ../include/linux/bitops.h:19:
  181. ../arch/s390/include/asm/bitops.h:150:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  182. to integer types with different sign [-Wpointer-sign]
  183. old = __atomic64_xor_barrier(mask, addr);
  184. ^~~~
  185. ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
  186. __ATOMIC_OPS(__atomic64_xor, long, "laxg")
  187. ^
  188. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  189. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  190. ^
  191. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  192. static inline op_type op_name(op_type val, op_type *ptr) \
  193. ^
  194. In file included from ../arch/s390/boot/mem_detect.c:4:
  195. In file included from ../arch/s390/include/asm/sclp.h:11:
  196. In file included from ../arch/s390/include/asm/chpid.h:10:
  197. In file included from ../arch/s390/include/asm/cio.h:8:
  198. In file included from ../include/linux/spinlock.h:51:
  199. In file included from ../include/linux/preempt.h:11:
  200. In file included from ../include/linux/list.h:9:
  201. In file included from ../include/linux/kernel.h:12:
  202. In file included from ../include/linux/bitops.h:19:
  203. ../arch/s390/include/asm/bitops.h:76:22: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  204. to integer types with different sign [-Wpointer-sign]
  205. __atomic64_or(mask, addr);
  206. ^~~~
  207. ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
  208. __ATOMIC_OPS(__atomic64_or, long, "laog")
  209. ^
  210. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  211. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  212. ^
  213. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  214. static inline op_type op_name(op_type val, op_type *ptr) \
  215. ^
  216. In file included from ../arch/s390/boot/mem_detect.c:4:
  217. In file included from ../arch/s390/include/asm/sclp.h:11:
  218. In file included from ../arch/s390/include/asm/chpid.h:10:
  219. In file included from ../arch/s390/include/asm/cio.h:8:
  220. In file included from ../include/linux/spinlock.h:51:
  221. In file included from ../include/linux/preempt.h:11:
  222. In file included from ../include/linux/list.h:9:
  223. In file included from ../include/linux/kernel.h:12:
  224. In file included from ../include/linux/bitops.h:19:
  225. ../arch/s390/include/asm/bitops.h:97:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  226. to integer types with different sign [-Wpointer-sign]
  227. __atomic64_and(mask, addr);
  228. ^~~~
  229. ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
  230. __ATOMIC_OPS(__atomic64_and, long, "lang")
  231. ^
  232. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  233. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  234. ^
  235. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  236. static inline op_type op_name(op_type val, op_type *ptr) \
  237. ^
  238. In file included from ../arch/s390/boot/mem_detect.c:4:
  239. In file included from ../arch/s390/include/asm/sclp.h:11:
  240. In file included from ../arch/s390/include/asm/chpid.h:10:
  241. In file included from ../arch/s390/include/asm/cio.h:8:
  242. In file included from ../include/linux/spinlock.h:51:
  243. In file included from ../include/linux/preempt.h:11:
  244. In file included from ../include/linux/list.h:9:
  245. In file included from ../include/linux/kernel.h:12:
  246. In file included from ../include/linux/bitops.h:19:
  247. ../arch/s390/include/asm/bitops.h:118:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  248. to integer types with different sign [-Wpointer-sign]
  249. In file included from __atomic64_xor(mask, addr);
  250. ../arch/s390/boot/string.c: ^~~~3
  251. :
  252. In file included from ../include/linux/kernel.h../arch/s390/include/asm/atomic_ops.h::1238:
  253. :In file included from 1../include/linux/bitops.h::In file included from 19../arch/s390/boot/startup.c:
  254. :4note../arch/s390/include/asm/bitops.h:
  255. : :In file included from 76../arch/s390/include/asm/sclp.hpassing:: 2211argument::
  256. In file included from to../arch/s390/include/asm/chpid.h :parameterwarning10 : :
  257. 'ptr'In file included from ../arch/s390/include/asm/cio.hherepassing: 8
  258. 'unsigned long *':
  259. In file included from to../include/linux/spinlock.h :parameter__ATOMIC_OPS(__atomic64_xor, long, "laxg")51
  260. :
  261. In file included from ../include/linux/preempt.h:11:
  262. In file included from ^../include/linux/list.h
  263. :9of:
  264. ../arch/s390/include/asm/atomic_ops.hIn file included from type:../include/linux/kernel.h 27:'long *':12 2:
  265. converts:In file included from ../include/linux/bitops.hbetween: 19pointersnote:
  266.  
  267. : ../arch/s390/include/asm/bitops.htoexpanded: 76integerfrom: 22typesmacro: with'__ATOMIC_OPS' different
  268. warning : sign [-Wpointer-sign]passing __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  269.  
  270. 'unsigned long *' ^to
  271. parameter of type../arch/s390/include/asm/atomic_ops.h :'long *' __atomic64_or(mask, addr);14
  272. :converts53 ^~~~:between
  273. pointers
  274. note : to../arch/s390/include/asm/atomic_ops.h expanded:integer 37 from:types 1 macro:with '__ATOMIC_OP'different
  275. notesign: [-Wpointer-sign]passing static inline op_type op_name(op_type val, op_type *ptr) \
  276. argument
  277. to ^
  278. parameter 'ptr' here __atomic64_or(mask, addr);
  279.  
  280. ^~~~
  281. __ATOMIC_OPS(__atomic64_or, long, "laog")
  282. ../arch/s390/include/asm/atomic_ops.h:^37
  283. :1: note: ../arch/s390/include/asm/atomic_ops.h:passing27 :argument2 :to parameter note'ptr': In file included from ../arch/s390/boot/mem_detect.chereexpanded: 4
  284. from:
  285. In file included from macro../arch/s390/include/asm/sclp.h :'__ATOMIC_OPS'__ATOMIC_OPS(__atomic64_or, long, "laog")11
  286. :
  287.  
  288. In file included from ^../arch/s390/include/asm/chpid.h
  289. :10:
  290. In file included from ../arch/s390/include/asm/cio.h:8../arch/s390/include/asm/atomic_ops.h:
  291. __ATOMIC_OP(op_name, op_type, op_string, "\n") \:In file included from
  292. 27../include/linux/spinlock.h:: ^251
  293. ::
  294. In file included from ../include/linux/preempt.h../arch/s390/include/asm/atomic_ops.h::note1114: :
  295. :In file included from 53expanded../include/linux/list.h: : from9 :
  296. macroIn file included from note ../include/linux/kernel.h: '__ATOMIC_OPS':12expanded
  297. :
  298. In file included from from../include/linux/bitops.h :macro19 :
  299. __ATOMIC_OP(op_name, op_type, op_string, "\n") \'__ATOMIC_OP'
  300. ../arch/s390/include/asm/bitops.h
  301. : ^128
  302. :36: warning: ../arch/s390/include/asm/atomic_ops.hstatic inline op_type op_name(op_type val, op_type *ptr) \:
  303. 14passing: ^ 53
  304. 'unsigned long *': to parameternote : of expandedtype from'long *' macroconverts '__ATOMIC_OP'between
  305. pointers
  306. to integer types with different sign [-Wpointer-sign]
  307. old = __atomic64_or_barrier(mask, addr);
  308. static inline op_type op_name(op_type val, op_type *ptr) \ ^~~~
  309.  
  310. ^
  311. ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' In file included from here../arch/s390/boot/string.c:
  312. 3:
  313. In file included from ../include/linux/kernel.h:12:
  314. __ATOMIC_OPS(__atomic64_or, long, "laog")In file included from
  315. ../include/linux/bitops.h:^19
  316. :
  317. ../arch/s390/include/asm/bitops.h:../arch/s390/include/asm/atomic_ops.h97::2823::2 : warning: note: In file included from passing../arch/s390/boot/startup.cexpanded : 'unsigned long *'4from :
  318. toIn file included from macro ../arch/s390/include/asm/sclp.h parameter:'__ATOMIC_OPS' 11of:
  319.  
  320. In file included from type../arch/s390/include/asm/chpid.h : __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")'long *'10
  321. :
  322. convertsIn file included from ^ ../arch/s390/include/asm/cio.h
  323. between: 8pointers:
  324. ../arch/s390/include/asm/atomic_ops.h
  325. In file included from : ../include/linux/spinlock.h14to:: 5153integer:
  326. : In file included from types../include/linux/preempt.h :with11note :
  327. : differentIn file included from ../include/linux/list.hexpandedsign: 9from[-Wpointer-sign]:
  328. In file included from macro
  329. ../include/linux/kernel.h :'__ATOMIC_OP'12:
  330.  
  331. In file included from __atomic64_and(mask, addr);../include/linux/bitops.h
  332. :19static inline op_type op_name(op_type val, op_type *ptr) \ ^~~~:
  333.  
  334.  
  335. ../arch/s390/include/asm/bitops.h ^:
  336. 97../arch/s390/include/asm/atomic_ops.h::2336:: 1: warning: note: passing passing'unsigned long *' argumentto toparameter parameterof 'ptr'type here'long *'
  337. converts between pointers
  338. to integer __ATOMIC_OPS(__atomic64_and, long, "lang")types
  339. In file included from In file included from with^../arch/s390/boot/mem_detect.c../arch/s390/boot/sclp_early_core.c
  340. ::different42 :
  341. :
  342. signIn file included from ../arch/s390/include/asm/atomic_ops.hIn file included from ../arch/s390/include/asm/sclp.h:../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c[-Wpointer-sign]:27:11:7
  343. :
  344. 2:
  345. In file included from :In file included from __atomic64_and(mask, addr);../arch/s390/include/asm/chpid.h ../include/linux/kernel.h
  346. ::1012 ^~~~:
  347. note:
  348.  
  349. In file included from : In file included from ../arch/s390/include/asm/cio.h../include/linux/bitops.h:expanded:8../arch/s390/include/asm/atomic_ops.h 19:
  350. :from:
  351. In file included from 36 ../include/linux/spinlock.h:macro../arch/s390/include/asm/bitops.h:1 :51:'__ATOMIC_OPS'76:
  352. :In file included from
  353. 22../include/linux/preempt.h::note 11: :
  354. __ATOMIC_OP(op_name, op_type, op_string, "\n") \In file included from passingwarning
  355. ../include/linux/list.h : :argument ^9
  356. :
  357. topassingIn file included from ../include/linux/kernel.h../arch/s390/include/asm/atomic_ops.hparameter'unsigned long *':: 'ptr'1214to :
  358. : hereIn file included from 53parameter../include/linux/bitops.h:
  359. : of19 :
  360. __ATOMIC_OPS(__atomic64_and, long, "lang")type
  361. note ../arch/s390/include/asm/bitops.h: 'long *':^ 139
  362. expandedconverts: 37frombetween../arch/s390/include/asm/atomic_ops.h: :pointers27 macro
  363. : 2'__ATOMIC_OP'to:warning :
  364. integer typesnote : withpassing static inline op_type op_name(op_type val, op_type *ptr) \
  365. expandeddifferent'unsigned long *' ^fromsignto
  366. macro[-Wpointer-sign]parameter '__ATOMIC_OPS'
  367. of
  368. type 'long *' converts between pointers
  369. to integer types with different sign [-Wpointer-sign] __atomic64_or(mask, addr);
  370.  
  371. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  372. ^~~~
  373. ^
  374. ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/atomic_ops.h: old = __atomic64_and_barrier(mask, addr);:14
  375. 37::531: ^~~~:
  376. notenote: : expandedpassing ../arch/s390/include/asm/atomic_ops.hfrom :argumentmacro36 to: '__ATOMIC_OP'1parameter :
  377. 'ptr' herenote
  378. : static inline op_type op_name(op_type val, op_type *ptr) \passingIn file included from
  379. __ATOMIC_OPS(__atomic64_or, long, "laog")../arch/s390/boot/string.cargument
  380. : ^ 3
  381. to^:
  382.  
  383. In file included from parameter../include/linux/kernel.h :'ptr'../arch/s390/include/asm/atomic_ops.h12 ::
  384. here27In file included from :../include/linux/bitops.h
  385. 2::19 :
  386. __ATOMIC_OPS(__atomic64_and, long, "lang")../arch/s390/include/asm/bitops.h
  387. note:: 118^:
  388. In file included from expanded23../arch/s390/boot/startup.c ::from../arch/s390/include/asm/atomic_ops.h 4 ::
  389. macro28In file included from :warning../arch/s390/include/asm/sclp.h'__ATOMIC_OPS'2: ::11
  390. :
  391. In file included from passing../arch/s390/include/asm/chpid.h __ATOMIC_OP(op_name, op_type, op_string, "\n") \ :note
  392. 'unsigned long *'10: :
  393. ^toIn file included from expanded
  394. ../arch/s390/include/asm/cio.h parameter:from 8 of../arch/s390/include/asm/atomic_ops.h:
  395. macro :In file included from type14../include/linux/spinlock.h'__ATOMIC_OPS' ::'long *'5351
  396. ::
  397. converts In file included from ../include/linux/preempt.hbetween __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n"):
  398. note11pointers: :
  399.  
  400. ^In file included from
  401. expanded../include/linux/list.hto : from9integer../arch/s390/include/asm/atomic_ops.h :
  402. :macroIn file included from types14 ../include/linux/kernel.h :'__ATOMIC_OP':12with53:
  403. :
  404. In file included from different ../include/linux/bitops.h :sign19static inline op_type op_name(op_type val, op_type *ptr) \ note:
  405.  
  406. [-Wpointer-sign]: ../arch/s390/include/asm/bitops.h ^
  407. expanded:
  408. 118 :from23 :macro __atomic64_xor(mask, addr);
  409. '__ATOMIC_OP'warning ^~~~
  410. :
  411. passing 'unsigned long *'static inline op_type op_name(op_type val, op_type *ptr) \../arch/s390/include/asm/atomic_ops.h
  412. :to38 ^:parameter
  413. 1 In file included from :of../arch/s390/boot/sclp_early_core.c :type2 :
  414. 'long *'In file included from note../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.cconverts: : 7betweenpassing:
  415. In file included from pointersargument../include/linux/kernel.h
  416. : 12to:
  417. toIn file included from integer../include/linux/bitops.h :typesparameter19 :
  418. with 'ptr'../arch/s390/include/asm/bitops.hdifferent : 97here:sign23 :
  419. [-Wpointer-sign]
  420. warning: In file included from __ATOMIC_OPS(__atomic64_xor, long, "laxg")../arch/s390/boot/mem_detect.c __atomic64_xor(mask, addr);
  421. :passing
  422. 4'unsigned long *'^:
  423. ^~~~
  424. In file included from to
  425. ../arch/s390/include/asm/sclp.h :parameter11 ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/atomic_ops.h:
  426. of::In file included from 3827../arch/s390/include/asm/chpid.htype::: 1210'long *':::
  427. In file included from converts../arch/s390/include/asm/cio.h :betweennotenote8 : : :
  428. pointersIn file included from
  429. passing expanded../include/linux/spinlock.h argument :to from51 to :
  430. integer macroIn file included from parameter ../include/linux/preempt.htypes '__ATOMIC_OPS': 'ptr'11with
  431. :
  432. hereIn file included from different../include/linux/list.h
  433. sign: __ATOMIC_OP(op_name, op_type, op_string, "\n") \ 9
  434. [-Wpointer-sign]__ATOMIC_OPS(__atomic64_xor, long, "laxg"):
  435.  
  436. In file included from ^
  437. ../include/linux/kernel.h
  438. ^:
  439. __atomic64_and(mask, addr);12
  440. :
  441. ../arch/s390/include/asm/atomic_ops.hIn file included from ../arch/s390/include/asm/atomic_ops.h: ^~~~../include/linux/bitops.h:14
  442. :27:19:53:
  443. 2:../arch/s390/include/asm/atomic_ops.h: ../arch/s390/include/asm/bitops.h: :36:1501note:note:: 37: :expanded expanded notefromfrom: warning macro: passingmacro '__ATOMIC_OPS'
  444. '__ATOMIC_OP'
  445. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  446. passing argument ^ 'unsigned long *'
  447. to static inline op_type op_name(op_type val, op_type *ptr) \ parameter../arch/s390/include/asm/atomic_ops.hto
  448. : 'ptr'14parameter ^ :
  449. here53of:
  450. type __ATOMIC_OPS(__atomic64_and, long, "lang")'long *'note
  451. : converts^expanded
  452. frombetween macro ../arch/s390/include/asm/atomic_ops.h :pointers27'__ATOMIC_OP'
  453. : 2
  454. to: integer typesnotestatic inline op_type op_name(op_type val, op_type *ptr) \ :
  455. with expanded ^
  456. fromdifferent macrosign '__ATOMIC_OPS'[-Wpointer-sign]
  457.  
  458. old = __atomic64_xor_barrier(mask, addr);
  459. ^~~~ __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  460.  
  461. ^
  462. ../arch/s390/include/asm/atomic_ops.h:../arch/s390/include/asm/atomic_ops.hIn file included from 38:../arch/s390/boot/string.c:14:1:3:53:
  463. :In file included from ../include/linux/kernel.h:In file included from note12../arch/s390/boot/startup.c: note:
  464. :: In file included from 4passing../include/linux/bitops.h:
  465. expanded:In file included from argument 19../arch/s390/include/asm/sclp.h from:
  466. :to 11 macro../arch/s390/include/asm/bitops.h:
  467. parameter :In file included from '__ATOMIC_OP'128../arch/s390/include/asm/chpid.h'ptr'::
  468. 3610here::
  469. In file included from
  470. ../arch/s390/include/asm/cio.hstatic inline op_type op_name(op_type val, op_type *ptr) \:
  471. __ATOMIC_OPS(__atomic64_xor, long, "laxg")warning8
  472. : :
  473. ^In file included from
  474. ^../include/linux/spinlock.h
  475. passing: 51'unsigned long *':
  476. ../arch/s390/include/asm/atomic_ops.h In file included from :to../include/linux/preempt.h28 ::parameter112 :
  477. :ofIn file included from ../include/linux/list.htype: 9note'long *':
  478. : In file included from In file included from converts../include/linux/kernel.hexpanded../arch/s390/boot/sclp_early_core.c : :between12from2 :
  479. :
  480. pointersIn file included from macroIn file included from
  481. ../include/linux/bitops.h ../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c :'__ATOMIC_OPS':to197 :
  482.  
  483. :
  484. integerIn file included from ../arch/s390/include/asm/bitops.h../include/linux/kernel.htypes:: __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n") 12812
  485. with::
  486. 36In file included from ^different:../include/linux/bitops.h
  487. :sign19 :
  488. ../arch/s390/include/asm/atomic_ops.h[-Wpointer-sign]warning:: ../arch/s390/include/asm/bitops.h14
  489. ::11853passing::23 old = __atomic64_or_barrier(mask, addr); :
  490. 'unsigned long *' ^~~~tonote
  491. : warningparameter: expandedof ../arch/s390/include/asm/atomic_ops.h from:passingtype 37 macro:'unsigned long *''long *' 1 '__ATOMIC_OP':toconverts
  492. parameterbetween of typepointersnote
  493. static inline op_type op_name(op_type val, op_type *ptr) \: 'long *'
  494. topassingconverts ^ integer
  495. argumentbetween typespointersto
  496. withtoparameter differentinteger'ptr' signtypeshere [-Wpointer-sign]with
  497.  
  498. different sign [-Wpointer-sign]
  499. __ATOMIC_OPS(__atomic64_or, long, "laog")
  500. ^
  501. old = __atomic64_or_barrier(mask, addr);
  502. __atomic64_xor(mask, addr);
  503. ../arch/s390/include/asm/atomic_ops.h ^~~~:
  504. ^~~~28
  505. :2../arch/s390/include/asm/atomic_ops.h::../arch/s390/include/asm/atomic_ops.h 37::381::1note: : expandednotenote : : from passingpassingmacro argumentargument '__ATOMIC_OPS' toto
  506. parameterparameter 'ptr''ptr' herehere
  507.  
  508. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  509. ^
  510. ../arch/s390/include/asm/atomic_ops.h__ATOMIC_OPS(__atomic64_xor, long, "laxg"):__ATOMIC_OPS(__atomic64_or, long, "laog")
  511. 14
  512. :^53^
  513.  
  514. : ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/atomic_ops.h::27note28::: 22:: expanded notenote: : from expandedexpandedmacro fromfrom'__ATOMIC_OP' macromacro
  515. '__ATOMIC_OPS''__ATOMIC_OPS'
  516.  
  517. static inline op_type op_name(op_type val, op_type *ptr) \
  518. ^
  519. __ATOMIC_OP(op_name, op_type, op_string, "\n") \ __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  520.  
  521. ^ ^
  522.  
  523. ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/atomic_ops.h::1414::5353:: notenote: : expandedexpanded fromfrom macromacro '__ATOMIC_OP''__ATOMIC_OP'In file included from
  524.  
  525. In file included from ../arch/s390/boot/string.c:3:
  526. In file included from ../arch/s390/boot/cmdline.cIn file included from :../include/linux/kernel.h../arch/s390/boot/ipl_vmparm.c2:::
  527. 122:
  528. In file included from :
  529. In file included from ../arch/s390/boot/../../../lib/cmdline.cIn file included from ../include/linux/bitops.h:../arch/s390/boot/../kernel/ipl_vmparm.c:16::
  530. 193In file included from :
  531. :
  532. ../include/linux/kernel.hstatic inline op_type op_name(op_type val, op_type *ptr) \static inline op_type op_name(op_type val, op_type *ptr) \In file included from :
  533.  
  534. ../arch/s390/include/asm/bitops.h../arch/s390/include/asm/ipl.h12:::
  535. ^ ^13913In file included from
  536.  
  537. :
  538. :../include/linux/bitops.hIn file included from 37:../arch/s390/include/asm/cio.h19:::
  539. 8:
  540. ../arch/s390/include/asm/bitops.hIn file included from :warning../include/linux/spinlock.h76: ::5122:
  541. :passingIn file included from ../include/linux/preempt.h :'unsigned long *'11 :
  542. towarningIn file included from : ../include/linux/list.hparameter: 9ofpassing:
  543. In file included from type'unsigned long *'../include/linux/kernel.h 'long *':to 12 converts:
  544. parameter In file included from between../include/linux/bitops.hof : pointers19type
  545. :
  546. 'long *'to ../arch/s390/include/asm/bitops.h converts:integer 76between: 22 pointers:types
  547. withto warningdifferentinteger : signtypes [-Wpointer-sign]withpassing different'unsigned long *'
  548. signto [-Wpointer-sign]parameter
  549. of type 'long *' converts between pointers
  550. to integer types with different sign old = __atomic64_and_barrier(mask, addr);
  551. [-Wpointer-sign] ^~~~
  552.  
  553. __atomic64_or(mask, addr);
  554. ^~~~
  555. ../arch/s390/include/asm/atomic_ops.h:36:1: ../arch/s390/include/asm/atomic_ops.h __atomic64_or(mask, addr);note:
  556. : 37: ^~~~passing1
  557. :argument to parameternote : ../arch/s390/include/asm/atomic_ops.h'ptr': passinghere37 :argument
  558. 1 :to parameter note'ptr': here__ATOMIC_OPS(__atomic64_and, long, "lang")passing
  559.  
  560. argument^
  561. to parameter 'ptr'../arch/s390/include/asm/atomic_ops.h :__ATOMIC_OPS(__atomic64_or, long, "laog")here28
  562. :
  563. 2^:
  564. note: ../arch/s390/include/asm/atomic_ops.h__ATOMIC_OPS(__atomic64_or, long, "laog")expanded:In file included from
  565. In file included from 27../arch/s390/boot/sclp_early_core.c../arch/s390/boot/startup.cfrom::^: 22
  566. 4macro::
  567. :
  568. In file included from In file included from '__ATOMIC_OPS'../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/sclp.h:::
  569. note72711: :
  570. ::
  571. In file included from 2In file included from __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")expanded../include/linux/kernel.h:../arch/s390/include/asm/chpid.h
  572. : :from1210 ^ :
  573. :
  574.  
  575. macroIn file included from noteIn file included from ../include/linux/bitops.h: ../arch/s390/include/asm/cio.h'__ATOMIC_OPS'::../arch/s390/include/asm/atomic_ops.h19expanded8:
  576. :
  577. :
  578. 14fromIn file included from : __ATOMIC_OP(op_name, op_type, op_string, "\n") \../arch/s390/include/asm/bitops.h ../include/linux/spinlock.h53
  579. :macro::128 51 ^:'__ATOMIC_OPS':
  580.  
  581. 36In file included from :
  582. ../include/linux/preempt.hnote: :../arch/s390/include/asm/atomic_ops.h11expanded: __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
  583. 14
  584. warningIn file included from from:: ../include/linux/list.h 53 ^:macro:
  585. 9 passing:
  586. '__ATOMIC_OP' In file included from ../arch/s390/include/asm/atomic_ops.h'unsigned long *'../include/linux/kernel.h
  587. note: :: 14to12: static inline op_type op_name(op_type val, op_type *ptr) \:
  588. expanded53parameter
  589. In file included from : ../include/linux/bitops.hfrom of ^:
  590. 19macrotype:
  591. note '__ATOMIC_OP': 'long *'../arch/s390/include/asm/bitops.h
  592. :expandedconverts139 :static inline op_type op_name(op_type val, op_type *ptr) \frombetween37
  593. :pointersmacro
  594. ^
  595. '__ATOMIC_OP'towarning : integer
  596. typespassing with'unsigned long *' static inline op_type op_name(op_type val, op_type *ptr) \ different
  597. to sign ^parameter
  598. [-Wpointer-sign]of
  599. type 'long *' converts between pointers
  600. to In file included from old = __atomic64_or_barrier(mask, addr);integer../arch/s390/boot/string.c
  601. types: ^~~~ 3
  602. with:
  603. In file included from In file included from different../include/linux/kernel.h../arch/s390/boot/cmdline.c ::../arch/s390/include/asm/atomic_ops.hsign122: :
  604. :
  605. 37[-Wpointer-sign]In file included from In file included from :../include/linux/bitops.h../arch/s390/boot/../../../lib/cmdline.c1In file included from
  606. :::../arch/s390/boot/ipl_vmparm.c1916 ::
  607. :
  608. 2In file included from old = __atomic64_and_barrier(mask, addr);:
  609. ../arch/s390/include/asm/bitops.h../include/linux/kernel.h
  610. noteIn file included from ::: ../arch/s390/boot/../kernel/ipl_vmparm.c15012 ^~~~:::
  611.  
  612. passing337In file included from :
  613. :../include/linux/bitops.hargumentIn file included from : ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/ipl.h:19to:13warning:
  614. 36:
  615. : parameter:In file included from ../arch/s390/include/asm/bitops.h 1../arch/s390/include/asm/cio.h:'ptr'::passing97 8 :here:
  616. 'unsigned long *'23In file included from :
  617. note../include/linux/spinlock.hto : : 51parameter__ATOMIC_OPS(__atomic64_or, long, "laog")passing:
  618. warning
  619. In file included from of: argument../include/linux/preempt.h ^ :type
  620. to11 passing'long *' :
  621. parameterIn file included from 'unsigned long *'converts ../include/linux/list.h../arch/s390/include/asm/atomic_ops.h to'ptr'::between 928 parameterhere:
  622. :pointers In file included from 2
  623. of
  624. ../include/linux/kernel.h: :12 totype:
  625. In file included from __ATOMIC_OPS(__atomic64_and, long, "lang")integer'long *'../include/linux/bitops.h
  626. note :: typesconverts19^ :
  627.  
  628. expandedwithbetween ../arch/s390/include/asm/bitops.hfromdifferentpointers: ../arch/s390/include/asm/atomic_ops.h
  629. sign97macro: :28'__ATOMIC_OPS'to[-Wpointer-sign]23: integer:2
  630.  
  631. :types with old = __atomic64_xor_barrier(mask, addr);warning
  632. : __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")notedifferent
  633. : ^~~~sign
  634. passing ^expanded
  635. [-Wpointer-sign]'unsigned long *'from ../arch/s390/include/asm/atomic_ops.h macro
  636. to:../arch/s390/include/asm/atomic_ops.h 38:'__ATOMIC_OPS'14parameter __atomic64_and(mask, addr);::
  637. of1
  638. 53 ^~~~::type
  639. 'long *'notenote: : expanded __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")convertspassingfrom ../arch/s390/include/asm/atomic_ops.h
  640. between:argumentmacro 36 ^ pointers:
  641. to'__ATOMIC_OP'
  642. 1 :parameter
  643. to ../arch/s390/include/asm/atomic_ops.h 'ptr':integer note14 herestatic inline op_type op_name(op_type val, op_type *ptr) \: :types
  644. 53
  645. passing:with ^ __ATOMIC_OPS(__atomic64_xor, long, "laxg")
  646. argumentdifferent
  647. signtonote^ :
  648. [-Wpointer-sign]parameter expanded
  649. ../arch/s390/include/asm/atomic_ops.h'ptr' : 28from:here __atomic64_and(mask, addr); 2
  650. macro:
  651. ^~~~'__ATOMIC_OP'
  652. __ATOMIC_OPS(__atomic64_and, long, "lang")
  653.  
  654. note: ^../arch/s390/include/asm/atomic_ops.h
  655. expanded: 36from: 1macro: ../arch/s390/include/asm/atomic_ops.h '__ATOMIC_OPS':27
  656. :note2: static inline op_type op_name(op_type val, op_type *ptr) \:
  657. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n") passing
  658. ^
  659. argument ^note
  660. : toIn file included from ../arch/s390/boot/sclp_early_core.cexpandedparameter: ../arch/s390/include/asm/atomic_ops.h 2from:'ptr':
  661. 14 In file included from :heremacro../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c53 ::
  662. '__ATOMIC_OPS'7 __ATOMIC_OPS(__atomic64_and, long, "lang"):
  663.  
  664.  
  665. In file included from ../include/linux/kernel.hnote^::
  666. 12 __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
  667.  
  668. expandedIn file included from ../arch/s390/include/asm/atomic_ops.h../include/linux/bitops.h ^from::
  669. 2719macro::
  670. 2'__ATOMIC_OP'../arch/s390/include/asm/atomic_ops.h:../arch/s390/include/asm/bitops.h: :
  671. 14139In file included from ::../arch/s390/boot/startup.c53note37::: :4 expanded static inline op_type op_name(op_type val, op_type *ptr) \:
  672.  
  673. In file included from notefrom: ../arch/s390/include/asm/sclp.h warning ^:macroexpanded:
  674. 11 :
  675. '__ATOMIC_OPS'fromIn file included from passing../arch/s390/include/asm/chpid.h
  676. macro : 'unsigned long *'10'__ATOMIC_OP' :
  677. toIn file included from
  678. __ATOMIC_OP(op_name, op_type, op_string, "\n") \ ../arch/s390/include/asm/cio.h
  679. parameter: 8of ^:
  680.  
  681. In file included from type../include/linux/spinlock.hstatic inline op_type op_name(op_type val, op_type *ptr) \ :
  682. 'long *'51../arch/s390/include/asm/atomic_ops.h :
  683. : ^convertsIn file included from 14
  684. ../include/linux/preempt.h:between:53 11:pointers:
  685.  
  686. In file included from ../include/linux/list.hto: 9integer:
  687. note In file included from : types../include/linux/kernel.h :expandedwith12 :
  688. differentIn file included from from ../include/linux/bitops.h sign:macro19 :
  689. [-Wpointer-sign]'__ATOMIC_OP'../arch/s390/include/asm/bitops.h
  690. :
  691. 150:37: warning: old = __atomic64_and_barrier(mask, addr);
  692. static inline op_type op_name(op_type val, op_type *ptr) \passing
  693. ^~~~'unsigned long *'
  694. ^to
  695. parameter../arch/s390/include/asm/atomic_ops.h :of36 :type1 :'long *' converts notebetween: pointerspassing
  696. argumentIn file included from to ../arch/s390/boot/cmdline.ctointeger : parameter2types 'ptr'with:
  697. hereIn file included from different../arch/s390/boot/../../../lib/cmdline.c
  698. :sign16 :
  699. [-Wpointer-sign]__ATOMIC_OPS(__atomic64_and, long, "lang")In file included from
  700.  
  701. ../include/linux/kernel.h:^12
  702. old = __atomic64_xor_barrier(mask, addr);:
  703.  
  704. In file included from In file included from ../arch/s390/boot/ipl_vmparm.c../include/linux/bitops.h ^~~~../arch/s390/include/asm/atomic_ops.h::
  705. :21928:
  706. :
  707. :In file included from 2../arch/s390/include/asm/atomic_ops.h../arch/s390/boot/../kernel/ipl_vmparm.c../arch/s390/include/asm/bitops.h:::: 383118::
  708. :1In file included from 23note:../arch/s390/include/asm/ipl.h:: : 13expanded:
  709. noteIn file included from warningfrom: ../arch/s390/include/asm/cio.h: :macropassing8 :
  710. passing'__ATOMIC_OPS'argumentIn file included from ../include/linux/spinlock.h'unsigned long *'
  711. to:51 :
  712. toparameterIn file included from __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n") ../include/linux/preempt.h
  713. parameter'ptr': 11 ^ofhere:
  714.  
  715. In file included from type
  716. ../include/linux/list.h :../arch/s390/include/asm/atomic_ops.h'long *'9:__ATOMIC_OPS(__atomic64_xor, long, "laxg") :
  717. 14
  718. convertsIn file included from : ../include/linux/kernel.h53^between::
  719. 12pointers:
  720.  
  721. In file included from ../include/linux/bitops.h../arch/s390/include/asm/atomic_ops.hto:note: 19integer: 28:
  722. :typesexpanded2../arch/s390/include/asm/bitops.h ::withfrom 118 :differentmacro 23 note'__ATOMIC_OP':sign:
  723. [-Wpointer-sign]expanded warning
  724. fromstatic inline op_type op_name(op_type val, op_type *ptr) \:
  725. macro ^'__ATOMIC_OPS'
  726. passing __atomic64_xor(mask, addr);
  727.  
  728. 'unsigned long *' ^~~~to
  729. parameter of type __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  730. 'long *'../arch/s390/include/asm/atomic_ops.h : ^converts38
  731. :between1 :pointers ../arch/s390/include/asm/atomic_ops.h
  732. : 14tonote: : 53integer: passing types argumentwith note toIn file included from : different ../arch/s390/boot/sclp_early_core.c parameter:expandedsign 2 'ptr':
  733. from[-Wpointer-sign] In file included from here../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.cmacro
  734. :
  735. 7'__ATOMIC_OP':
  736. In file included from
  737. __atomic64_xor(mask, addr);../include/linux/kernel.h
  738. :12 ^~~~__ATOMIC_OPS(__atomic64_xor, long, "laxg"):
  739.  
  740.  
  741. static inline op_type op_name(op_type val, op_type *ptr) \In file included from
  742. ../include/linux/bitops.h^:
  743. ^19../arch/s390/include/asm/atomic_ops.h
  744. :
  745. :38../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/bitops.h:::127150::: 237:: note : notepassing: warning : argumentexpanded tofrompassing parametermacro'unsigned long *' 'ptr''__ATOMIC_OPS'to here
  746. parameter
  747. of type 'long *' converts between __ATOMIC_OPS(__atomic64_xor, long, "laxg")pointers
  748.  
  749. __ATOMIC_OP(op_name, op_type, op_string, "\n") \^
  750. to
  751. ^integer
  752. ../arch/s390/include/asm/atomic_ops.h :types27 ../arch/s390/include/asm/atomic_ops.h::with214 ::different 53 :sign note: [-Wpointer-sign]noteexpanded:
  753. fromexpanded macrofrom '__ATOMIC_OPS'macro
  754. '__ATOMIC_OP' old = __atomic64_xor_barrier(mask, addr);
  755.  
  756. ^~~~
  757. ../arch/s390/include/asm/atomic_ops.h __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
  758. 38: ^1
  759. :static inline op_type op_name(op_type val, op_type *ptr) \
  760. ../arch/s390/include/asm/atomic_ops.h ^:
  761. note14:: 53:passing argument noteto: parameterexpanded 'ptr'from heremacro
  762. '__ATOMIC_OP'
  763. __ATOMIC_OPS(__atomic64_xor, long, "laxg")
  764. ^
  765. static inline op_type op_name(op_type val, op_type *ptr) \../arch/s390/include/asm/atomic_ops.h:28
  766. :2: ^In file included from
  767. note../arch/s390/boot/cmdline.c: :2expanded:
  768. In file included from In file included from from../arch/s390/boot/../../../lib/cmdline.c In file included from :../arch/s390/boot/als.c16macro:In file included from :
  769. ../arch/s390/boot/ipl_parm.c 7In file included from :In file included from ../arch/s390/boot/mem_detect.c'__ATOMIC_OPS':
  770. ../include/linux/kernel.h6../arch/s390/boot/startup.c::In file included from :
  771. :4
  772. 12../arch/s390/include/asm/facility.hIn file included from 4:
  773. :
  774. :../arch/s390/include/asm/sclp.h:
  775. In file included from In file included from 13:In file included from ../arch/s390/include/asm/sclp.h __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")../include/linux/bitops.h:
  776. 11../arch/s390/include/asm/sclp.h:
  777. :In file included from :
  778. :1119../include/linux/preempt.hIn file included from 11:
  779. ^:
  780. :../arch/s390/include/asm/chpid.h:
  781. In file included from
  782. 78:In file included from ../arch/s390/include/asm/chpid.h../arch/s390/include/asm/bitops.h:
  783. 10../arch/s390/include/asm/chpid.h:::
  784. :10../arch/s390/include/asm/atomic_ops.hIn file included from 128../arch/s390/boot/ipl_vmparm.c../arch/s390/include/asm/preempt.hIn file included from 10:
  785. ::::../arch/s390/include/asm/cio.h:
  786. In file included from 1436228:In file included from ../arch/s390/include/asm/cio.h:::
  787. :8../arch/s390/include/asm/cio.h:53 In file included from 28:
  788. :8:../arch/s390/boot/../kernel/ipl_vmparm.c:In file included from 8:
  789. : ../include/linux/spinlock.h:
  790. In file included from warning3: :In file included from ../include/linux/spinlock.h:
  791. 51../include/linux/spinlock.h:noteIn file included from ../arch/s390/include/asm/ipl.hwarning:
  792. :51: :passing13: In file included from 51:
  793. :
  794. ../include/linux/preempt.h:
  795. In file included from expandedIn file included from 'unsigned long *'../arch/s390/include/asm/cio.h:In file included from ../include/linux/preempt.h :passing78../include/linux/preempt.h:fromto8 :
  796. :78 :
  797. '__u32 *'78:
  798. macroparameterIn file included from ../arch/s390/include/asm/preempt.h:
  799. ../include/linux/spinlock.h(aka 'unsigned int *'):../arch/s390/include/asm/preempt.h'__ATOMIC_OP'of: 28../arch/s390/include/asm/preempt.h: 51to::28
  800. type:
  801. 2828: In file included from parameter::28'long *'../include/linux/preempt.h of 28: static inline op_type op_name(op_type val, op_type *ptr) \: : converts
  802. 11type :
  803. warningbetween ^In file included from 'int *': warning
  804. ../include/linux/list.h warning: pointers:convertspassing:
  805. 9
  806. :
  807. '__u32 *'passingtoIn file included from between passing ../include/linux/kernel.h (aka 'unsigned int *') '__u32 *'integer:pointers '__u32 *' 12toto (aka 'unsigned int *')types:
  808. (aka 'unsigned int *') In file included from integerparameter towith../include/linux/bitops.h types to : of parameterdifferent19with parameter :
  809. type ofsigndifferent of ../arch/s390/include/asm/bitops.h 'int *' type[-Wpointer-sign]:sign type 128 converts 'int *'
  810. :[-Wpointer-sign]
  811. 'int *' 36
  812. converts:betweenconverts
  813. old = __atomic64_or_barrier(mask, addr);
  814.  
  815. pointers between } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, between ^~~~
  816. warningto pointers
  817. : pointers ^~~~~~~~~~~~~~~~~~~~~~~~~~~integer to
  818. passing to types../arch/s390/include/asm/atomic_ops.h integer'unsigned long *' :integer with37 types../arch/s390/include/asm/atomic_ops.hto :types : different1 with123parameter :with : ofsign different41 type different : [-Wpointer-sign] sign 'long *'notesign
  819. : [-Wpointer-sign]converts[-Wpointer-sign]note passing
  820. : between
  821. } while (__atomic_cmpxchg(&S390_lowcore.preempt_count,argumentpassingpointers
  822.  
  823. to } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, ^~~~~~~~~~~~~~~~~~~~~~~~~~~argument
  824.  
  825. } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, toparameter
  826. to ^~~~~~~~~~~~~~~~~~~~~~~~~~~ integer'ptr'
  827. ^~~~~~~~~~~~~~~~~~~~~~~~~~~parameter ../arch/s390/include/asm/atomic_ops.h
  828. types:here'ptr' 123 ../arch/s390/include/asm/atomic_ops.hwith:
  829. here: 41../arch/s390/include/asm/atomic_ops.h123different:__ATOMIC_OPS(__atomic64_or, long, "laog"):
  830. :
  831. 12341sign:: ^static inline int __atomic_cmpxchg(int *ptr, int old, int new)41 [-Wpointer-sign]note
  832.  
  833. ::
  834. ^notepassing../arch/s390/include/asm/atomic_ops.h
  835. : :note old = __atomic64_or_barrier(mask, addr);argument28: passing
  836. : to2passingargument ^~~~ :
  837. parameter argumentto 'ptr'toparameter note../arch/s390/include/asm/atomic_ops.h here: :parameter'ptr'37
  838. expanded:'ptr'here 1 from:here
  839. static inline int __atomic_cmpxchg(int *ptr, int old, int new) macro
  840.  
  841. static inline int __atomic_cmpxchg(int *ptr, int old, int new)'__ATOMIC_OPS' ^note
  842.  
  843. :
  844. static inline int __atomic_cmpxchg(int *ptr, int old, int new) ^
  845. passing
  846. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n") ^argument
  847.  
  848. to ^
  849. parameter 'ptr' here../arch/s390/include/asm/atomic_ops.h:
  850. 14:53: note: expanded from __ATOMIC_OPS(__atomic64_or, long, "laog")macro
  851. '__ATOMIC_OP'^
  852.  
  853. ../arch/s390/include/asm/atomic_ops.h:28:2: static inline op_type op_name(op_type val, op_type *ptr) \
  854. note: ^
  855. expanded from macro '__ATOMIC_OPS'
  856. In file included from __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")In file included from ../arch/s390/boot/als.c
  857. ../arch/s390/boot/startup.c::7 ^4:
  858.  
  859. :
  860. In file included from In file included from ../arch/s390/include/asm/facility.h../arch/s390/include/asm/sclp.h::../arch/s390/include/asm/atomic_ops.h1311::
  861. :
  862. 14In file included from In file included from :../include/linux/preempt.h../arch/s390/include/asm/chpid.h53:::7810 :
  863. :
  864. In file included from In file included from ../arch/s390/include/asm/preempt.h../arch/s390/boot/ipl_parm.c../arch/s390/include/asm/cio.hnote:::: 4068::
  865. :
  866. expanded38In file included from In file included from In file included from :../arch/s390/include/asm/sclp.h../include/linux/spinlock.h../arch/s390/boot/mem_detect.cfrom ::: 1151In file included from 4macro:
  867. :
  868. ../arch/s390/boot/cmdline.c:
  869. warningIn file included from In file included from :In file included from '__ATOMIC_OP': ../arch/s390/include/asm/chpid.h../include/linux/preempt.h2../arch/s390/include/asm/sclp.h:::
  870. :
  871. 1078In file included from 11passing:
  872. :
  873. ../arch/s390/boot/../../../lib/cmdline.c:
  874. In file included from static inline op_type op_name(op_type val, op_type *ptr) \:In file included from '__u32 *'../arch/s390/include/asm/cio.h
  875. ../arch/s390/include/asm/preempt.h16../arch/s390/include/asm/chpid.h:10:
  876. In file included from ../arch/s390/include/asm/cio.h:8:
  877. In file included from ../include/linux/spinlock.h:51:
  878. In file included from ../include/linux/preempt.h:78:
  879. ../arch/s390/include/asm/preempt.h(aka 'unsigned int *'):: 408to::
  880. 38In file included from ^parameter::../include/linux/spinlock.h
  881. :40:
  882. of51:In file included from :
  883. 38../include/linux/kernel.htypewarningIn file included from :: : ../include/linux/preempt.h 12'int *'::
  884. 78In file included from convertspassing:
  885. warning../include/linux/bitops.h
  886. : : '__u32 *'../arch/s390/include/asm/preempt.h19between ::
  887. (aka 'unsigned int *')40passingpointers : ../arch/s390/include/asm/bitops.h to38'__u32 *':to : 139 parameter (aka 'unsigned int *'):integer 37 ofto:typesIn file included from warning ../arch/s390/boot/ipl_vmparm.ctype: parameterwith: 2'int *'ofwarningdifferent:
  888. passing : In file included from converts typesign../arch/s390/boot/../kernel/ipl_vmparm.c
  889. '__u32 *' : 'int *'passing[-Wpointer-sign]3between(aka 'unsigned int *') :
  890. converts'unsigned long *'
  891. In file included from pointersto
  892. ../arch/s390/include/asm/ipl.h to:toparameterbetween 13 __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); parameter:
  893. integer
  894. ofpointers In file included from of../arch/s390/include/asm/cio.htypes ^~~~~~~~~~~~~~~~~~~~~~~~~~~typeto :
  895. type8with'int *'integer :
  896. 'long *'In file included from differentconvertstypes ../include/linux/spinlock.h ../arch/s390/include/asm/atomic_ops.h
  897. converts:sign: with 51 31between between:
  898. [-Wpointer-sign]: different In file included from 1pointers pointers../include/linux/preempt.h
  899. : sign
  900. : to 11 [-Wpointer-sign]to:
  901. __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);integer In file included from note
  902.  
  903. integer../include/linux/list.h: types : ^~~~~~~~~~~~~~~~~~~~~~~~~~~ types9passing
  904. __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);with :
  905.  
  906. with In file included from argument different../include/linux/kernel.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~different../arch/s390/include/asm/atomic_ops.h :to
  907. :sign12 sign31 :
  908. parameter :[-Wpointer-sign]In file included from ../include/linux/bitops.h [-Wpointer-sign]1../arch/s390/include/asm/atomic_ops.h
  909. :'ptr'::19
  910. 31:
  911. here: __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);1 old = __atomic64_and_barrier(mask, addr);../arch/s390/include/asm/bitops.h
  912.  
  913. note:
  914. :: 139 ^~~~~~~~~~~~~~~~~~~~~~~~~~~__ATOMIC_OPS(__atomic_and, int, "lan") ^~~~:
  915.  
  916. passing
  917. 37 note:^argument:
  918. ../arch/s390/include/asm/atomic_ops.hto../arch/s390/include/asm/atomic_ops.hpassingwarning: : : 31parameter../arch/s390/include/asm/atomic_ops.h36argument: :: 1'ptr'271topassing: :: here2 parameter'unsigned long *':
  919. 'ptr'tonotenote __ATOMIC_OPS(__atomic_and, int, "lan"): : hereparameter
  920. note passing: passing
  921. of^
  922. __ATOMIC_OPS(__atomic_and, int, "lan")argumentexpandedargumenttype
  923. tofromto'long *'^../arch/s390/include/asm/atomic_ops.h
  924. :parametermacroparameterconverts27 :'ptr''__ATOMIC_OPS''ptr'between../arch/s390/include/asm/atomic_ops.h2 ::here
  925. herepointers27
  926. :
  927.  
  928. 2 __ATOMIC_OP(op_name, op_type, op_string, "\n") \to:note
  929. __ATOMIC_OPS(__atomic64_and, long, "lang") __ATOMIC_OPS(__atomic_and, int, "lan") :
  930. integer
  931. ^ expanded
  932. ^types^note
  933.  
  934. : fromwith ../arch/s390/include/asm/atomic_ops.hexpandedmacrodifferent../arch/s390/include/asm/atomic_ops.h: ../arch/s390/include/asm/atomic_ops.h :14from'__ATOMIC_OPS':sign28: 27 :53macro
  935. :[-Wpointer-sign]2: 2: '__ATOMIC_OPS':
  936. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  937. old = __atomic64_and_barrier(mask, addr);
  938. note
  939. note: note: __ATOMIC_OP(op_name, op_type, op_string, "\n") \ ^expanded:
  940.  
  941. ^~~~ fromexpanded
  942. expanded ^macro from
  943. ../arch/s390/include/asm/atomic_ops.h from :../arch/s390/include/asm/atomic_ops.h'__ATOMIC_OPS' macro14:macro ../arch/s390/include/asm/atomic_ops.h:36
  944. '__ATOMIC_OP':53:'__ATOMIC_OPS'14:1
  945. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n"): :
  946.  
  947. 53 :static inline op_type op_name(op_type val, op_type *ptr) \ ^ note
  948. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  949. : note
  950. ^: noteexpanded
  951. ^../arch/s390/include/asm/atomic_ops.h: passing
  952. :from 14expanded argument:53 macro :to../arch/s390/include/asm/atomic_ops.hfrom : '__ATOMIC_OP'parameter 14macro'ptr':
  953. note 53'__ATOMIC_OP': here:
  954. expandedstatic inline op_type op_name(op_type val, op_type *ptr) \
  955.  
  956. fromstatic inline op_type op_name(op_type val, op_type *ptr) \note
  957. __ATOMIC_OPS(__atomic64_and, long, "lang") ^: macro
  958.  
  959. ^expanded'__ATOMIC_OP'
  960. ^
  961. from
  962. macro '__ATOMIC_OP'../arch/s390/include/asm/atomic_ops.h:28
  963. :static inline op_type op_name(op_type val, op_type *ptr) \2
  964. : ^
  965. note: expanded from macro '__ATOMIC_OPS'static inline op_type op_name(op_type val, op_type *ptr) \
  966.  
  967. ^
  968. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  969. ^
  970. ../arch/s390/include/asm/atomic_ops.h:14:53: note: In file included from ../arch/s390/boot/startup.cexpanded:In file included from 4../arch/s390/boot/mem_detect.cfrom:
  971. : In file included from 4macro../arch/s390/include/asm/sclp.h:
  972. :In file included from '__ATOMIC_OP'11In file included from ../arch/s390/include/asm/sclp.h:
  973. ../arch/s390/boot/als.c:
  974. In file included from :11../arch/s390/include/asm/chpid.h7:
  975. ::
  976. In file included from 10In file included from static inline op_type op_name(op_type val, op_type *ptr) \../arch/s390/include/asm/chpid.h:
  977. ../arch/s390/include/asm/facility.h
  978. :In file included from In file included from :10../arch/s390/include/asm/cio.h../arch/s390/boot/cmdline.c:In file included from 13 ^:
  979. :2:
  980. ../arch/s390/boot/ipl_parm.c:
  981.  
  982. In file included from 8In file included from :In file included from ../arch/s390/include/asm/cio.h:
  983. ../arch/s390/boot/../../../lib/cmdline.c6../include/linux/preempt.h:In file included from ::
  984. :8../include/linux/spinlock.h16:
  985. In file included from 78:
  986. :In file included from ../arch/s390/include/asm/sclp.h:11:
  987. :
  988. In file included from ../arch/s390/include/asm/chpid.h:10:
  989. In file included from ../arch/s390/include/asm/cio.h:In file included from 8../arch/s390/include/asm/preempt.h:
  990. :In file included from ../include/linux/spinlock.h45../include/linux/spinlock.h:::513651:
  991. ::
  992. In file included from In file included from ../include/linux/preempt.h../include/linux/preempt.h::7878warning:
  993. 51:
  994. : ../include/linux/kernel.h../arch/s390/include/asm/preempt.h:
  995. ../arch/s390/include/asm/preempt.hIn file included from ::In file included from :passing../arch/s390/boot/ipl_vmparm.c4512../include/linux/preempt.h45 :::
  996. ::'__u32 *'236In file included from 7836 :
  997. :../include/linux/bitops.h:
  998. :(aka 'unsigned int *')In file included from : ../arch/s390/boot/../kernel/ipl_vmparm.c19../arch/s390/include/asm/preempt.hto::
  999. : 3warning45warningparameter:
  1000. : ../arch/s390/include/asm/bitops.h:: In file included from :36of../arch/s390/include/asm/ipl.h150: :passing: passingtype13 37 :
  1001. '__u32 *':'__u32 *''int *'In file included from warning ../arch/s390/include/asm/cio.h(aka 'unsigned int *'): (aka 'unsigned int *')converts:
  1002. 8towarningto :
  1003. : passing betweenIn file included from parameter parameter ../include/linux/spinlock.h '__u32 *' pointers:ofpassing of 51 (aka 'unsigned int *') to:
  1004. type'unsigned long *' type In file included from to integer../include/linux/preempt.h'int *'to 'int *' : parameter types11convertsparameter converts :
  1005.  
  1006. of
  1007. withIn file included from of In file included from ../include/linux/list.hbetween typebetween../arch/s390/boot/sclp_early_core.cdifferent: type : 9pointers 'int *'pointers2sign:
  1008. 'long *' :
  1009. In file included from to convertstoIn file included from [-Wpointer-sign]../include/linux/kernel.h converts
  1010. ../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c:integer integer:
  1011. 12 betweenbetween 11:
  1012. types types:
  1013. In file included from pointerspointers In file included from ../include/linux/bitops.h __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);with
  1014. with../arch/s390/include/asm/irq.h:
  1015. to :19differentto different30:
  1016. ^~~~~~~~~~~~~~~~~~~~~~~~~~~ integer :
  1017.  
  1018. signinteger signIn file included from ../arch/s390/include/asm/bitops.h types ../include/linux/hardirq.h:[-Wpointer-sign]types [-Wpointer-sign]:150 with5../arch/s390/include/asm/atomic_ops.h:
  1019. with
  1020. :
  1021. :37 differentIn file included from 32:different ../include/linux/preempt.h __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);: sign:
  1022. 1 __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);sign 78:
  1023. [-Wpointer-sign]:
  1024.  
  1025. ^~~~~~~~~~~~~~~~~~~~~~~~~~~ warning[-Wpointer-sign]../arch/s390/include/asm/preempt.h
  1026. : ^~~~~~~~~~~~~~~~~~~~~~~~~~~:
  1027.  
  1028. 28note __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);passing:: ../arch/s390/include/asm/atomic_ops.h
  1029. 28: old = __atomic64_xor_barrier(mask, addr);'unsigned long *':passing../arch/s390/include/asm/atomic_ops.h32
  1030. ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ::
  1031. toargument321 ^~~~ ::
  1032. parameterwarningto1 : ../arch/s390/include/asm/atomic_ops.h:ofparameter: ../arch/s390/include/asm/atomic_ops.h32notetypepassing'ptr'::: 381note'long *''__u32 *'here::: passing 1 converts(aka 'unsigned int *')
  1033. :passingargument betweento__ATOMIC_OPS(__atomic_or, int, "lao")noteargumentto
  1034. : pointersparameternotetoparameter
  1035. ^: passing of
  1036. parameter'ptr'to passingargument type 'ptr'hereinteger argument../arch/s390/include/asm/atomic_ops.hto 'int *' : here
  1037. types to27parameter converts __ATOMIC_OPS(__atomic_or, int, "lao"):
  1038. with
  1039. parameter
  1040. 2'ptr' __ATOMIC_OPS(__atomic_or, int, "lao"): differentbetween'ptr'^
  1041. here
  1042. signpointershere^
  1043.  
  1044. note[-Wpointer-sign]to
  1045. ../arch/s390/include/asm/atomic_ops.h__ATOMIC_OPS(__atomic_or, int, "lao"): :
  1046.  
  1047. integer__ATOMIC_OPS(__atomic64_xor, long, "laxg")27../arch/s390/include/asm/atomic_ops.hexpanded
  1048. :^: types2
  1049. old = __atomic64_xor_barrier(mask, addr);27from ^:
  1050. : with
  1051. 2 ^~~~macro :
  1052. ../arch/s390/include/asm/atomic_ops.h different ../arch/s390/include/asm/atomic_ops.h:'__ATOMIC_OPS' note:27sign../arch/s390/include/asm/atomic_ops.h: 28:
  1053. :note:2[-Wpointer-sign]38expanded: 2:: __ATOMIC_OP(op_name, op_type, op_string, "\n") \ :
  1054. 1
  1055. fromexpanded : } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, ^macrofromnote
  1056.  
  1057. note: '__ATOMIC_OPS'macro: ^~~~~~~~~~~~~~~~~~~~~~~~~~~note expanded
  1058. : ../arch/s390/include/asm/atomic_ops.h
  1059. '__ATOMIC_OPS'expanded : frompassing14 __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1060. from ../arch/s390/include/asm/atomic_ops.h:
  1061. macroargument:53 __ATOMIC_OP(op_name, op_type, op_string, "\n") \macro 123: ^
  1062. '__ATOMIC_OPS'to:
  1063. '__ATOMIC_OPS' 41 ^
  1064. parameter:
  1065.  
  1066. note../arch/s390/include/asm/atomic_ops.h'ptr' __ATOMIC_OP(op_name, op_type, op_string, "\n") \: :
  1067. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")14../arch/s390/include/asm/atomic_ops.hherenoteexpanded
  1068. :: ^: 5314
  1069.  
  1070. from ^::passing
  1071. 53__ATOMIC_OPS(__atomic64_xor, long, "laxg") macro:
  1072. ../arch/s390/include/asm/atomic_ops.hargument : '__ATOMIC_OP'../arch/s390/include/asm/atomic_ops.hnote^14to::
  1073. :
  1074. 14note53parameter:expanded: : 53 static inline op_type op_name(op_type val, op_type *ptr) \ ../arch/s390/include/asm/atomic_ops.h'ptr':from
  1075. expanded: 28heremacro ^fromnote:
  1076. : 2
  1077. note'__ATOMIC_OP'macro:: static inline int __atomic_cmpxchg(int *ptr, int old, int new)expanded
  1078. '__ATOMIC_OP'
  1079. expandedfrom
  1080. ^static inline op_type op_name(op_type val, op_type *ptr) \ notefrom
  1081.  
  1082. macro: static inline op_type op_name(op_type val, op_type *ptr) \ macro
  1083. ^'__ATOMIC_OP'expanded
  1084. '__ATOMIC_OP' ^
  1085. from
  1086.  
  1087. macro '__ATOMIC_OPS'
  1088. static inline op_type op_name(op_type val, op_type *ptr) \
  1089. static inline op_type op_name(op_type val, op_type *ptr) \
  1090. ^ __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  1091.  
  1092. ^In file included from
  1093. ../arch/s390/boot/sclp_early_core.c ^:
  1094. 2:
  1095. In file included from ../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c:../arch/s390/include/asm/atomic_ops.h11::
  1096. 14In file included from :../arch/s390/include/asm/irq.h53::30 :
  1097. In file included from ../include/linux/hardirq.hnote:: 5:
  1098. expandedIn file included from ../include/linux/preempt.hfrom: 78macro:
  1099. '__ATOMIC_OP'../arch/s390/include/asm/preempt.h:
  1100. 40:38: warning: passing '__u32 *' (aka 'unsigned int *') to parameter of type 'int *' converts
  1101. static inline op_type op_name(op_type val, op_type *ptr) \ between pointers to
  1102. integer types ^In file included from
  1103. ../arch/s390/boot/mem_detect.cwithIn file included from : In file included from ../arch/s390/boot/ipl_parm.c4:In file included from different../arch/s390/boot/startup.c:
  1104. 6../arch/s390/boot/als.c :In file included from :
  1105. :sign4../arch/s390/include/asm/sclp.hIn file included from 7 :
  1106. :../arch/s390/include/asm/sclp.h:
  1107. [-Wpointer-sign]In file included from 11:In file included from ../arch/s390/include/asm/sclp.h:
  1108. 11../arch/s390/include/asm/facility.h
  1109. :In file included from :
  1110. :11../arch/s390/include/asm/chpid.hIn file included from 13:
  1111. __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);:../arch/s390/include/asm/chpid.h:
  1112. In file included from
  1113. 10:In file included from ../arch/s390/include/asm/chpid.h:
  1114. 10../include/linux/preempt.h: ^~~~~~~~~~~~~~~~~~~~~~~~~~~In file included from :
  1115. :10
  1116. ../arch/s390/include/asm/cio.hIn file included from 78:
  1117. :../arch/s390/include/asm/cio.h:
  1118. In file included from 8:../arch/s390/include/asm/cio.h../arch/s390/include/asm/atomic_ops.h:
  1119. 8../arch/s390/include/asm/preempt.h::In file included from :
  1120. :831../include/linux/spinlock.hIn file included from 56:
  1121. ::../include/linux/spinlock.h:In file included from 151:27../include/linux/spinlock.h::
  1122. 51:: In file included from :
  1123. 51../include/linux/preempt.hIn file included from warning:
  1124. :../include/linux/preempt.h: In file included from note78:../include/linux/preempt.h: :
  1125. 78::
  1126. passing78passing../arch/s390/include/asm/preempt.h :
  1127. :../arch/s390/include/asm/preempt.h'__u32 *'argument56: ../arch/s390/include/asm/preempt.h :56(aka 'unsigned int *'):to27: 56 :27to:parameter : 27 parameter:'ptr' warningofhere: warning : typewarning
  1128. : passing'int *'__ATOMIC_OPS(__atomic_and, int, "lan") passing
  1129. '__u32 *' convertspassing '__u32 *'
  1130. ^ (aka 'unsigned int *')
  1131. '__u32 *' (aka 'unsigned int *')between to (aka 'unsigned int *')../arch/s390/include/asm/atomic_ops.h topointers :parameter to27 parameterto :of parameter2 ofinteger :type of typetypes 'int *' type 'int *'with noteconverts 'int *':
  1132. convertsdifferent
  1133. convertsexpandedbetween sign
  1134. between frompointers [-Wpointer-sign]between pointers macroto
  1135. pointers to '__ATOMIC_OPS'integer to integer
  1136. __atomic_add_const(val, &S390_lowcore.preempt_count);types integer
  1137. types __ATOMIC_OP(op_name, op_type, op_string, "\n") \ with
  1138. types ^~~~~~~~~~~~~~~~~~~~~~~~~~~ with
  1139. different ^with different
  1140. sign different ../arch/s390/include/asm/atomic_ops.hsign [-Wpointer-sign]: ../arch/s390/include/asm/atomic_ops.hsign56[-Wpointer-sign]:
  1141. :14[-Wpointer-sign]1
  1142. ::53
  1143. __atomic_add_const(val, &S390_lowcore.preempt_count); :
  1144. __atomic_add_const(val, &S390_lowcore.preempt_count);
  1145. ^~~~~~~~~~~~~~~~~~~~~~~~~~~ __atomic_add_const(val, &S390_lowcore.preempt_count);note
  1146.  
  1147. : note ^~~~~~~~~~~~~~~~~~~~~~~~~~~:
  1148. ^~~~~~~~~~~~~~~~~~~~~~~~~~~passing../arch/s390/include/asm/atomic_ops.h
  1149. expanded:argument 56../arch/s390/include/asm/atomic_ops.h from::to../arch/s390/include/asm/atomic_ops.h 156 :macro::parameter56 1 :'__ATOMIC_OP':'ptr'1 :
  1150. notehere : static inline op_type op_name(op_type val, op_type *ptr) \note
  1151.  
  1152. passing: note : ^argument__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")passing
  1153. passing
  1154. toargumentargument ^ parameter
  1155. toto 'ptr'parameterparameter ../arch/s390/include/asm/atomic_ops.h here'ptr':'ptr' In file included from 53
  1156. here../arch/s390/boot/sclp_early_core.c:here:2__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")
  1157. 2:
  1158.  
  1159. :
  1160. __ATOMIC_CONST_OPS(__atomic_add_const, int, "asi") In file included from
  1161. ^../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")
  1162. :^
  1163. note11
  1164. : :
  1165. ^In file included from ../arch/s390/include/asm/atomic_ops.h
  1166. expanded../arch/s390/include/asm/irq.h:../arch/s390/include/asm/atomic_ops.h :53:from30:53../arch/s390/include/asm/atomic_ops.h :
  1167. 2::macroIn file included from :253 ../include/linux/hardirq.h ::'__ATOMIC_CONST_OPS': 25:
  1168. :
  1169. note In file included from : note../include/linux/preempt.h: :noteexpanded __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \78:
  1170. expanded:
  1171. from expanded ^from../arch/s390/include/asm/preempt.h macro
  1172. :from macro45 '__ATOMIC_CONST_OPS' ../arch/s390/include/asm/atomic_ops.h:macro'__ATOMIC_CONST_OPS':36
  1173. 44:'__ATOMIC_CONST_OPS'
  1174. : __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \50
  1175.  
  1176. : __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \ warning
  1177. ^: __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \
  1178.  
  1179. ^note
  1180. : passing ^../arch/s390/include/asm/atomic_ops.h
  1181. :../arch/s390/include/asm/atomic_ops.hexpanded'__u32 *'44: :44from(aka 'unsigned int *')../arch/s390/include/asm/atomic_ops.h50: ::50macroto44 : : '__ATOMIC_CONST_OP'parameter50 :note
  1182. of : note : typeexpanded static inline void op_name(op_type val, op_type *ptr) \note expanded'int *'
  1183. : from fromconverts ^expandedmacro
  1184.  
  1185. macro from'__ATOMIC_CONST_OP' between '__ATOMIC_CONST_OP' macro
  1186. pointers
  1187. '__ATOMIC_CONST_OP'to
  1188. static inline void op_name(op_type val, op_type *ptr) \integer
  1189. static inline void op_name(op_type val, op_type *ptr) \
  1190. types ^In file included from static inline void op_name(op_type val, op_type *ptr) \
  1191. ^../arch/s390/boot/als.cwith
  1192.  
  1193. : 7different ^:
  1194.  
  1195. In file included from sign../arch/s390/include/asm/facility.h :[-Wpointer-sign]13In file included from :
  1196.  
  1197. ../arch/s390/boot/mem_detect.cIn file included from :../include/linux/preempt.h4::
  1198. 78In file included from In file included from __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);:
  1199. ../arch/s390/include/asm/sclp.h../arch/s390/boot/ipl_parm.c
  1200. In file included from ::../arch/s390/include/asm/preempt.h../arch/s390/boot/startup.c116 ^~~~~~~~~~~~~~~~~~~~~~~~~~~:::
  1201. :
  1202.  
  1203. 584In file included from In file included from ::
  1204. ../arch/s390/include/asm/chpid.h../arch/s390/include/asm/sclp.h21In file included from :::../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/sclp.h1011 :::
  1205. :
  1206. 3211In file included from In file included from ::
  1207. ../arch/s390/include/asm/cio.h../arch/s390/include/asm/chpid.hwarning1In file included from ::: :../arch/s390/include/asm/chpid.h810 ::
  1208. In file included from ../include/linux/spinlock.h:51:
  1209. In file included from ../include/linux/preempt.h:78:
  1210. ../arch/s390/include/asm/preempt.h:58:21: warning: passing '__u32 *' (aka 'unsigned int *') to parameter of type 'int *':
  1211. converts
  1212. In file included from between../arch/s390/include/asm/cio.h :pointers8 :
  1213. toIn file included from ../include/linux/spinlock.hinteger: 51passingtypes:
  1214. In file included from '__u32 *'with../include/linux/preempt.h :(aka 'unsigned int *')different78 :
  1215. tosign parameter ../arch/s390/include/asm/preempt.hnote 10[-Wpointer-sign]:: :
  1216. of586In file included from
  1217. :passing warning../arch/s390/include/asm/cio.htype21 s: :argument generated __atomic_add(val, &S390_lowcore.preempt_count);8'int *' .
  1218.  
  1219. :
  1220. toIn file included from converts ^~~~~~~~~~~~~~~~~~~~~~~~~~~../include/linux/spinlock.h
  1221. warningparameter
  1222. : : 51between'ptr':
  1223. In file included from pointers../arch/s390/include/asm/atomic_ops.hpassinghere../include/linux/preempt.h : :to30'__u32 *'
  1224. 78 : :
  1225. integer1(aka 'unsigned int *') __ATOMIC_OPS(__atomic_or, int, "lao"): ../arch/s390/include/asm/preempt.htypes
  1226. to: 58with^parameter:
  1227. note 21different: of: signpassing../arch/s390/include/asm/atomic_ops.htype : [-Wpointer-sign]argument27'int *'warning : :
  1228. to2converts :
  1229. parameter passing between __atomic_add(val, &S390_lowcore.preempt_count); 'ptr'
  1230. '__u32 *' notepointers here: ^~~~~~~~~~~~~~~~~~~~~~~~~~~(aka 'unsigned int *')to
  1231.  
  1232. expanded to integer from__ATOMIC_OPS(__atomic_add, int, "laa") parameter
  1233. types macro../arch/s390/include/asm/atomic_ops.h of ^:with '__ATOMIC_OPS'
  1234. 30 type :different
  1235. 'int *'1 :../arch/s390/include/asm/atomic_ops.hsignconverts __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
  1236.  
  1237. 27[-Wpointer-sign] :betweennote ^2
  1238. :
  1239. :pointers passingto ../arch/s390/include/asm/atomic_ops.h __atomic_add(val, &S390_lowcore.preempt_count); argument:note
  1240. integer 14: to: ^~~~~~~~~~~~~~~~~~~~~~~~~~~types 53expanded
  1241. parameter: with from 'ptr' different macro../arch/s390/include/asm/atomic_ops.h herenote :sign: '__ATOMIC_OPS'30
  1242. :[-Wpointer-sign]expanded
  1243.  
  1244. 1from__ATOMIC_OPS(__atomic_add, int, "laa"):
  1245. macro __ATOMIC_OP(op_name, op_type, op_string, "\n") \^ __atomic_add(val, &S390_lowcore.preempt_count);'__ATOMIC_OP'
  1246.  
  1247.  
  1248. note:
  1249. ^ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1250.  
  1251. ../arch/s390/include/asm/atomic_ops.hpassingstatic inline op_type op_name(op_type val, op_type *ptr) \:
  1252. ../arch/s390/include/asm/atomic_ops.h ^27argument:
  1253. ../arch/s390/include/asm/atomic_ops.h: 30:2to:14: 1: parameter:53 :'ptr' note : herenote: noteexpanded
  1254. : passingfrom expanded__ATOMIC_OPS(__atomic_add, int, "laa") argument
  1255. macro from to ^'__ATOMIC_OPS' macro
  1256. parameter
  1257. '__ATOMIC_OP''ptr'../arch/s390/include/asm/atomic_ops.h
  1258. :here27 __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
  1259.  
  1260. 2static inline op_type op_name(op_type val, op_type *ptr) \: ^
  1261. __ATOMIC_OPS(__atomic_add, int, "laa")
  1262.  
  1263. ^
  1264. ^note../arch/s390/include/asm/atomic_ops.h
  1265. : :14expanded: ../arch/s390/include/asm/atomic_ops.h53from:: 27 macro: 2In file included from '__ATOMIC_OPS':../arch/s390/boot/sclp_early_core.cnote::
  1266. 2:
  1267. expandedIn file included from ../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.cfrom __ATOMIC_OP(op_name, op_type, op_string, "\n") \:note
  1268. 11: macro:
  1269. ^In file included from expanded'__ATOMIC_OP'
  1270. ../arch/s390/include/asm/irq.h :In file included from from
  1271. 30../arch/s390/boot/mem_detect.c :
  1272. ../arch/s390/include/asm/atomic_ops.h:macroIn file included from :4static inline op_type op_name(op_type val, op_type *ptr) \ ../include/linux/hardirq.h14:
  1273.  
  1274. '__ATOMIC_OPS'::In file included from 553../arch/s390/include/asm/sclp.h ^
  1275. :
  1276. ::
  1277. In file included from 11../include/linux/preempt.h __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
  1278. :
  1279. In file included from 78note../arch/s390/include/asm/chpid.h:
  1280. ^: :
  1281. 10../arch/s390/include/asm/preempt.hexpanded:
  1282. : ../arch/s390/include/asm/atomic_ops.hIn file included from 56from:../arch/s390/include/asm/cio.h: 14:27macro:8: 53:
  1283. '__ATOMIC_OP':In file included from ../include/linux/spinlock.h
  1284. :warning51: note: :
  1285. passingIn file included from expanded static inline op_type op_name(op_type val, op_type *ptr) \../include/linux/preempt.h '__u32 *'
  1286. :from 78 (aka 'unsigned int *') ^:
  1287. macro
  1288. to../arch/s390/include/asm/preempt.h'__ATOMIC_OP' :parameter
  1289. 68 :of26 :type 'int *' static inline op_type op_name(op_type val, op_type *ptr) \warningconverts
  1290. In file included from :
  1291. ../arch/s390/boot/ipl_vmparm.c ^:between
  1292. 2passing :
  1293. In file included from pointersIn file included from ../arch/s390/boot/als.c'__u32 *' ../arch/s390/boot/../kernel/ipl_vmparm.c: to:7(aka 'unsigned int *') 3:
  1294. integer:
  1295. In file included from to In file included from ../arch/s390/include/asm/facility.h types../arch/s390/include/asm/ipl.h:parameter :13 In file included from with13:
  1296. of../arch/s390/boot/ipl_parm.c :
  1297. In file included from :differentIn file included from ../include/linux/preempt.htype6 ../arch/s390/include/asm/cio.h: :
  1298. sign:In file included from 78'int *'In file included from 8../arch/s390/boot/startup.c:
  1299. ../arch/s390/include/asm/sclp.h[-Wpointer-sign]:
  1300. :converts:In file included from 4../arch/s390/include/asm/preempt.h
  1301. 11
  1302. ../include/linux/spinlock.h:
  1303. : :
  1304. :In file included from 68betweenIn file included from 51 __atomic_add_const(val, &S390_lowcore.preempt_count);../arch/s390/include/asm/sclp.h: ../arch/s390/include/asm/chpid.h:
  1305.  
  1306. :26pointers:In file included from 11: 10../include/linux/preempt.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~:
  1307. to:
  1308. :
  1309. In file included from In file included from 78../arch/s390/include/asm/chpid.hinteger../arch/s390/include/asm/cio.h:
  1310. :warning :10../arch/s390/include/asm/atomic_ops.h: types8../arch/s390/include/asm/preempt.h:
  1311. : :
  1312. :In file included from 56withIn file included from 28../arch/s390/include/asm/cio.h:passing ../include/linux/spinlock.h::1 different:288:'__u32 *' 51::
  1313. sign:
  1314. In file included from (aka 'unsigned int *') In file included from ../include/linux/spinlock.h [-Wpointer-sign]../include/linux/preempt.h:noteto:warning51:
  1315. 78: :
  1316. parameter:
  1317. In file included from passing ../include/linux/preempt.h of return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;../arch/s390/include/asm/preempt.hpassing:argument
  1318. : 78 type68'__u32 *':
  1319. to ^~~~~~~~~~~~~~~~~~~~~~~~~~~: 'int *'
  1320. 26(aka 'unsigned int *')../arch/s390/include/asm/preempt.hparameter : : converts to68'ptr'
  1321. ../arch/s390/include/asm/atomic_ops.h: parameter:26herebetweenwarning 30: : of:
  1322. pointers 1 typepassing :to__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")'int *''__u32 *' warning
  1323. : integerconverts(aka 'unsigned int *') ^
  1324. notetypes
  1325. to: passing between with parameterpassing'__u32 *' pointers ../arch/s390/include/asm/atomic_ops.h argument to parameter 'ptr' here
  1326. __ATOMIC_OPS(__atomic_add, int, "laa")
  1327. ^
  1328. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  1329. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1330. ^
  1331. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  1332. static inline op_type op_name(op_type val, op_type *ptr) \
  1333. ^
  1334. (aka 'unsigned int *') to parameter of type 'int *' converts
  1335. between pointers to differentinteger types withsign different[-Wpointer-sign] sign
  1336. [-Wpointer-sign]to
  1337. integerof types with differenttype sign'int *' [-Wpointer-sign]converts return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;
  1338.  
  1339.  
  1340. between return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;: ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1341. 6
  1342. pointers53 warning : ^~~~~~~~~~~~~~~~~~~~~~~~~~~ } while (__atomic_cmpxchg(&S390_lowcore.preempt_count,sto2
  1343.  
  1344. generated :.
  1345. ../arch/s390/include/asm/atomic_ops.hinteger ^~~~~~~~~~~~~~~~~~~~~~~~~~~:
  1346. 30types../arch/s390/include/asm/atomic_ops.h: note:1with: 30: ../arch/s390/include/asm/atomic_ops.h: different:expanded1 123 :sign:from note 41 : [-Wpointer-sign]:macro notepassing
  1347. '__ATOMIC_CONST_OPS': argumentnote
  1348. passing return __atomic_add(-1, &S390_lowcore.preempt_count) == 1; :
  1349. toargument __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \passing ^~~~~~~~~~~~~~~~~~~~~~~~~~~parameter
  1350. to
  1351. argument 'ptr' ^ parameter
  1352. to here../arch/s390/include/asm/atomic_ops.h 'ptr':parameter
  1353. 30 ../arch/s390/include/asm/atomic_ops.hhere:'ptr':1 __ATOMIC_OPS(__atomic_add, int, "laa")44
  1354. :here
  1355. : 50
  1356. ^__ATOMIC_OPS(__atomic_add, int, "laa"):
  1357.  
  1358. note: static inline int __atomic_cmpxchg(int *ptr, int old, int new)^
  1359.  
  1360. notepassing../arch/s390/include/asm/atomic_ops.h: : ^argument27
  1361. expanded ../arch/s390/include/asm/atomic_ops.h: to:2from 27: parameter: macro 2 'ptr':'__ATOMIC_CONST_OP' notehere:
  1362.  
  1363. noteexpanded: static inline void op_name(op_type val, op_type *ptr) \
  1364. __ATOMIC_OPS(__atomic_add, int, "laa")fromexpanded
  1365. ^macrofrom
  1366. ^
  1367. '__ATOMIC_OPS'macro
  1368. '__ATOMIC_OPS'../arch/s390/include/asm/atomic_ops.h:
  1369. 27:2: note: __ATOMIC_OP(op_name, op_type, op_string, "\n") \expanded
  1370. from ^ __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1371.  
  1372. macro ^'__ATOMIC_OPS'
  1373. ../arch/s390/include/asm/atomic_ops.h:
  1374. 14../arch/s390/include/asm/atomic_ops.h::5314::In file included from __ATOMIC_OP(op_name, op_type, op_string, "\n") \ 53../arch/s390/boot/sclp_early_core.c
  1375. :: 2 ^note:
  1376.  
  1377. : In file included from note../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.cexpanded: :../arch/s390/include/asm/atomic_ops.hIn file included from 11:../arch/s390/boot/ipl_vmparm.cfromexpanded:
  1378. 14: In file included from :2macrofrom../arch/s390/include/asm/irq.h53:
  1379. ::In file included from '__ATOMIC_OP'macro30 ../arch/s390/boot/../kernel/ipl_vmparm.c :
  1380. :
  1381. '__ATOMIC_OP'In file included from 3../include/linux/hardirq.hnote:
  1382.  
  1383. :: In file included from 5static inline op_type op_name(op_type val, op_type *ptr) \../arch/s390/include/asm/ipl.h:
  1384.  
  1385. expanded:In file included from static inline op_type op_name(op_type val, op_type *ptr) \ 13../include/linux/preempt.h
  1386. ^from:
  1387. :
  1388. In file included from 78 ^macro../arch/s390/include/asm/cio.h:
  1389.  
  1390. :'__ATOMIC_OP'8../arch/s390/include/asm/preempt.h:
  1391. :
  1392. In file included from 58../include/linux/spinlock.h::2151:static inline op_type op_name(op_type val, op_type *ptr) \:
  1393.  
  1394. In file included from ../include/linux/preempt.h ^:warning
  1395. 78: :
  1396. ../arch/s390/include/asm/preempt.hpassing: 40'__u32 *': 38(aka 'unsigned int *'): to parameterwarning : of typepassing 'int *''__u32 *' converts(aka 'unsigned int *')
  1397. tobetween parameterpointers ofto typeinteger 'int *'types convertswith
  1398. differentbetween signpointers [-Wpointer-sign]to
  1399. integer types with different sign [-Wpointer-sign]
  1400. __atomic_add(val, &S390_lowcore.preempt_count);
  1401. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1402. ../arch/s390/include/asm/atomic_ops.h:30:1 __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);:
  1403. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1404. note: passing ../arch/s390/include/asm/atomic_ops.hargument: 31to: 1parameter: 'ptr' herenote:
  1405. passing argument to __ATOMIC_OPS(__atomic_add, int, "laa")parameter
  1406. 'ptr'^
  1407. here
  1408. ../arch/s390/include/asm/atomic_ops.h:27:2: __ATOMIC_OPS(__atomic_and, int, "lan")
  1409. note: ^
  1410. expanded from macro ../arch/s390/include/asm/atomic_ops.h'__ATOMIC_OPS':27
  1411. :2: note: expanded from macro '__ATOMIC_OPS'
  1412. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1413. ^
  1414. ../arch/s390/include/asm/atomic_ops.h:14:53: note __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
  1415. expanded ^
  1416. from macro../arch/s390/include/asm/atomic_ops.h :'__ATOMIC_OP'14:
  1417. 53: note: expanded from macro '__ATOMIC_OP'static inline op_type op_name(op_type val, op_type *ptr) \
  1418.  
  1419. ^
  1420. static inline op_type op_name(op_type val, op_type *ptr) \
  1421. ^
  1422. In file included from ../arch/s390/boot/ipl_vmparm.c:2:
  1423. In file included from ../arch/s390/boot/../kernel/ipl_vmparm.c:3:
  1424. In file included from ../arch/s390/include/asm/ipl.h:13:
  1425. In file included from ../arch/s390/include/asm/cio.hIn file included from :../arch/s390/boot/sclp_early_core.c8::
  1426. 2In file included from :
  1427. ../include/linux/spinlock.hIn file included from :../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c51::
  1428. 11In file included from :
  1429. ../include/linux/preempt.hIn file included from :../arch/s390/include/asm/irq.h78::
  1430. 30:
  1431. ../arch/s390/include/asm/preempt.hIn file included from :../include/linux/hardirq.h45::536:
  1432. :In file included from ../include/linux/preempt.h:78warning:
  1433. : ../arch/s390/include/asm/preempt.h:passing68 :'__u32 *'26 :(aka 'unsigned int *') to warningparameter: of passingtype '__u32 *''int *' (aka 'unsigned int *')converts
  1434. to betweenparameter pointersof totype integer'int *' typesconverts
  1435. with betweendifferent pointerssign to[-Wpointer-sign] integer
  1436. types with different sign [-Wpointer-sign]
  1437. __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);
  1438. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1439. return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;
  1440. ../arch/s390/include/asm/atomic_ops.h: ^~~~~~~~~~~~~~~~~~~~~~~~~~~32
  1441. :1../arch/s390/boot/ipl_parm.c:: 7112: warning39../arch/s390/include/asm/atomic_ops.hnotes::: generated 30.
  1442. :passing1 warning:argument: to passingnoteparameter : 'ptr''u8 const[]' passinghereto argument
  1443. parameter toof parametertype__ATOMIC_OPS(__atomic_or, int, "lao")
  1444. 'ptr''const char *' ^hereconverts
  1445. between
  1446. pointers../arch/s390/include/asm/atomic_ops.h :to27
  1447. : 2integer__ATOMIC_OPS(__atomic_add, int, "laa"):
  1448. types ^withnote
  1449. : different expandedsign from../arch/s390/include/asm/atomic_ops.h[-Wpointer-sign] :macro
  1450. 27 :'__ATOMIC_OPS'2:
  1451. note: expanded from macro '__ATOMIC_OPS' __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1452. count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
  1453.  
  1454. ^
  1455. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1456. ../arch/s390/include/asm/atomic_ops.h __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
  1457. 14: ^53
  1458. : ../include/linux/kernel.h:../arch/s390/include/asm/atomic_ops.hnote860:: :1436expanded:: 53from: macronote : '__ATOMIC_OP'note
  1459. expanded: fromexpanded macrostatic inline op_type op_name(op_type val, op_type *ptr) \from
  1460. 'min'macro ^
  1461.  
  1462. '__ATOMIC_OP'
  1463. #define min(x, y) __careful_cmp(x, y, <)
  1464. ^
  1465. static inline op_type op_name(op_type val, op_type *ptr) \
  1466. ^
  1467. ../include/linux/kernel.h:851:38: note: expanded from macro '__careful_cmp'
  1468. __builtin_choose_expr(__safe_cmp(x, y), \
  1469. ^
  1470. ../include/linux/kernel.h:841:19: note: expanded from macro '__safe_cmp'
  1471. (__typecheck(x, y) && __no_side_effects(x, y))
  1472. ^
  1473. ../include/linux/kernel.h:827:40: note: expanded from macro '__typecheck'
  1474. (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
  1475. ^
  1476. ../arch/s390/boot/ipl_parm.c:54:42: note: passing argument to parameter 'buf' here
  1477. static size_t scpdata_length(const char *buf, size_t count)
  1478. ^
  1479. In file included from ../arch/s390/boot/ipl_vmparm.c:2:
  1480. In file included from ../arch/s390/boot/../kernel/ipl_vmparm.c:3:
  1481. In file included from ../arch/s390/include/asm/ipl.h:13:
  1482. In file included from ../arch/s390/include/asm/cio.h:8:
  1483. In file included from ../include/linux/spinlock.h:../arch/s390/boot/ipl_parm.c51::
  1484. 71In file included from :../include/linux/preempt.h39::78 :
  1485. ../arch/s390/include/asm/preempt.hwarning:: 56:27:passing 'u8 const[]' warningto: parameter passingof '__u32 *'type (aka 'unsigned int *')'const char *' toconverts parameterbetween ofpointers typeto
  1486. 'int *' integerconverts
  1487. types betweenwith pointersdifferent tosign integer[-Wpointer-sign] types
  1488. with different sign [-Wpointer-sign]
  1489. __atomic_add_const(val, &S390_lowcore.preempt_count);
  1490. count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
  1491. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1492. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1493. ../arch/s390/include/asm/atomic_ops.h:56:1: note: passing argument to parameter 'ptr' here
  1494. ../include/linux/kernel.h:860:36:__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")
  1495. ^note
  1496. : expanded ../arch/s390/include/asm/atomic_ops.hfrom: 53macro: 2'min':
  1497. note: expanded from macro #define min(x, y) __careful_cmp(x, y, <)'__ATOMIC_CONST_OPS'
  1498.  
  1499. ^
  1500. __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \../include/linux/kernel.h
  1501. :851 ^:
  1502. 38: ../arch/s390/include/asm/atomic_ops.h:note44: :50:expanded from notemacro: '__careful_cmp'expanded
  1503. from macro '__ATOMIC_CONST_OP'
  1504. __builtin_choose_expr(__safe_cmp(x, y), \
  1505. ^
  1506. static inline void op_name(op_type val, op_type *ptr) \
  1507. ^
  1508. ../include/linux/kernel.h:841:46: note: expanded from macro '__safe_cmp'
  1509. In file included from ../arch/s390/boot/ipl_vmparm.c:2:
  1510. In file included from ../arch/s390/boot/../kernel/ipl_vmparm.c:3:
  1511. In file included from ../arch/s390/include/asm/ipl.h:13 (__typecheck(x, y) && __no_side_effects(x, y)):
  1512.  
  1513. In file included from ../arch/s390/include/asm/cio.h ^:
  1514. 8:
  1515. In file included from ../include/linux/spinlock.h:51:
  1516. In file included from ../include/linux/preempt.h:78:
  1517. ../arch/s390/include/asm/preempt.h:58../include/linux/kernel.h::21838:: 40: warning: note: passing expanded'__u32 *' from(aka 'unsigned int *') macroto '__no_side_effects'parameter
  1518. of type 'int *' converts
  1519. between pointers to integer (__is_constexpr(x) && __is_constexpr(y))
  1520. types ^with
  1521. different sign [-Wpointer-sign]
  1522. ../include/linux/kernel.h:835:48 __atomic_add(val, &S390_lowcore.preempt_count);:
  1523. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1524. note: expanded../arch/s390/include/asm/atomic_ops.h :from30 :macro1 :'__is_constexpr'
  1525. note: passing argument to parameter 'ptr' here
  1526. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))__ATOMIC_OPS(__atomic_add, int, "laa")
  1527.  
  1528. ^^
  1529.  
  1530. ../arch/s390/boot/ipl_parm.c../arch/s390/include/asm/atomic_ops.h::5427::422:: notenote: : passingexpanded argumentfrom tomacro parameter'__ATOMIC_OPS' 'buf'
  1531. here
  1532. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1533. ^
  1534. static size_t scpdata_length(const char *buf, size_t count)
  1535. ^
  1536. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  1537. static inline op_type op_name(op_type val, op_type *ptr) \
  1538. ^
  1539. ../arch/s390/boot/ipl_parm.c:71:39: warning: passing 'u8 const[]' to parameter of type 'const char *' converts between pointers to
  1540. integer types with different sign [-Wpointer-sign]
  1541. count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
  1542. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1543. In file included from ../arch/s390/boot/ipl_vmparm.c:2:
  1544. In file included from ../arch/s390/boot/../kernel/ipl_vmparm.c:3:
  1545. In file included from ../arch/s390/include/asm/ipl.h:13../include/linux/kernel.h:
  1546. :In file included from 860../arch/s390/include/asm/cio.h::368::
  1547. In file included from ../include/linux/spinlock.h:51note:
  1548. : In file included from ../include/linux/preempt.hexpanded: 78from:
  1549. macro../arch/s390/include/asm/preempt.h :'min'68:
  1550. 26: warning: passing#define min(x, y) __careful_cmp(x, y, <)
  1551. '__u32 *' ^(aka 'unsigned int *')
  1552. to parameter of type 'int *' ../include/linux/kernel.hconverts:
  1553. 852 :between12 :pointers to noteinteger: typesexpanded withfrom differentmacro sign'__careful_cmp' [-Wpointer-sign]
  1554.  
  1555. __cmp(x, y, op), \
  1556. ^
  1557. return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;
  1558. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1559. ../include/linux/kernel.h../arch/s390/include/asm/atomic_ops.h::84330::341:: notenote: : passingexpanded argumentfrom tomacro parameter'__cmp' 'ptr'
  1560. here
  1561. #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))__ATOMIC_OPS(__atomic_add, int, "laa")
  1562.  
  1563. ^^
  1564.  
  1565. ../arch/s390/boot/ipl_parm.c../arch/s390/include/asm/atomic_ops.h::5427::422:: notenote: : expandedpassing fromargument macroto '__ATOMIC_OPS'parameter
  1566. 'buf' here
  1567. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1568. ^
  1569. static size_t scpdata_length(const char *buf, size_t count)
  1570. ../arch/s390/include/asm/atomic_ops.h: ^14
  1571. :53: note: expanded from macro '__ATOMIC_OP'
  1572. static inline op_type op_name(op_type val, op_type *ptr) \
  1573. ^
  1574. ../arch/s390/boot/ipl_parm.c:71:39: warning: passing 'u8 const[]' to parameter of type 'const char *' converts between pointers to
  1575. integer types with different sign [-Wpointer-sign]
  1576. count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
  1577. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1578. ../include/linux/kernel.h:860:36: note: expanded from macro 'min'
  1579. #define min(x, y) __careful_cmp(x, y, <)
  1580. ^
  1581. ../include/linux/kernel.h:852:12: note: expanded from macro '__careful_cmp'
  1582. __cmp(x, y, op), \
  1583. ^
  1584. ../include/linux/kernel.h:843:46: note: expanded from macro '__cmp'
  1585. #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
  1586. ^
  1587. ../arch/s390/boot/ipl_parm.c:54:42: note: passing argument to parameter 'buf' here
  1588. static size_t scpdata_length(const char *buf, size_t count)
  1589. ^
  1590. ../arch/s390/boot/ipl_parm.c:71:39: warning: passing 'u8 const[]' to parameter of type 'const char *' converts between pointers to
  1591. integer types with different sign [-Wpointer-sign]
  1592. count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
  1593. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1594. ../include/linux/kernel.h:860:36: note: expanded from macro 'min'
  1595. #define min(x, y) __careful_cmp(x, y, <)
  1596. ^
  1597. ../include/linux/kernel.h:853:17: note: expanded from macro '__careful_cmp'
  1598. __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op))
  1599. ^
  1600. ../include/linux/kernel.h:847:10: note: expanded from macro '__cmp_once'
  1601. typeof(y) unique_y = (y); \
  1602. ^
  1603. ../arch/s390/boot/ipl_parm.c:54:42: note: passing argument to parameter 'buf' here
  1604. static size_t scpdata_length(const char *buf, size_t count)
  1605. ^
  1606. ../arch/s390/boot/ipl_parm.c:71:39: warning: passing 'u8 const[]' to parameter of type 'const char *' converts between pointers to
  1607. integer types with different sign [-Wpointer-sign]
  1608. count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
  1609. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1610. ../include/linux/kernel.h:860:36: note: expanded from macro 'min'
  1611. #define min(x, y) __careful_cmp(x, y, <)
  1612. ^
  1613. ../include/linux/kernel.h:853:17: note: expanded from macro '__careful_cmp'
  1614. __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op))
  1615. ^
  1616. ../include/linux/kernel.h:847:25: note: expanded from macro '__cmp_once'
  1617. typeof(y) unique_y = (y); \
  1618. ^
  1619. ../arch/s390/boot/ipl_parm.c:54:42: note: passing argument to parameter 'buf' here
  1620. static size_t scpdata_length(const char *buf, size_t count)
  1621. ^
  1622. ../arch/s390/boot/ipl_parm.c:139:10: warning: passing 'char *' to parameter of type 'volatile __u8 *'
  1623. (aka 'volatile unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  1624. EBCASC(COMMAND_LINE, ARCH_COMMAND_LINE_SIZE);
  1625. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1626. ../arch/s390/include/asm/setup.h:66:22: note: expanded from macro 'COMMAND_LINE'
  1627. #define COMMAND_LINE ((char *) (COMMAND_LINE_OFFSET))
  1628. ^
  1629. ../arch/s390/include/asm/ebcdic.h:40:51: note: expanded from macro 'EBCASC'
  1630. #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr)
  1631. ^~~~
  1632. ../arch/s390/include/asm/ebcdic.h:23:56: note: passing argument to parameter 'addr' here
  1633. codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
  1634. ^
  1635. 12 warnings generated.
  1636. 12 warnings generated.
  1637. In file included from ../arch/s390/boot/ipl_vmparm.c:2:
  1638. ../arch/s390/boot/../kernel/ipl_vmparm.c:30:16: warning: passing 'char *' to parameter of type 'volatile __u8 *'
  1639. (aka 'volatile unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  1640. EBC_TOLOWER(dest, len);
  1641. ^~~~
  1642. ../arch/s390/include/asm/ebcdic.h:43:61: note: expanded from macro 'EBC_TOLOWER'
  1643. #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr)
  1644. ^~~~
  1645. ../arch/s390/include/asm/ebcdic.h:23:56: note: passing argument to parameter 'addr' here
  1646. codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
  1647. ^
  1648. In file included from ../arch/s390/boot/ipl_vmparm.c:2:
  1649. ../arch/s390/boot/../kernel/ipl_vmparm.c:31:10: warning: passing 'char *' to parameter of type 'volatile __u8 *'
  1650. (aka 'volatile unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  1651. EBCASC(dest, len);
  1652. ^~~~
  1653. ../arch/s390/include/asm/ebcdic.h:40:51: note: expanded from macro 'EBCASC'
  1654. #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr)
  1655. ^~~~
  1656. ../arch/s390/include/asm/ebcdic.h:23:56: note: passing argument to parameter 'addr' here
  1657. codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
  1658. ^
  1659. 19 warnings generated.
  1660. 14 warnings generated.
  1661. 12 warnings generated.
  1662. In file included from ../arch/s390/boot/compressed/decompressor.c:10:
  1663. In file included from ../include/linux/kernel.h:12:
  1664. In file included from ../include/linux/bitops.h:19:
  1665. ../arch/s390/include/asm/bitops.h:76:22: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  1666. to integer types with different sign [-Wpointer-sign]
  1667. __atomic64_or(mask, addr);
  1668. ^~~~
  1669. ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
  1670. __ATOMIC_OPS(__atomic64_or, long, "laog")
  1671. ^
  1672. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  1673. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1674. ^
  1675. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  1676. static inline op_type op_name(op_type val, op_type *ptr) \
  1677. ^
  1678. In file included from ../arch/s390/boot/compressed/decompressor.c:10:
  1679. In file included from ../include/linux/kernel.h:12:
  1680. In file included from ../include/linux/bitops.h:19:
  1681. ../arch/s390/include/asm/bitops.h:97:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  1682. to integer types with different sign [-Wpointer-sign]
  1683. __atomic64_and(mask, addr);
  1684. ^~~~
  1685. ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
  1686. __ATOMIC_OPS(__atomic64_and, long, "lang")
  1687. ^
  1688. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  1689. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1690. ^
  1691. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  1692. static inline op_type op_name(op_type val, op_type *ptr) \
  1693. ^
  1694. In file included from ../arch/s390/boot/compressed/decompressor.c:10:
  1695. In file included from ../include/linux/kernel.h:12:
  1696. In file included from ../include/linux/bitops.h:19:
  1697. ../arch/s390/include/asm/bitops.h:118:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  1698. to integer types with different sign [-Wpointer-sign]
  1699. __atomic64_xor(mask, addr);
  1700. ^~~~
  1701. ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
  1702. __ATOMIC_OPS(__atomic64_xor, long, "laxg")
  1703. ^
  1704. ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
  1705. __ATOMIC_OP(op_name, op_type, op_string, "\n") \
  1706. ^
  1707. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  1708. static inline op_type op_name(op_type val, op_type *ptr) \
  1709. ^
  1710. In file included from ../arch/s390/boot/compressed/decompressor.c:10:
  1711. In file included from ../include/linux/kernel.h:12:
  1712. In file included from ../include/linux/bitops.h:19:
  1713. ../arch/s390/include/asm/bitops.h:128:36: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  1714. to integer types with different sign [-Wpointer-sign]
  1715. old = __atomic64_or_barrier(mask, addr);
  1716. ^~~~
  1717. ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
  1718. __ATOMIC_OPS(__atomic64_or, long, "laog")
  1719. ^
  1720. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  1721. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  1722. ^
  1723. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  1724. static inline op_type op_name(op_type val, op_type *ptr) \
  1725. ^
  1726. In file included from ../arch/s390/boot/compressed/decompressor.c:10:
  1727. In file included from ../include/linux/kernel.h:12:
  1728. In file included from ../include/linux/bitops.h:19:
  1729. ../arch/s390/include/asm/bitops.h:139:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  1730. to integer types with different sign [-Wpointer-sign]
  1731. old = __atomic64_and_barrier(mask, addr);
  1732. ^~~~
  1733. ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
  1734. __ATOMIC_OPS(__atomic64_and, long, "lang")
  1735. ^
  1736. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  1737. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  1738. ^
  1739. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  1740. static inline op_type op_name(op_type val, op_type *ptr) \
  1741. ^
  1742. In file included from ../arch/s390/boot/compressed/decompressor.c:10:
  1743. In file included from ../include/linux/kernel.h:12:
  1744. In file included from ../include/linux/bitops.h:19:
  1745. ../arch/s390/include/asm/bitops.h:150:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
  1746. to integer types with different sign [-Wpointer-sign]
  1747. old = __atomic64_xor_barrier(mask, addr);
  1748. ^~~~
  1749. ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
  1750. __ATOMIC_OPS(__atomic64_xor, long, "laxg")
  1751. ^
  1752. ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
  1753. __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
  1754. ^
  1755. ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
  1756. static inline op_type op_name(op_type val, op_type *ptr) \
  1757. ^
  1758. 6 warnings generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement