Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- In file included from ../arch/s390/boot/als.c:5:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:76:22: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_or(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/als.c:5:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:97:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_and(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_and, long, "lang")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/als.c:5:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:118:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_xor(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_xor, long, "laxg")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/als.c:5:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:128:36: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_or_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/als.c:5:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:139:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_and_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_and, long, "lang")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/als.c:5:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:150:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_xor_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_xor, long, "laxg")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/ipl_parm.c:2:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:76:22: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_or(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/ipl_parm.c:2:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:97:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_and(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_and, long, "lang")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/ipl_parm.c:2:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:118:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_xor(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_xor, long, "laxg")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/ipl_parm.c:2:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:128:36: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_or_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/ipl_parm.c:2:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:139:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_and_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_and, long, "lang")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/ipl_parm.c:2:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:150:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_xor_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_xor, long, "laxg")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/mem_detect.c:4:
- In file included from ../arch/s390/include/asm/sclp.h:11:
- In file included from ../arch/s390/include/asm/chpid.h:10:
- In file included from ../arch/s390/include/asm/cio.h:8:
- In file included from ../include/linux/spinlock.h:51:
- In file included from ../include/linux/preempt.h:11:
- In file included from ../include/linux/list.h:9:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:76:22: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_or(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/mem_detect.c:4:
- In file included from ../arch/s390/include/asm/sclp.h:11:
- In file included from ../arch/s390/include/asm/chpid.h:10:
- In file included from ../arch/s390/include/asm/cio.h:8:
- In file included from ../include/linux/spinlock.h:51:
- In file included from ../include/linux/preempt.h:11:
- In file included from ../include/linux/list.h:9:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:97:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_and(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_and, long, "lang")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/mem_detect.c:4:
- In file included from ../arch/s390/include/asm/sclp.h:11:
- In file included from ../arch/s390/include/asm/chpid.h:10:
- In file included from ../arch/s390/include/asm/cio.h:8:
- In file included from ../include/linux/spinlock.h:51:
- In file included from ../include/linux/preempt.h:11:
- In file included from ../include/linux/list.h:9:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:118:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- In file included from __atomic64_xor(mask, addr);
- ../arch/s390/boot/string.c: ^~~~3
- :
- In file included from ../include/linux/kernel.h../arch/s390/include/asm/atomic_ops.h::1238:
- :In file included from 1../include/linux/bitops.h::In file included from 19../arch/s390/boot/startup.c:
- :4note../arch/s390/include/asm/bitops.h:
- : :In file included from 76../arch/s390/include/asm/sclp.hpassing:: 2211argument::
- In file included from to../arch/s390/include/asm/chpid.h :parameterwarning10 : :
- 'ptr'In file included from ../arch/s390/include/asm/cio.hherepassing: 8
- 'unsigned long *':
- In file included from to../include/linux/spinlock.h :parameter__ATOMIC_OPS(__atomic64_xor, long, "laxg")51
- :
- In file included from ../include/linux/preempt.h:11:
- In file included from ^../include/linux/list.h
- :9of:
- ../arch/s390/include/asm/atomic_ops.hIn file included from type:../include/linux/kernel.h 27:'long *':12 2:
- converts:In file included from ../include/linux/bitops.hbetween: 19pointersnote:
- : ../arch/s390/include/asm/bitops.htoexpanded: 76integerfrom: 22typesmacro: with'__ATOMIC_OPS' different
- warning : sign [-Wpointer-sign]passing __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- 'unsigned long *' ^to
- parameter of type../arch/s390/include/asm/atomic_ops.h :'long *' __atomic64_or(mask, addr);14
- :converts53 ^~~~:between
- pointers
- note : to../arch/s390/include/asm/atomic_ops.h expanded:integer 37 from:types 1 macro:with '__ATOMIC_OP'different
- notesign: [-Wpointer-sign]passing static inline op_type op_name(op_type val, op_type *ptr) \
- argument
- to ^
- parameter 'ptr' here __atomic64_or(mask, addr);
- ^~~~
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ../arch/s390/include/asm/atomic_ops.h:^37
- :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
- from:
- In file included from macro../arch/s390/include/asm/sclp.h :'__ATOMIC_OPS'__ATOMIC_OPS(__atomic64_or, long, "laog")11
- :
- In file included from ^../arch/s390/include/asm/chpid.h
- :10:
- In file included from ../arch/s390/include/asm/cio.h:8../arch/s390/include/asm/atomic_ops.h:
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \:In file included from
- 27../include/linux/spinlock.h:: ^251
- ::
- In file included from ../include/linux/preempt.h../arch/s390/include/asm/atomic_ops.h::note1114: :
- :In file included from 53expanded../include/linux/list.h: : from9 :
- macroIn file included from note ../include/linux/kernel.h: '__ATOMIC_OPS':12expanded
- :
- In file included from from../include/linux/bitops.h :macro19 :
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \'__ATOMIC_OP'
- ../arch/s390/include/asm/bitops.h
- : ^128
- :36: warning: ../arch/s390/include/asm/atomic_ops.hstatic inline op_type op_name(op_type val, op_type *ptr) \:
- 14passing: ^ 53
- 'unsigned long *': to parameternote : of expandedtype from'long *' macroconverts '__ATOMIC_OP'between
- pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_or_barrier(mask, addr);
- static inline op_type op_name(op_type val, op_type *ptr) \ ^~~~
- ^
- ../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:
- 3:
- In file included from ../include/linux/kernel.h:12:
- __ATOMIC_OPS(__atomic64_or, long, "laog")In file included from
- ../include/linux/bitops.h:^19
- :
- ../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 :
- toIn file included from macro ../arch/s390/include/asm/sclp.h parameter:'__ATOMIC_OPS' 11of:
- 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
- :
- convertsIn file included from ^ ../arch/s390/include/asm/cio.h
- between: 8pointers:
- ../arch/s390/include/asm/atomic_ops.h
- In file included from : ../include/linux/spinlock.h14to:: 5153integer:
- : In file included from types../include/linux/preempt.h :with11note :
- : differentIn file included from ../include/linux/list.hexpandedsign: 9from[-Wpointer-sign]:
- In file included from macro
- ../include/linux/kernel.h :'__ATOMIC_OP'12:
- In file included from __atomic64_and(mask, addr);../include/linux/bitops.h
- :19static inline op_type op_name(op_type val, op_type *ptr) \ ^~~~:
- ../arch/s390/include/asm/bitops.h ^:
- 97../arch/s390/include/asm/atomic_ops.h::2336:: 1: warning: note: passing passing'unsigned long *' argumentto toparameter parameterof 'ptr'type here'long *'
- converts between pointers
- to integer __ATOMIC_OPS(__atomic64_and, long, "lang")types
- In file included from In file included from with^../arch/s390/boot/mem_detect.c../arch/s390/boot/sclp_early_core.c
- ::different42 :
- :
- 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
- :
- 2:
- In file included from :In file included from __atomic64_and(mask, addr);../arch/s390/include/asm/chpid.h ../include/linux/kernel.h
- ::1012 ^~~~:
- note:
- 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:
- :from:
- In file included from 36 ../include/linux/spinlock.h:macro../arch/s390/include/asm/bitops.h:1 :51:'__ATOMIC_OPS'76:
- :In file included from
- 22../include/linux/preempt.h::note 11: :
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \In file included from passingwarning
- ../include/linux/list.h : :argument ^9
- :
- topassingIn file included from ../include/linux/kernel.h../arch/s390/include/asm/atomic_ops.hparameter'unsigned long *':: 'ptr'1214to :
- : hereIn file included from 53parameter../include/linux/bitops.h:
- : of19 :
- __ATOMIC_OPS(__atomic64_and, long, "lang")type
- note ../arch/s390/include/asm/bitops.h: 'long *':^ 139
- expandedconverts: 37frombetween../arch/s390/include/asm/atomic_ops.h: :pointers27 macro
- : 2'__ATOMIC_OP'to:warning :
- integer typesnote : withpassing static inline op_type op_name(op_type val, op_type *ptr) \
- expandeddifferent'unsigned long *' ^fromsignto
- macro[-Wpointer-sign]parameter '__ATOMIC_OPS'
- of
- type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign] __atomic64_or(mask, addr);
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^~~~
- ^
- ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/atomic_ops.h: old = __atomic64_and_barrier(mask, addr);:14
- 37::531: ^~~~:
- notenote: : expandedpassing ../arch/s390/include/asm/atomic_ops.hfrom :argumentmacro36 to: '__ATOMIC_OP'1parameter :
- 'ptr' herenote
- : static inline op_type op_name(op_type val, op_type *ptr) \passingIn file included from
- __ATOMIC_OPS(__atomic64_or, long, "laog")../arch/s390/boot/string.cargument
- : ^ 3
- to^:
- In file included from parameter../include/linux/kernel.h :'ptr'../arch/s390/include/asm/atomic_ops.h12 ::
- here27In file included from :../include/linux/bitops.h
- 2::19 :
- __ATOMIC_OPS(__atomic64_and, long, "lang")../arch/s390/include/asm/bitops.h
- note:: 118^:
- In file included from expanded23../arch/s390/boot/startup.c ::from../arch/s390/include/asm/atomic_ops.h 4 ::
- macro28In file included from :warning../arch/s390/include/asm/sclp.h'__ATOMIC_OPS'2: ::11
- :
- In file included from passing../arch/s390/include/asm/chpid.h __ATOMIC_OP(op_name, op_type, op_string, "\n") \ :note
- 'unsigned long *'10: :
- ^toIn file included from expanded
- ../arch/s390/include/asm/cio.h parameter:from 8 of../arch/s390/include/asm/atomic_ops.h:
- macro :In file included from type14../include/linux/spinlock.h'__ATOMIC_OPS' ::'long *'5351
- ::
- converts In file included from ../include/linux/preempt.hbetween __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n"):
- note11pointers: :
- ^In file included from
- expanded../include/linux/list.hto : from9integer../arch/s390/include/asm/atomic_ops.h :
- :macroIn file included from types14 ../include/linux/kernel.h :'__ATOMIC_OP':12with53:
- :
- In file included from different ../include/linux/bitops.h :sign19static inline op_type op_name(op_type val, op_type *ptr) \ note:
- [-Wpointer-sign]: ../arch/s390/include/asm/bitops.h ^
- expanded:
- 118 :from23 :macro __atomic64_xor(mask, addr);
- '__ATOMIC_OP'warning ^~~~
- :
- passing 'unsigned long *'static inline op_type op_name(op_type val, op_type *ptr) \../arch/s390/include/asm/atomic_ops.h
- :to38 ^:parameter
- 1 In file included from :of../arch/s390/boot/sclp_early_core.c :type2 :
- 'long *'In file included from note../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.cconverts: : 7betweenpassing:
- In file included from pointersargument../include/linux/kernel.h
- : 12to:
- toIn file included from integer../include/linux/bitops.h :typesparameter19 :
- with 'ptr'../arch/s390/include/asm/bitops.hdifferent : 97here:sign23 :
- [-Wpointer-sign]
- warning: In file included from __ATOMIC_OPS(__atomic64_xor, long, "laxg")../arch/s390/boot/mem_detect.c __atomic64_xor(mask, addr);
- :passing
- 4'unsigned long *'^:
- ^~~~
- In file included from to
- ../arch/s390/include/asm/sclp.h :parameter11 ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/atomic_ops.h:
- of::In file included from 3827../arch/s390/include/asm/chpid.htype::: 1210'long *':::
- In file included from converts../arch/s390/include/asm/cio.h :betweennotenote8 : : :
- pointersIn file included from
- passing expanded../include/linux/spinlock.h argument :to from51 to :
- integer macroIn file included from parameter ../include/linux/preempt.htypes '__ATOMIC_OPS': 'ptr'11with
- :
- hereIn file included from different../include/linux/list.h
- sign: __ATOMIC_OP(op_name, op_type, op_string, "\n") \ 9
- [-Wpointer-sign]__ATOMIC_OPS(__atomic64_xor, long, "laxg"):
- In file included from ^
- ../include/linux/kernel.h
- ^:
- __atomic64_and(mask, addr);12
- :
- ../arch/s390/include/asm/atomic_ops.hIn file included from ../arch/s390/include/asm/atomic_ops.h: ^~~~../include/linux/bitops.h:14
- :27:19:53:
- 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'
- '__ATOMIC_OP'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- passing argument ^ 'unsigned long *'
- to static inline op_type op_name(op_type val, op_type *ptr) \ parameter../arch/s390/include/asm/atomic_ops.hto
- : 'ptr'14parameter ^ :
- here53of:
- type __ATOMIC_OPS(__atomic64_and, long, "lang")'long *'note
- : converts^expanded
- frombetween macro ../arch/s390/include/asm/atomic_ops.h :pointers27'__ATOMIC_OP'
- : 2
- to: integer typesnotestatic inline op_type op_name(op_type val, op_type *ptr) \ :
- with expanded ^
- fromdifferent macrosign '__ATOMIC_OPS'[-Wpointer-sign]
- old = __atomic64_xor_barrier(mask, addr);
- ^~~~ __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../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:
- :In file included from ../include/linux/kernel.h:In file included from note12../arch/s390/boot/startup.c: note:
- :: In file included from 4passing../include/linux/bitops.h:
- expanded:In file included from argument 19../arch/s390/include/asm/sclp.h from:
- :to 11 macro../arch/s390/include/asm/bitops.h:
- parameter :In file included from '__ATOMIC_OP'128../arch/s390/include/asm/chpid.h'ptr'::
- 3610here::
- In file included from
- ../arch/s390/include/asm/cio.hstatic inline op_type op_name(op_type val, op_type *ptr) \:
- __ATOMIC_OPS(__atomic64_xor, long, "laxg")warning8
- : :
- ^In file included from
- ^../include/linux/spinlock.h
- passing: 51'unsigned long *':
- ../arch/s390/include/asm/atomic_ops.h In file included from :to../include/linux/preempt.h28 ::parameter112 :
- :ofIn file included from ../include/linux/list.htype: 9note'long *':
- : In file included from In file included from converts../include/linux/kernel.hexpanded../arch/s390/boot/sclp_early_core.c : :between12from2 :
- :
- pointersIn file included from macroIn file included from
- ../include/linux/bitops.h ../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c :'__ATOMIC_OPS':to197 :
- :
- 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
- with::
- 36In file included from ^different:../include/linux/bitops.h
- :sign19 :
- ../arch/s390/include/asm/atomic_ops.h[-Wpointer-sign]warning:: ../arch/s390/include/asm/bitops.h14
- ::11853passing::23 old = __atomic64_or_barrier(mask, addr); :
- 'unsigned long *' ^~~~tonote
- : warningparameter: expandedof ../arch/s390/include/asm/atomic_ops.h from:passingtype 37 macro:'unsigned long *''long *' 1 '__ATOMIC_OP':toconverts
- parameterbetween of typepointersnote
- static inline op_type op_name(op_type val, op_type *ptr) \: 'long *'
- topassingconverts ^ integer
- argumentbetween typespointersto
- withtoparameter differentinteger'ptr' signtypeshere [-Wpointer-sign]with
- different sign [-Wpointer-sign]
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ^
- old = __atomic64_or_barrier(mask, addr);
- __atomic64_xor(mask, addr);
- ../arch/s390/include/asm/atomic_ops.h ^~~~:
- ^~~~28
- :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
- parameterparameter 'ptr''ptr' herehere
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h__ATOMIC_OPS(__atomic64_xor, long, "laxg"):__ATOMIC_OPS(__atomic64_or, long, "laog")
- 14
- :^53^
- : ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/atomic_ops.h::27note28::: 22:: expanded notenote: : from expandedexpandedmacro fromfrom'__ATOMIC_OP' macromacro
- '__ATOMIC_OPS''__ATOMIC_OPS'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \ __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^ ^
- ../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
- In file included from ../arch/s390/boot/string.c:3:
- In file included from ../arch/s390/boot/cmdline.cIn file included from :../include/linux/kernel.h../arch/s390/boot/ipl_vmparm.c2:::
- 122:
- In file included from :
- 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::
- 193In file included from :
- :
- ../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 :
- ../arch/s390/include/asm/bitops.h../arch/s390/include/asm/ipl.h12:::
- ^ ^13913In file included from
- :
- :../include/linux/bitops.hIn file included from 37:../arch/s390/include/asm/cio.h19:::
- 8:
- ../arch/s390/include/asm/bitops.hIn file included from :warning../include/linux/spinlock.h76: ::5122:
- :passingIn file included from ../include/linux/preempt.h :'unsigned long *'11 :
- towarningIn file included from : ../include/linux/list.hparameter: 9ofpassing:
- In file included from type'unsigned long *'../include/linux/kernel.h 'long *':to 12 converts:
- parameter In file included from between../include/linux/bitops.hof : pointers19type
- :
- 'long *'to ../arch/s390/include/asm/bitops.h converts:integer 76between: 22 pointers:types
- withto warningdifferentinteger : signtypes [-Wpointer-sign]withpassing different'unsigned long *'
- signto [-Wpointer-sign]parameter
- of type 'long *' converts between pointers
- to integer types with different sign old = __atomic64_and_barrier(mask, addr);
- [-Wpointer-sign] ^~~~
- __atomic64_or(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:36:1: ../arch/s390/include/asm/atomic_ops.h __atomic64_or(mask, addr);note:
- : 37: ^~~~passing1
- :argument to parameternote : ../arch/s390/include/asm/atomic_ops.h'ptr': passinghere37 :argument
- 1 :to parameter note'ptr': here__ATOMIC_OPS(__atomic64_and, long, "lang")passing
- argument^
- to parameter 'ptr'../arch/s390/include/asm/atomic_ops.h :__ATOMIC_OPS(__atomic64_or, long, "laog")here28
- :
- 2^:
- note: ../arch/s390/include/asm/atomic_ops.h__ATOMIC_OPS(__atomic64_or, long, "laog")expanded:In file included from
- In file included from 27../arch/s390/boot/sclp_early_core.c../arch/s390/boot/startup.cfrom::^: 22
- 4macro::
- :
- 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:::
- note72711: :
- ::
- 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
- : :from1210 ^ :
- :
- 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:
- :
- :
- 14fromIn file included from : __ATOMIC_OP(op_name, op_type, op_string, "\n") \../arch/s390/include/asm/bitops.h ../include/linux/spinlock.h53
- :macro::128 51 ^:'__ATOMIC_OPS':
- 36In file included from :
- ../include/linux/preempt.hnote: :../arch/s390/include/asm/atomic_ops.h11expanded: __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
- 14
- warningIn file included from from:: ../include/linux/list.h 53 ^:macro:
- 9 passing:
- '__ATOMIC_OP' In file included from ../arch/s390/include/asm/atomic_ops.h'unsigned long *'../include/linux/kernel.h
- note: :: 14to12: static inline op_type op_name(op_type val, op_type *ptr) \:
- expanded53parameter
- In file included from : ../include/linux/bitops.hfrom of ^:
- 19macrotype:
- note '__ATOMIC_OP': 'long *'../arch/s390/include/asm/bitops.h
- :expandedconverts139 :static inline op_type op_name(op_type val, op_type *ptr) \frombetween37
- :pointersmacro
- ^
- '__ATOMIC_OP'towarning : integer
- typespassing with'unsigned long *' static inline op_type op_name(op_type val, op_type *ptr) \ different
- to sign ^parameter
- [-Wpointer-sign]of
- type 'long *' converts between pointers
- to In file included from old = __atomic64_or_barrier(mask, addr);integer../arch/s390/boot/string.c
- types: ^~~~ 3
- with:
- 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: :
- :
- 37[-Wpointer-sign]In file included from In file included from :../include/linux/bitops.h../arch/s390/boot/../../../lib/cmdline.c1In file included from
- :::../arch/s390/boot/ipl_vmparm.c1916 ::
- :
- 2In file included from old = __atomic64_and_barrier(mask, addr);:
- ../arch/s390/include/asm/bitops.h../include/linux/kernel.h
- noteIn file included from ::: ../arch/s390/boot/../kernel/ipl_vmparm.c15012 ^~~~:::
- passing337In file included from :
- :../include/linux/bitops.hargumentIn file included from : ../arch/s390/include/asm/atomic_ops.h../arch/s390/include/asm/ipl.h:19to:13warning:
- 36:
- : parameter:In file included from ../arch/s390/include/asm/bitops.h 1../arch/s390/include/asm/cio.h:'ptr'::passing97 8 :here:
- 'unsigned long *'23In file included from :
- note../include/linux/spinlock.hto : : 51parameter__ATOMIC_OPS(__atomic64_or, long, "laog")passing:
- warning
- In file included from of: argument../include/linux/preempt.h ^ :type
- to11 passing'long *' :
- parameterIn file included from 'unsigned long *'converts ../include/linux/list.h../arch/s390/include/asm/atomic_ops.h to'ptr'::between 928 parameterhere:
- :pointers In file included from 2
- of
- ../include/linux/kernel.h: :12 totype:
- In file included from __ATOMIC_OPS(__atomic64_and, long, "lang")integer'long *'../include/linux/bitops.h
- note :: typesconverts19^ :
- expandedwithbetween ../arch/s390/include/asm/bitops.hfromdifferentpointers: ../arch/s390/include/asm/atomic_ops.h
- sign97macro: :28'__ATOMIC_OPS'to[-Wpointer-sign]23: integer:2
- :types with old = __atomic64_xor_barrier(mask, addr);warning
- : __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")notedifferent
- : ^~~~sign
- passing ^expanded
- [-Wpointer-sign]'unsigned long *'from ../arch/s390/include/asm/atomic_ops.h macro
- to:../arch/s390/include/asm/atomic_ops.h 38:'__ATOMIC_OPS'14parameter __atomic64_and(mask, addr);::
- of1
- 53 ^~~~::type
- 'long *'notenote: : expanded __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")convertspassingfrom ../arch/s390/include/asm/atomic_ops.h
- between:argumentmacro 36 ^ pointers:
- to'__ATOMIC_OP'
- 1 :parameter
- to ../arch/s390/include/asm/atomic_ops.h 'ptr':integer note14 herestatic inline op_type op_name(op_type val, op_type *ptr) \: :types
- 53
- passing:with ^ __ATOMIC_OPS(__atomic64_xor, long, "laxg")
- argumentdifferent
- signtonote^ :
- [-Wpointer-sign]parameter expanded
- ../arch/s390/include/asm/atomic_ops.h'ptr' : 28from:here __atomic64_and(mask, addr); 2
- macro:
- ^~~~'__ATOMIC_OP'
- __ATOMIC_OPS(__atomic64_and, long, "lang")
- note: ^../arch/s390/include/asm/atomic_ops.h
- expanded: 36from: 1macro: ../arch/s390/include/asm/atomic_ops.h '__ATOMIC_OPS':27
- :note2: static inline op_type op_name(op_type val, op_type *ptr) \:
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n") passing
- ^
- argument ^note
- : toIn file included from ../arch/s390/boot/sclp_early_core.cexpandedparameter: ../arch/s390/include/asm/atomic_ops.h 2from:'ptr':
- 14 In file included from :heremacro../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c53 ::
- '__ATOMIC_OPS'7 __ATOMIC_OPS(__atomic64_and, long, "lang"):
- In file included from ../include/linux/kernel.hnote^::
- 12 __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
- expandedIn file included from ../arch/s390/include/asm/atomic_ops.h../include/linux/bitops.h ^from::
- 2719macro::
- 2'__ATOMIC_OP'../arch/s390/include/asm/atomic_ops.h:../arch/s390/include/asm/bitops.h: :
- 14139In file included from ::../arch/s390/boot/startup.c53note37::: :4 expanded static inline op_type op_name(op_type val, op_type *ptr) \:
- In file included from notefrom: ../arch/s390/include/asm/sclp.h warning ^:macroexpanded:
- 11 :
- '__ATOMIC_OPS'fromIn file included from passing../arch/s390/include/asm/chpid.h
- macro : 'unsigned long *'10'__ATOMIC_OP' :
- toIn file included from
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \ ../arch/s390/include/asm/cio.h
- parameter: 8of ^:
- In file included from type../include/linux/spinlock.hstatic inline op_type op_name(op_type val, op_type *ptr) \ :
- 'long *'51../arch/s390/include/asm/atomic_ops.h :
- : ^convertsIn file included from 14
- ../include/linux/preempt.h:between:53 11:pointers:
- In file included from ../include/linux/list.hto: 9integer:
- note In file included from : types../include/linux/kernel.h :expandedwith12 :
- differentIn file included from from ../include/linux/bitops.h sign:macro19 :
- [-Wpointer-sign]'__ATOMIC_OP'../arch/s390/include/asm/bitops.h
- :
- 150:37: warning: old = __atomic64_and_barrier(mask, addr);
- static inline op_type op_name(op_type val, op_type *ptr) \passing
- ^~~~'unsigned long *'
- ^to
- parameter../arch/s390/include/asm/atomic_ops.h :of36 :type1 :'long *' converts notebetween: pointerspassing
- argumentIn file included from to ../arch/s390/boot/cmdline.ctointeger : parameter2types 'ptr'with:
- hereIn file included from different../arch/s390/boot/../../../lib/cmdline.c
- :sign16 :
- [-Wpointer-sign]__ATOMIC_OPS(__atomic64_and, long, "lang")In file included from
- ../include/linux/kernel.h:^12
- old = __atomic64_xor_barrier(mask, addr);:
- 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::
- :21928:
- :
- :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::
- :1In file included from 23note:../arch/s390/include/asm/ipl.h:: : 13expanded:
- noteIn file included from warningfrom: ../arch/s390/include/asm/cio.h: :macropassing8 :
- passing'__ATOMIC_OPS'argumentIn file included from ../include/linux/spinlock.h'unsigned long *'
- to:51 :
- toparameterIn file included from __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n") ../include/linux/preempt.h
- parameter'ptr': 11 ^ofhere:
- In file included from type
- ../include/linux/list.h :../arch/s390/include/asm/atomic_ops.h'long *'9:__ATOMIC_OPS(__atomic64_xor, long, "laxg") :
- 14
- convertsIn file included from : ../include/linux/kernel.h53^between::
- 12pointers:
- In file included from ../include/linux/bitops.h../arch/s390/include/asm/atomic_ops.hto:note: 19integer: 28:
- :typesexpanded2../arch/s390/include/asm/bitops.h ::withfrom 118 :differentmacro 23 note'__ATOMIC_OP':sign:
- [-Wpointer-sign]expanded warning
- fromstatic inline op_type op_name(op_type val, op_type *ptr) \:
- macro ^'__ATOMIC_OPS'
- passing __atomic64_xor(mask, addr);
- 'unsigned long *' ^~~~to
- parameter of type __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- 'long *'../arch/s390/include/asm/atomic_ops.h : ^converts38
- :between1 :pointers ../arch/s390/include/asm/atomic_ops.h
- : 14tonote: : 53integer: passing types argumentwith note toIn file included from : different ../arch/s390/boot/sclp_early_core.c parameter:expandedsign 2 'ptr':
- from[-Wpointer-sign] In file included from here../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.cmacro
- :
- 7'__ATOMIC_OP':
- In file included from
- __atomic64_xor(mask, addr);../include/linux/kernel.h
- :12 ^~~~__ATOMIC_OPS(__atomic64_xor, long, "laxg"):
- static inline op_type op_name(op_type val, op_type *ptr) \In file included from
- ../include/linux/bitops.h^:
- ^19../arch/s390/include/asm/atomic_ops.h
- :
- :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
- parameter
- of type 'long *' converts between __ATOMIC_OPS(__atomic64_xor, long, "laxg")pointers
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \^
- to
- ^integer
- ../arch/s390/include/asm/atomic_ops.h :types27 ../arch/s390/include/asm/atomic_ops.h::with214 ::different 53 :sign note: [-Wpointer-sign]noteexpanded:
- fromexpanded macrofrom '__ATOMIC_OPS'macro
- '__ATOMIC_OP' old = __atomic64_xor_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
- 38: ^1
- :static inline op_type op_name(op_type val, op_type *ptr) \
- ../arch/s390/include/asm/atomic_ops.h ^:
- note14:: 53:passing argument noteto: parameterexpanded 'ptr'from heremacro
- '__ATOMIC_OP'
- __ATOMIC_OPS(__atomic64_xor, long, "laxg")
- ^
- static inline op_type op_name(op_type val, op_type *ptr) \../arch/s390/include/asm/atomic_ops.h:28
- :2: ^In file included from
- note../arch/s390/boot/cmdline.c: :2expanded:
- 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 :
- ../arch/s390/boot/ipl_parm.c 7In file included from :In file included from ../arch/s390/boot/mem_detect.c'__ATOMIC_OPS':
- ../include/linux/kernel.h6../arch/s390/boot/startup.c::In file included from :
- :4
- 12../arch/s390/include/asm/facility.hIn file included from 4:
- :
- :../arch/s390/include/asm/sclp.h:
- 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:
- 11../arch/s390/include/asm/sclp.h:
- :In file included from :
- :1119../include/linux/preempt.hIn file included from 11:
- ^:
- :../arch/s390/include/asm/chpid.h:
- In file included from
- 78:In file included from ../arch/s390/include/asm/chpid.h../arch/s390/include/asm/bitops.h:
- 10../arch/s390/include/asm/chpid.h:::
- :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:
- ::::../arch/s390/include/asm/cio.h:
- In file included from 1436228:In file included from ../arch/s390/include/asm/cio.h:::
- :8../arch/s390/include/asm/cio.h:53 In file included from 28:
- :8:../arch/s390/boot/../kernel/ipl_vmparm.c:In file included from 8:
- : ../include/linux/spinlock.h:
- In file included from warning3: :In file included from ../include/linux/spinlock.h:
- 51../include/linux/spinlock.h:noteIn file included from ../arch/s390/include/asm/ipl.hwarning:
- :51: :passing13: In file included from 51:
- :
- ../include/linux/preempt.h:
- 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 :
- :78 :
- '__u32 *'78:
- macroparameterIn file included from ../arch/s390/include/asm/preempt.h:
- ../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
- type:
- 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
- 11type :
- warningbetween ^In file included from 'int *': warning
- ../include/linux/list.h warning: pointers:convertspassing:
- 9
- :
- '__u32 *'passingtoIn file included from between passing ../include/linux/kernel.h (aka 'unsigned int *') '__u32 *'integer:pointers '__u32 *' 12toto (aka 'unsigned int *')types:
- (aka 'unsigned int *') In file included from integerparameter towith../include/linux/bitops.h types to : of parameterdifferent19with parameter :
- type ofsigndifferent of ../arch/s390/include/asm/bitops.h 'int *' type[-Wpointer-sign]:sign type 128 converts 'int *'
- :[-Wpointer-sign]
- 'int *' 36
- converts:betweenconverts
- old = __atomic64_or_barrier(mask, addr);
- pointers between } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, between ^~~~
- warningto pointers
- : pointers ^~~~~~~~~~~~~~~~~~~~~~~~~~~integer to
- 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
- : [-Wpointer-sign]converts[-Wpointer-sign]note passing
- : between
- } while (__atomic_cmpxchg(&S390_lowcore.preempt_count,argumentpassingpointers
- to } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, ^~~~~~~~~~~~~~~~~~~~~~~~~~~argument
- } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, toparameter
- to ^~~~~~~~~~~~~~~~~~~~~~~~~~~ integer'ptr'
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~parameter ../arch/s390/include/asm/atomic_ops.h
- types:here'ptr' 123 ../arch/s390/include/asm/atomic_ops.hwith:
- here: 41../arch/s390/include/asm/atomic_ops.h123different:__ATOMIC_OPS(__atomic64_or, long, "laog"):
- :
- 12341sign:: ^static inline int __atomic_cmpxchg(int *ptr, int old, int new)41 [-Wpointer-sign]note
- ::
- ^notepassing../arch/s390/include/asm/atomic_ops.h
- : :note old = __atomic64_or_barrier(mask, addr);argument28: passing
- : to2passingargument ^~~~ :
- parameter argumentto 'ptr'toparameter note../arch/s390/include/asm/atomic_ops.h here: :parameter'ptr'37
- expanded:'ptr'here 1 from:here
- static inline int __atomic_cmpxchg(int *ptr, int old, int new) macro
- static inline int __atomic_cmpxchg(int *ptr, int old, int new)'__ATOMIC_OPS' ^note
- :
- static inline int __atomic_cmpxchg(int *ptr, int old, int new) ^
- passing
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n") ^argument
- to ^
- parameter 'ptr' here../arch/s390/include/asm/atomic_ops.h:
- 14:53: note: expanded from __ATOMIC_OPS(__atomic64_or, long, "laog")macro
- '__ATOMIC_OP'^
- ../arch/s390/include/asm/atomic_ops.h:28:2: static inline op_type op_name(op_type val, op_type *ptr) \
- note: ^
- expanded from macro '__ATOMIC_OPS'
- 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
- ../arch/s390/boot/startup.c::7 ^4:
- :
- 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::
- :
- 14In file included from In file included from :../include/linux/preempt.h../arch/s390/include/asm/chpid.h53:::7810 :
- :
- 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::
- :
- 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:
- :
- ../arch/s390/boot/cmdline.c:
- 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:::
- :
- 1078In file included from 11passing:
- :
- ../arch/s390/boot/../../../lib/cmdline.c:
- 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
- ../arch/s390/include/asm/preempt.h16../arch/s390/include/asm/chpid.h:10:
- In file included from ../arch/s390/include/asm/cio.h:8:
- In file included from ../include/linux/spinlock.h:51:
- In file included from ../include/linux/preempt.h:78:
- ../arch/s390/include/asm/preempt.h(aka 'unsigned int *'):: 408to::
- 38In file included from ^parameter::../include/linux/spinlock.h
- :40:
- of51:In file included from :
- 38../include/linux/kernel.htypewarningIn file included from :: : ../include/linux/preempt.h 12'int *'::
- 78In file included from convertspassing:
- warning../include/linux/bitops.h
- : : '__u32 *'../arch/s390/include/asm/preempt.h19between ::
- (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:
- passing : In file included from converts typesign../arch/s390/boot/../kernel/ipl_vmparm.c
- '__u32 *' : 'int *'passing[-Wpointer-sign]3between(aka 'unsigned int *') :
- converts'unsigned long *'
- In file included from pointersto
- ../arch/s390/include/asm/ipl.h to:toparameterbetween 13 __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); parameter:
- integer
- ofpointers In file included from of../arch/s390/include/asm/cio.htypes ^~~~~~~~~~~~~~~~~~~~~~~~~~~typeto :
- type8with'int *'integer :
- 'long *'In file included from differentconvertstypes ../include/linux/spinlock.h ../arch/s390/include/asm/atomic_ops.h
- converts:sign: with 51 31between between:
- [-Wpointer-sign]: different In file included from 1pointers pointers../include/linux/preempt.h
- : sign
- : to 11 [-Wpointer-sign]to:
- __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);integer In file included from note
- integer../include/linux/list.h: types : ^~~~~~~~~~~~~~~~~~~~~~~~~~~ types9passing
- __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);with :
- with In file included from argument different../include/linux/kernel.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~different../arch/s390/include/asm/atomic_ops.h :to
- :sign12 sign31 :
- parameter :[-Wpointer-sign]In file included from ../include/linux/bitops.h [-Wpointer-sign]1../arch/s390/include/asm/atomic_ops.h
- :'ptr'::19
- 31:
- here: __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);1 old = __atomic64_and_barrier(mask, addr);../arch/s390/include/asm/bitops.h
- note:
- :: 139 ^~~~~~~~~~~~~~~~~~~~~~~~~~~__ATOMIC_OPS(__atomic_and, int, "lan") ^~~~:
- passing
- 37 note:^argument:
- ../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 *':
- 'ptr'tonotenote __ATOMIC_OPS(__atomic_and, int, "lan"): : hereparameter
- note passing: passing
- of^
- __ATOMIC_OPS(__atomic_and, int, "lan")argumentexpandedargumenttype
- tofromto'long *'^../arch/s390/include/asm/atomic_ops.h
- :parametermacroparameterconverts27 :'ptr''__ATOMIC_OPS''ptr'between../arch/s390/include/asm/atomic_ops.h2 ::here
- herepointers27
- :
- 2 __ATOMIC_OP(op_name, op_type, op_string, "\n") \to:note
- __ATOMIC_OPS(__atomic64_and, long, "lang") __ATOMIC_OPS(__atomic_and, int, "lan") :
- integer
- ^ expanded
- ^types^note
- : 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
- :[-Wpointer-sign]2: 2: '__ATOMIC_OPS':
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- old = __atomic64_and_barrier(mask, addr);
- note
- note: note: __ATOMIC_OP(op_name, op_type, op_string, "\n") \ ^expanded:
- ^~~~ fromexpanded
- expanded ^macro from
- ../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
- '__ATOMIC_OP':53:'__ATOMIC_OPS'14:1
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n"): :
- 53 :static inline op_type op_name(op_type val, op_type *ptr) \ ^ note
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- : note
- ^: noteexpanded
- ^../arch/s390/include/asm/atomic_ops.h: passing
- :from 14expanded argument:53 macro :to../arch/s390/include/asm/atomic_ops.hfrom : '__ATOMIC_OP'parameter 14macro'ptr':
- note 53'__ATOMIC_OP': here:
- expandedstatic inline op_type op_name(op_type val, op_type *ptr) \
- fromstatic inline op_type op_name(op_type val, op_type *ptr) \note
- __ATOMIC_OPS(__atomic64_and, long, "lang") ^: macro
- ^expanded'__ATOMIC_OP'
- ^
- from
- macro '__ATOMIC_OP'../arch/s390/include/asm/atomic_ops.h:28
- :static inline op_type op_name(op_type val, op_type *ptr) \2
- : ^
- note: expanded from macro '__ATOMIC_OPS'static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../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:
- : In file included from 4macro../arch/s390/include/asm/sclp.h:
- :In file included from '__ATOMIC_OP'11In file included from ../arch/s390/include/asm/sclp.h:
- ../arch/s390/boot/als.c:
- In file included from :11../arch/s390/include/asm/chpid.h7:
- ::
- 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:
- ../arch/s390/include/asm/facility.h
- :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 ^:
- :2:
- ../arch/s390/boot/ipl_parm.c:
- In file included from 8In file included from :In file included from ../arch/s390/include/asm/cio.h:
- ../arch/s390/boot/../../../lib/cmdline.c6../include/linux/preempt.h:In file included from ::
- :8../include/linux/spinlock.h16:
- In file included from 78:
- :In file included from ../arch/s390/include/asm/sclp.h:11:
- :
- In file included from ../arch/s390/include/asm/chpid.h:10:
- In file included from ../arch/s390/include/asm/cio.h:In file included from 8../arch/s390/include/asm/preempt.h:
- :In file included from ../include/linux/spinlock.h45../include/linux/spinlock.h:::513651:
- ::
- In file included from In file included from ../include/linux/preempt.h../include/linux/preempt.h::7878warning:
- 51:
- : ../include/linux/kernel.h../arch/s390/include/asm/preempt.h:
- ../arch/s390/include/asm/preempt.hIn file included from ::In file included from :passing../arch/s390/boot/ipl_vmparm.c4512../include/linux/preempt.h45 :::
- ::'__u32 *'236In file included from 7836 :
- :../include/linux/bitops.h:
- :(aka 'unsigned int *')In file included from : ../arch/s390/boot/../kernel/ipl_vmparm.c19../arch/s390/include/asm/preempt.hto::
- : 3warning45warningparameter:
- : ../arch/s390/include/asm/bitops.h:: In file included from :36of../arch/s390/include/asm/ipl.h150: :passing: passingtype13 37 :
- '__u32 *':'__u32 *''int *'In file included from warning ../arch/s390/include/asm/cio.h(aka 'unsigned int *'): (aka 'unsigned int *')converts:
- 8towarningto :
- : passing betweenIn file included from parameter parameter ../include/linux/spinlock.h '__u32 *' pointers:ofpassing of 51 (aka 'unsigned int *') to:
- type'unsigned long *' type In file included from to integer../include/linux/preempt.h'int *'to 'int *' : parameter types11convertsparameter converts :
- of
- 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:
- 'long *' :
- In file included from to convertstoIn file included from [-Wpointer-sign]../include/linux/kernel.h converts
- ../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c:integer integer:
- 12 betweenbetween 11:
- types types:
- In file included from pointerspointers In file included from ../include/linux/bitops.h __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);with
- with../arch/s390/include/asm/irq.h:
- to :19differentto different30:
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~ integer :
- 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:
- with
- :
- :37 differentIn file included from 32:different ../include/linux/preempt.h __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);: sign:
- 1 __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);sign 78:
- [-Wpointer-sign]:
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~ warning[-Wpointer-sign]../arch/s390/include/asm/preempt.h
- : ^~~~~~~~~~~~~~~~~~~~~~~~~~~:
- 28note __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);passing:: ../arch/s390/include/asm/atomic_ops.h
- 28: old = __atomic64_xor_barrier(mask, addr);'unsigned long *':passing../arch/s390/include/asm/atomic_ops.h32
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ::
- toargument321 ^~~~ ::
- 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 *')
- :passingargument betweento__ATOMIC_OPS(__atomic_or, int, "lao")noteargumentto
- : pointersparameternotetoparameter
- ^: passing of
- parameter'ptr'to passingargument type 'ptr'hereinteger argument../arch/s390/include/asm/atomic_ops.hto 'int *' : here
- types to27parameter converts __ATOMIC_OPS(__atomic_or, int, "lao"):
- with
- parameter
- 2'ptr' __ATOMIC_OPS(__atomic_or, int, "lao"): differentbetween'ptr'^
- here
- signpointershere^
- note[-Wpointer-sign]to
- ../arch/s390/include/asm/atomic_ops.h__ATOMIC_OPS(__atomic_or, int, "lao"): :
- integer__ATOMIC_OPS(__atomic64_xor, long, "laxg")27../arch/s390/include/asm/atomic_ops.hexpanded
- :^: types2
- old = __atomic64_xor_barrier(mask, addr);27from ^:
- : with
- 2 ^~~~macro :
- ../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:
- :note:2[-Wpointer-sign]38expanded: 2:: __ATOMIC_OP(op_name, op_type, op_string, "\n") \ :
- 1
- fromexpanded : } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, ^macrofromnote
- note: '__ATOMIC_OPS'macro: ^~~~~~~~~~~~~~~~~~~~~~~~~~~note expanded
- : ../arch/s390/include/asm/atomic_ops.h
- '__ATOMIC_OPS'expanded : frompassing14 __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- from ../arch/s390/include/asm/atomic_ops.h:
- macroargument:53 __ATOMIC_OP(op_name, op_type, op_string, "\n") \macro 123: ^
- '__ATOMIC_OPS'to:
- '__ATOMIC_OPS' 41 ^
- parameter:
- note../arch/s390/include/asm/atomic_ops.h'ptr' __ATOMIC_OP(op_name, op_type, op_string, "\n") \: :
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")14../arch/s390/include/asm/atomic_ops.hherenoteexpanded
- :: ^: 5314
- from ^::passing
- 53__ATOMIC_OPS(__atomic64_xor, long, "laxg") macro:
- ../arch/s390/include/asm/atomic_ops.hargument : '__ATOMIC_OP'../arch/s390/include/asm/atomic_ops.hnote^14to::
- :
- 14note53parameter:expanded: : 53 static inline op_type op_name(op_type val, op_type *ptr) \ ../arch/s390/include/asm/atomic_ops.h'ptr':from
- expanded: 28heremacro ^fromnote:
- : 2
- note'__ATOMIC_OP'macro:: static inline int __atomic_cmpxchg(int *ptr, int old, int new)expanded
- '__ATOMIC_OP'
- expandedfrom
- ^static inline op_type op_name(op_type val, op_type *ptr) \ notefrom
- macro: static inline op_type op_name(op_type val, op_type *ptr) \ macro
- ^'__ATOMIC_OP'expanded
- '__ATOMIC_OP' ^
- from
- macro '__ATOMIC_OPS'
- static inline op_type op_name(op_type val, op_type *ptr) \
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^ __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^In file included from
- ../arch/s390/boot/sclp_early_core.c ^:
- 2:
- In file included from ../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c:../arch/s390/include/asm/atomic_ops.h11::
- 14In file included from :../arch/s390/include/asm/irq.h53::30 :
- In file included from ../include/linux/hardirq.hnote:: 5:
- expandedIn file included from ../include/linux/preempt.hfrom: 78macro:
- '__ATOMIC_OP'../arch/s390/include/asm/preempt.h:
- 40:38: warning: passing '__u32 *' (aka 'unsigned int *') to parameter of type 'int *' converts
- static inline op_type op_name(op_type val, op_type *ptr) \ between pointers to
- integer types ^In file included from
- ../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:
- 6../arch/s390/boot/als.c :In file included from :
- :sign4../arch/s390/include/asm/sclp.hIn file included from 7 :
- :../arch/s390/include/asm/sclp.h:
- [-Wpointer-sign]In file included from 11:In file included from ../arch/s390/include/asm/sclp.h:
- 11../arch/s390/include/asm/facility.h
- :In file included from :
- :11../arch/s390/include/asm/chpid.hIn file included from 13:
- __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);:../arch/s390/include/asm/chpid.h:
- In file included from
- 10:In file included from ../arch/s390/include/asm/chpid.h:
- 10../include/linux/preempt.h: ^~~~~~~~~~~~~~~~~~~~~~~~~~~In file included from :
- :10
- ../arch/s390/include/asm/cio.hIn file included from 78:
- :../arch/s390/include/asm/cio.h:
- In file included from 8:../arch/s390/include/asm/cio.h../arch/s390/include/asm/atomic_ops.h:
- 8../arch/s390/include/asm/preempt.h::In file included from :
- :831../include/linux/spinlock.hIn file included from 56:
- ::../include/linux/spinlock.h:In file included from 151:27../include/linux/spinlock.h::
- 51:: In file included from :
- 51../include/linux/preempt.hIn file included from warning:
- :../include/linux/preempt.h: In file included from note78:../include/linux/preempt.h: :
- 78::
- passing78passing../arch/s390/include/asm/preempt.h :
- :../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
- : passing'int *'__ATOMIC_OPS(__atomic_and, int, "lan") passing
- '__u32 *' convertspassing '__u32 *'
- ^ (aka 'unsigned int *')
- '__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 *':
- convertsdifferent
- convertsexpandedbetween sign
- between frompointers [-Wpointer-sign]between pointers macroto
- pointers to '__ATOMIC_OPS'integer to integer
- __atomic_add_const(val, &S390_lowcore.preempt_count);types integer
- types __ATOMIC_OP(op_name, op_type, op_string, "\n") \ with
- types ^~~~~~~~~~~~~~~~~~~~~~~~~~~ with
- different ^with different
- sign different ../arch/s390/include/asm/atomic_ops.hsign [-Wpointer-sign]: ../arch/s390/include/asm/atomic_ops.hsign56[-Wpointer-sign]:
- :14[-Wpointer-sign]1
- ::53
- __atomic_add_const(val, &S390_lowcore.preempt_count); :
- __atomic_add_const(val, &S390_lowcore.preempt_count);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~ __atomic_add_const(val, &S390_lowcore.preempt_count);note
- : note ^~~~~~~~~~~~~~~~~~~~~~~~~~~:
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~passing../arch/s390/include/asm/atomic_ops.h
- 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 :
- notehere : static inline op_type op_name(op_type val, op_type *ptr) \note
- passing: note : ^argument__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")passing
- passing
- toargumentargument ^ parameter
- toto 'ptr'parameterparameter ../arch/s390/include/asm/atomic_ops.h here'ptr':'ptr' In file included from 53
- here../arch/s390/boot/sclp_early_core.c:here:2__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")
- 2:
- :
- __ATOMIC_CONST_OPS(__atomic_add_const, int, "asi") In file included from
- ^../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")
- :^
- note11
- : :
- ^In file included from ../arch/s390/include/asm/atomic_ops.h
- expanded../arch/s390/include/asm/irq.h:../arch/s390/include/asm/atomic_ops.h :53:from30:53../arch/s390/include/asm/atomic_ops.h :
- 2::macroIn file included from :253 ../include/linux/hardirq.h ::'__ATOMIC_CONST_OPS': 25:
- :
- note In file included from : note../include/linux/preempt.h: :noteexpanded __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \78:
- expanded:
- from expanded ^from../arch/s390/include/asm/preempt.h macro
- :from macro45 '__ATOMIC_CONST_OPS' ../arch/s390/include/asm/atomic_ops.h:macro'__ATOMIC_CONST_OPS':36
- 44:'__ATOMIC_CONST_OPS'
- : __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \50
- : __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \ warning
- ^: __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \
- ^note
- : passing ^../arch/s390/include/asm/atomic_ops.h
- :../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
- of : note : typeexpanded static inline void op_name(op_type val, op_type *ptr) \note expanded'int *'
- : from fromconverts ^expandedmacro
- macro from'__ATOMIC_CONST_OP' between '__ATOMIC_CONST_OP' macro
- pointers
- '__ATOMIC_CONST_OP'to
- static inline void op_name(op_type val, op_type *ptr) \integer
- static inline void op_name(op_type val, op_type *ptr) \
- types ^In file included from static inline void op_name(op_type val, op_type *ptr) \
- ^../arch/s390/boot/als.cwith
- : 7different ^:
- In file included from sign../arch/s390/include/asm/facility.h :[-Wpointer-sign]13In file included from :
- ../arch/s390/boot/mem_detect.cIn file included from :../include/linux/preempt.h4::
- 78In file included from In file included from __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);:
- ../arch/s390/include/asm/sclp.h../arch/s390/boot/ipl_parm.c
- In file included from ::../arch/s390/include/asm/preempt.h../arch/s390/boot/startup.c116 ^~~~~~~~~~~~~~~~~~~~~~~~~~~:::
- :
- 584In file included from In file included from ::
- ../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 :::
- :
- 3211In file included from In file included from ::
- ../arch/s390/include/asm/cio.h../arch/s390/include/asm/chpid.hwarning1In file included from ::: :../arch/s390/include/asm/chpid.h810 ::
- In file included from ../include/linux/spinlock.h:51:
- In file included from ../include/linux/preempt.h:78:
- ../arch/s390/include/asm/preempt.h:58:21: warning: passing '__u32 *' (aka 'unsigned int *') to parameter of type 'int *':
- converts
- In file included from between../arch/s390/include/asm/cio.h :pointers8 :
- toIn file included from ../include/linux/spinlock.hinteger: 51passingtypes:
- In file included from '__u32 *'with../include/linux/preempt.h :(aka 'unsigned int *')different78 :
- tosign parameter ../arch/s390/include/asm/preempt.hnote 10[-Wpointer-sign]:: :
- of586In file included from
- :passing warning../arch/s390/include/asm/cio.htype21 s: :argument generated __atomic_add(val, &S390_lowcore.preempt_count);8'int *' .
- :
- toIn file included from converts ^~~~~~~~~~~~~~~~~~~~~~~~~~~../include/linux/spinlock.h
- warningparameter
- : : 51between'ptr':
- In file included from pointers../arch/s390/include/asm/atomic_ops.hpassinghere../include/linux/preempt.h : :to30'__u32 *'
- 78 : :
- integer1(aka 'unsigned int *') __ATOMIC_OPS(__atomic_or, int, "lao"): ../arch/s390/include/asm/preempt.htypes
- to: 58with^parameter:
- note 21different: of: signpassing../arch/s390/include/asm/atomic_ops.htype : [-Wpointer-sign]argument27'int *'warning : :
- to2converts :
- parameter passing between __atomic_add(val, &S390_lowcore.preempt_count); 'ptr'
- '__u32 *' notepointers here: ^~~~~~~~~~~~~~~~~~~~~~~~~~~(aka 'unsigned int *')to
- expanded to integer from__ATOMIC_OPS(__atomic_add, int, "laa") parameter
- types macro../arch/s390/include/asm/atomic_ops.h of ^:with '__ATOMIC_OPS'
- 30 type :different
- 'int *'1 :../arch/s390/include/asm/atomic_ops.hsignconverts __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
- 27[-Wpointer-sign] :betweennote ^2
- :
- :pointers passingto ../arch/s390/include/asm/atomic_ops.h __atomic_add(val, &S390_lowcore.preempt_count); argument:note
- integer 14: to: ^~~~~~~~~~~~~~~~~~~~~~~~~~~types 53expanded
- parameter: with from 'ptr' different macro../arch/s390/include/asm/atomic_ops.h herenote :sign: '__ATOMIC_OPS'30
- :[-Wpointer-sign]expanded
- 1from__ATOMIC_OPS(__atomic_add, int, "laa"):
- macro __ATOMIC_OP(op_name, op_type, op_string, "\n") \^ __atomic_add(val, &S390_lowcore.preempt_count);'__ATOMIC_OP'
- note:
- ^ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../arch/s390/include/asm/atomic_ops.hpassingstatic inline op_type op_name(op_type val, op_type *ptr) \:
- ../arch/s390/include/asm/atomic_ops.h ^27argument:
- ../arch/s390/include/asm/atomic_ops.h: 30:2to:14: 1: parameter:53 :'ptr' note : herenote: noteexpanded
- : passingfrom expanded__ATOMIC_OPS(__atomic_add, int, "laa") argument
- macro from to ^'__ATOMIC_OPS' macro
- parameter
- '__ATOMIC_OP''ptr'../arch/s390/include/asm/atomic_ops.h
- :here27 __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
- 2static inline op_type op_name(op_type val, op_type *ptr) \: ^
- __ATOMIC_OPS(__atomic_add, int, "laa")
- ^
- ^note../arch/s390/include/asm/atomic_ops.h
- : :14expanded: ../arch/s390/include/asm/atomic_ops.h53from:: 27 macro: 2In file included from '__ATOMIC_OPS':../arch/s390/boot/sclp_early_core.cnote::
- 2:
- expandedIn file included from ../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.cfrom __ATOMIC_OP(op_name, op_type, op_string, "\n") \:note
- 11: macro:
- ^In file included from expanded'__ATOMIC_OP'
- ../arch/s390/include/asm/irq.h :In file included from from
- 30../arch/s390/boot/mem_detect.c :
- ../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:
- '__ATOMIC_OPS'::In file included from 553../arch/s390/include/asm/sclp.h ^
- :
- ::
- In file included from 11../include/linux/preempt.h __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
- :
- In file included from 78note../arch/s390/include/asm/chpid.h:
- ^: :
- 10../arch/s390/include/asm/preempt.hexpanded:
- : ../arch/s390/include/asm/atomic_ops.hIn file included from 56from:../arch/s390/include/asm/cio.h: 14:27macro:8: 53:
- '__ATOMIC_OP':In file included from ../include/linux/spinlock.h
- :warning51: note: :
- passingIn file included from expanded static inline op_type op_name(op_type val, op_type *ptr) \../include/linux/preempt.h '__u32 *'
- :from 78 (aka 'unsigned int *') ^:
- macro
- to../arch/s390/include/asm/preempt.h'__ATOMIC_OP' :parameter
- 68 :of26 :type 'int *' static inline op_type op_name(op_type val, op_type *ptr) \warningconverts
- In file included from :
- ../arch/s390/boot/ipl_vmparm.c ^:between
- 2passing :
- 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:
- integer:
- 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:
- of../arch/s390/boot/ipl_parm.c :
- In file included from :differentIn file included from ../include/linux/preempt.htype6 ../arch/s390/include/asm/cio.h: :
- sign:In file included from 78'int *'In file included from 8../arch/s390/boot/startup.c:
- ../arch/s390/include/asm/sclp.h[-Wpointer-sign]:
- :converts:In file included from 4../arch/s390/include/asm/preempt.h
- 11
- ../include/linux/spinlock.h:
- : :
- :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:
- :26pointers:In file included from 11: 10../include/linux/preempt.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~:
- to:
- :
- In file included from In file included from 78../arch/s390/include/asm/chpid.hinteger../arch/s390/include/asm/cio.h:
- :warning :10../arch/s390/include/asm/atomic_ops.h: types8../arch/s390/include/asm/preempt.h:
- : :
- :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::
- sign:
- In file included from (aka 'unsigned int *') In file included from ../include/linux/spinlock.h [-Wpointer-sign]../include/linux/preempt.h:noteto:warning51:
- 78: :
- parameter:
- 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
- : 78 type68'__u32 *':
- to ^~~~~~~~~~~~~~~~~~~~~~~~~~~: 'int *'
- 26(aka 'unsigned int *')../arch/s390/include/asm/preempt.hparameter : : converts to68'ptr'
- ../arch/s390/include/asm/atomic_ops.h: parameter:26herebetweenwarning 30: : of:
- pointers 1 typepassing :to__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")'int *''__u32 *' warning
- : integerconverts(aka 'unsigned int *') ^
- notetypes
- to: passing between with parameterpassing'__u32 *' pointers ../arch/s390/include/asm/atomic_ops.h argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic_add, int, "laa")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- (aka 'unsigned int *') to parameter of type 'int *' converts
- between pointers to differentinteger types withsign different[-Wpointer-sign] sign
- [-Wpointer-sign]to
- integerof types with differenttype sign'int *' [-Wpointer-sign]converts return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;
- between return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;: ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- 6
- pointers53 warning : ^~~~~~~~~~~~~~~~~~~~~~~~~~~ } while (__atomic_cmpxchg(&S390_lowcore.preempt_count,sto2
- generated :.
- ../arch/s390/include/asm/atomic_ops.hinteger ^~~~~~~~~~~~~~~~~~~~~~~~~~~:
- 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
- '__ATOMIC_CONST_OPS': argumentnote
- passing return __atomic_add(-1, &S390_lowcore.preempt_count) == 1; :
- toargument __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \passing ^~~~~~~~~~~~~~~~~~~~~~~~~~~parameter
- to
- argument 'ptr' ^ parameter
- to here../arch/s390/include/asm/atomic_ops.h 'ptr':parameter
- 30 ../arch/s390/include/asm/atomic_ops.hhere:'ptr':1 __ATOMIC_OPS(__atomic_add, int, "laa")44
- :here
- : 50
- ^__ATOMIC_OPS(__atomic_add, int, "laa"):
- note: static inline int __atomic_cmpxchg(int *ptr, int old, int new)^
- notepassing../arch/s390/include/asm/atomic_ops.h: : ^argument27
- expanded ../arch/s390/include/asm/atomic_ops.h: to:2from 27: parameter: macro 2 'ptr':'__ATOMIC_CONST_OP' notehere:
- noteexpanded: static inline void op_name(op_type val, op_type *ptr) \
- __ATOMIC_OPS(__atomic_add, int, "laa")fromexpanded
- ^macrofrom
- ^
- '__ATOMIC_OPS'macro
- '__ATOMIC_OPS'../arch/s390/include/asm/atomic_ops.h:
- 27:2: note: __ATOMIC_OP(op_name, op_type, op_string, "\n") \expanded
- from ^ __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- macro ^'__ATOMIC_OPS'
- ../arch/s390/include/asm/atomic_ops.h:
- 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
- :: 2 ^note:
- : 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:
- 14: In file included from :2macrofrom../arch/s390/include/asm/irq.h53:
- ::In file included from '__ATOMIC_OP'macro30 ../arch/s390/boot/../kernel/ipl_vmparm.c :
- :
- '__ATOMIC_OP'In file included from 3../include/linux/hardirq.hnote:
- :: In file included from 5static inline op_type op_name(op_type val, op_type *ptr) \../arch/s390/include/asm/ipl.h:
- expanded:In file included from static inline op_type op_name(op_type val, op_type *ptr) \ 13../include/linux/preempt.h
- ^from:
- :
- In file included from 78 ^macro../arch/s390/include/asm/cio.h:
- :'__ATOMIC_OP'8../arch/s390/include/asm/preempt.h:
- :
- In file included from 58../include/linux/spinlock.h::2151:static inline op_type op_name(op_type val, op_type *ptr) \:
- In file included from ../include/linux/preempt.h ^:warning
- 78: :
- ../arch/s390/include/asm/preempt.hpassing: 40'__u32 *': 38(aka 'unsigned int *'): to parameterwarning : of typepassing 'int *''__u32 *' converts(aka 'unsigned int *')
- tobetween parameterpointers ofto typeinteger 'int *'types convertswith
- differentbetween signpointers [-Wpointer-sign]to
- integer types with different sign [-Wpointer-sign]
- __atomic_add(val, &S390_lowcore.preempt_count);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../arch/s390/include/asm/atomic_ops.h:30:1 __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);:
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- note: passing ../arch/s390/include/asm/atomic_ops.hargument: 31to: 1parameter: 'ptr' herenote:
- passing argument to __ATOMIC_OPS(__atomic_add, int, "laa")parameter
- 'ptr'^
- here
- ../arch/s390/include/asm/atomic_ops.h:27:2: __ATOMIC_OPS(__atomic_and, int, "lan")
- note: ^
- expanded from macro ../arch/s390/include/asm/atomic_ops.h'__ATOMIC_OPS':27
- :2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
- expanded ^
- from macro../arch/s390/include/asm/atomic_ops.h :'__ATOMIC_OP'14:
- 53: note: expanded from macro '__ATOMIC_OP'static 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 ../arch/s390/boot/ipl_vmparm.c:2:
- In file included from ../arch/s390/boot/../kernel/ipl_vmparm.c:3:
- In file included from ../arch/s390/include/asm/ipl.h:13:
- In file included from ../arch/s390/include/asm/cio.hIn file included from :../arch/s390/boot/sclp_early_core.c8::
- 2In file included from :
- ../include/linux/spinlock.hIn file included from :../arch/s390/boot/../../../drivers/s390/char/sclp_early_core.c51::
- 11In file included from :
- ../include/linux/preempt.hIn file included from :../arch/s390/include/asm/irq.h78::
- 30:
- ../arch/s390/include/asm/preempt.hIn file included from :../include/linux/hardirq.h45::536:
- :In file included from ../include/linux/preempt.h:78warning:
- : ../arch/s390/include/asm/preempt.h:passing68 :'__u32 *'26 :(aka 'unsigned int *') to warningparameter: of passingtype '__u32 *''int *' (aka 'unsigned int *')converts
- to betweenparameter pointersof totype integer'int *' typesconverts
- with betweendifferent pointerssign to[-Wpointer-sign] integer
- types with different sign [-Wpointer-sign]
- __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;
- ../arch/s390/include/asm/atomic_ops.h: ^~~~~~~~~~~~~~~~~~~~~~~~~~~32
- :1../arch/s390/boot/ipl_parm.c:: 7112: warning39../arch/s390/include/asm/atomic_ops.hnotes::: generated 30.
- :passing1 warning:argument: to passingnoteparameter : 'ptr''u8 const[]' passinghereto argument
- parameter toof parametertype__ATOMIC_OPS(__atomic_or, int, "lao")
- 'ptr''const char *' ^hereconverts
- between
- pointers../arch/s390/include/asm/atomic_ops.h :to27
- : 2integer__ATOMIC_OPS(__atomic_add, int, "laa"):
- types ^withnote
- : different expandedsign from../arch/s390/include/asm/atomic_ops.h[-Wpointer-sign] :macro
- 27 :'__ATOMIC_OPS'2:
- note: expanded from macro '__ATOMIC_OPS' __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
- ^
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- ../arch/s390/include/asm/atomic_ops.h __ATOMIC_OP(op_name, op_type, op_string, "\n") \:
- 14: ^53
- : ../include/linux/kernel.h:../arch/s390/include/asm/atomic_ops.hnote860:: :1436expanded:: 53from: macronote : '__ATOMIC_OP'note
- expanded: fromexpanded macrostatic inline op_type op_name(op_type val, op_type *ptr) \from
- 'min'macro ^
- '__ATOMIC_OP'
- #define min(x, y) __careful_cmp(x, y, <)
- ^
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- ../include/linux/kernel.h:851:38: note: expanded from macro '__careful_cmp'
- __builtin_choose_expr(__safe_cmp(x, y), \
- ^
- ../include/linux/kernel.h:841:19: note: expanded from macro '__safe_cmp'
- (__typecheck(x, y) && __no_side_effects(x, y))
- ^
- ../include/linux/kernel.h:827:40: note: expanded from macro '__typecheck'
- (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
- ^
- ../arch/s390/boot/ipl_parm.c:54:42: note: passing argument to parameter 'buf' here
- static size_t scpdata_length(const char *buf, size_t count)
- ^
- In file included from ../arch/s390/boot/ipl_vmparm.c:2:
- In file included from ../arch/s390/boot/../kernel/ipl_vmparm.c:3:
- In file included from ../arch/s390/include/asm/ipl.h:13:
- In file included from ../arch/s390/include/asm/cio.h:8:
- In file included from ../include/linux/spinlock.h:../arch/s390/boot/ipl_parm.c51::
- 71In file included from :../include/linux/preempt.h39::78 :
- ../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
- 'int *' integerconverts
- types betweenwith pointersdifferent tosign integer[-Wpointer-sign] types
- with different sign [-Wpointer-sign]
- __atomic_add_const(val, &S390_lowcore.preempt_count);
- count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- ../arch/s390/include/asm/atomic_ops.h:56:1: note: passing argument to parameter 'ptr' here
- ../include/linux/kernel.h:860:36:__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")
- ^note
- : expanded ../arch/s390/include/asm/atomic_ops.hfrom: 53macro: 2'min':
- note: expanded from macro #define min(x, y) __careful_cmp(x, y, <)'__ATOMIC_CONST_OPS'
- ^
- __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \../include/linux/kernel.h
- :851 ^:
- 38: ../arch/s390/include/asm/atomic_ops.h:note44: :50:expanded from notemacro: '__careful_cmp'expanded
- from macro '__ATOMIC_CONST_OP'
- __builtin_choose_expr(__safe_cmp(x, y), \
- ^
- static inline void op_name(op_type val, op_type *ptr) \
- ^
- ../include/linux/kernel.h:841:46: note: expanded from macro '__safe_cmp'
- In file included from ../arch/s390/boot/ipl_vmparm.c:2:
- In file included from ../arch/s390/boot/../kernel/ipl_vmparm.c:3:
- In file included from ../arch/s390/include/asm/ipl.h:13 (__typecheck(x, y) && __no_side_effects(x, y)):
- In file included from ../arch/s390/include/asm/cio.h ^:
- 8:
- In file included from ../include/linux/spinlock.h:51:
- In file included from ../include/linux/preempt.h:78:
- ../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
- of type 'int *' converts
- between pointers to integer (__is_constexpr(x) && __is_constexpr(y))
- types ^with
- different sign [-Wpointer-sign]
- ../include/linux/kernel.h:835:48 __atomic_add(val, &S390_lowcore.preempt_count);:
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- note: expanded../arch/s390/include/asm/atomic_ops.h :from30 :macro1 :'__is_constexpr'
- note: passing argument to parameter 'ptr' here
- (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))__ATOMIC_OPS(__atomic_add, int, "laa")
- ^^
- ../arch/s390/boot/ipl_parm.c../arch/s390/include/asm/atomic_ops.h::5427::422:: notenote: : passingexpanded argumentfrom tomacro parameter'__ATOMIC_OPS' 'buf'
- here
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- static size_t scpdata_length(const char *buf, size_t count)
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- ../arch/s390/boot/ipl_parm.c:71:39: warning: passing 'u8 const[]' to parameter of type 'const char *' converts between pointers to
- integer types with different sign [-Wpointer-sign]
- count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../arch/s390/boot/ipl_vmparm.c:2:
- In file included from ../arch/s390/boot/../kernel/ipl_vmparm.c:3:
- In file included from ../arch/s390/include/asm/ipl.h:13../include/linux/kernel.h:
- :In file included from 860../arch/s390/include/asm/cio.h::368::
- In file included from ../include/linux/spinlock.h:51note:
- : In file included from ../include/linux/preempt.hexpanded: 78from:
- macro../arch/s390/include/asm/preempt.h :'min'68:
- 26: warning: passing#define min(x, y) __careful_cmp(x, y, <)
- '__u32 *' ^(aka 'unsigned int *')
- to parameter of type 'int *' ../include/linux/kernel.hconverts:
- 852 :between12 :pointers to noteinteger: typesexpanded withfrom differentmacro sign'__careful_cmp' [-Wpointer-sign]
- __cmp(x, y, op), \
- ^
- return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../include/linux/kernel.h../arch/s390/include/asm/atomic_ops.h::84330::341:: notenote: : passingexpanded argumentfrom tomacro parameter'__cmp' 'ptr'
- here
- #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))__ATOMIC_OPS(__atomic_add, int, "laa")
- ^^
- ../arch/s390/boot/ipl_parm.c../arch/s390/include/asm/atomic_ops.h::5427::422:: notenote: : expandedpassing fromargument macroto '__ATOMIC_OPS'parameter
- 'buf' here
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- static size_t scpdata_length(const char *buf, size_t count)
- ../arch/s390/include/asm/atomic_ops.h: ^14
- :53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- ../arch/s390/boot/ipl_parm.c:71:39: warning: passing 'u8 const[]' to parameter of type 'const char *' converts between pointers to
- integer types with different sign [-Wpointer-sign]
- count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- ../include/linux/kernel.h:860:36: note: expanded from macro 'min'
- #define min(x, y) __careful_cmp(x, y, <)
- ^
- ../include/linux/kernel.h:852:12: note: expanded from macro '__careful_cmp'
- __cmp(x, y, op), \
- ^
- ../include/linux/kernel.h:843:46: note: expanded from macro '__cmp'
- #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
- ^
- ../arch/s390/boot/ipl_parm.c:54:42: note: passing argument to parameter 'buf' here
- static size_t scpdata_length(const char *buf, size_t count)
- ^
- ../arch/s390/boot/ipl_parm.c:71:39: warning: passing 'u8 const[]' to parameter of type 'const char *' converts between pointers to
- integer types with different sign [-Wpointer-sign]
- count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- ../include/linux/kernel.h:860:36: note: expanded from macro 'min'
- #define min(x, y) __careful_cmp(x, y, <)
- ^
- ../include/linux/kernel.h:853:17: note: expanded from macro '__careful_cmp'
- __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op))
- ^
- ../include/linux/kernel.h:847:10: note: expanded from macro '__cmp_once'
- typeof(y) unique_y = (y); \
- ^
- ../arch/s390/boot/ipl_parm.c:54:42: note: passing argument to parameter 'buf' here
- static size_t scpdata_length(const char *buf, size_t count)
- ^
- ../arch/s390/boot/ipl_parm.c:71:39: warning: passing 'u8 const[]' to parameter of type 'const char *' converts between pointers to
- integer types with different sign [-Wpointer-sign]
- count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- ../include/linux/kernel.h:860:36: note: expanded from macro 'min'
- #define min(x, y) __careful_cmp(x, y, <)
- ^
- ../include/linux/kernel.h:853:17: note: expanded from macro '__careful_cmp'
- __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op))
- ^
- ../include/linux/kernel.h:847:25: note: expanded from macro '__cmp_once'
- typeof(y) unique_y = (y); \
- ^
- ../arch/s390/boot/ipl_parm.c:54:42: note: passing argument to parameter 'buf' here
- static size_t scpdata_length(const char *buf, size_t count)
- ^
- ../arch/s390/boot/ipl_parm.c:139:10: warning: passing 'char *' to parameter of type 'volatile __u8 *'
- (aka 'volatile unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
- EBCASC(COMMAND_LINE, ARCH_COMMAND_LINE_SIZE);
- ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../arch/s390/include/asm/setup.h:66:22: note: expanded from macro 'COMMAND_LINE'
- #define COMMAND_LINE ((char *) (COMMAND_LINE_OFFSET))
- ^
- ../arch/s390/include/asm/ebcdic.h:40:51: note: expanded from macro 'EBCASC'
- #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr)
- ^~~~
- ../arch/s390/include/asm/ebcdic.h:23:56: note: passing argument to parameter 'addr' here
- codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
- ^
- 12 warnings generated.
- 12 warnings generated.
- In file included from ../arch/s390/boot/ipl_vmparm.c:2:
- ../arch/s390/boot/../kernel/ipl_vmparm.c:30:16: warning: passing 'char *' to parameter of type 'volatile __u8 *'
- (aka 'volatile unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
- EBC_TOLOWER(dest, len);
- ^~~~
- ../arch/s390/include/asm/ebcdic.h:43:61: note: expanded from macro 'EBC_TOLOWER'
- #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr)
- ^~~~
- ../arch/s390/include/asm/ebcdic.h:23:56: note: passing argument to parameter 'addr' here
- codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
- ^
- In file included from ../arch/s390/boot/ipl_vmparm.c:2:
- ../arch/s390/boot/../kernel/ipl_vmparm.c:31:10: warning: passing 'char *' to parameter of type 'volatile __u8 *'
- (aka 'volatile unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
- EBCASC(dest, len);
- ^~~~
- ../arch/s390/include/asm/ebcdic.h:40:51: note: expanded from macro 'EBCASC'
- #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr)
- ^~~~
- ../arch/s390/include/asm/ebcdic.h:23:56: note: passing argument to parameter 'addr' here
- codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
- ^
- 19 warnings generated.
- 14 warnings generated.
- 12 warnings generated.
- In file included from ../arch/s390/boot/compressed/decompressor.c:10:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:76:22: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_or(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/compressed/decompressor.c:10:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:97:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_and(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_and, long, "lang")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/compressed/decompressor.c:10:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:118:23: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- __atomic64_xor(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_xor, long, "laxg")
- ^
- ../arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name, op_type, op_string, "\n") \
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/compressed/decompressor.c:10:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:128:36: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_or_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:37:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_or, long, "laog")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/compressed/decompressor.c:10:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:139:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_and_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:36:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_and, long, "lang")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- In file included from ../arch/s390/boot/compressed/decompressor.c:10:
- In file included from ../include/linux/kernel.h:12:
- In file included from ../include/linux/bitops.h:19:
- ../arch/s390/include/asm/bitops.h:150:37: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers
- to integer types with different sign [-Wpointer-sign]
- old = __atomic64_xor_barrier(mask, addr);
- ^~~~
- ../arch/s390/include/asm/atomic_ops.h:38:1: note: passing argument to parameter 'ptr' here
- __ATOMIC_OPS(__atomic64_xor, long, "laxg")
- ^
- ../arch/s390/include/asm/atomic_ops.h:28:2: note: expanded from macro '__ATOMIC_OPS'
- __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
- ^
- ../arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
- static inline op_type op_name(op_type val, op_type *ptr) \
- ^
- 6 warnings generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement