:::::: :::::: Manual check reason: "low confidence static check warning: drivers/tty/serial/amba-pl010.c:165:8: sparse: int static [signed] [toplevel] __raw_writel( ... )" ::::::
BCC: [email protected] CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Jiri Slaby <[email protected]> Hi Jiri, I love your patch! Perhaps something to improve: [auto build test WARNING on tty/tty-testing] [also build test WARNING on usb/usb-testing shawnguo/for-next linus/master v6.0-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jiri-Slaby/tty-TX-helpers/20220901-190806 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing :::::: branch date: 13 hours ago :::::: commit date: 13 hours ago config: arm-randconfig-s033-20220901 (https://download.01.org/0day-ci/archive/20220902/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/f6f99189d77ea45bc72efe7393bb91f4eb46a2fb git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jiri-Slaby/tty-TX-helpers/20220901-190806 git checkout f6f99189d77ea45bc72efe7393bb91f4eb46a2fb # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got __VA_OPT__ drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got ; drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Trying to use reserved word 'for' as identifier drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got && drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got -- drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got { drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got ( drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got } drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got -> drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Trying to use reserved word 'continue' as identifier drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got } drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got { drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got ( drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got } drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got -> drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got } drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got < drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got == drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got } drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: got } drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: symbol '__raw_writel' redeclared with different type (different argument counts): >> drivers/tty/serial/amba-pl010.c:165:8: sparse: int static [signed] >> [toplevel] __raw_writel( ... ) drivers/tty/serial/amba-pl010.c: note: in included file (through include/linux/scatterlist.h, include/linux/kfifo.h, include/linux/tty_port.h, ...): arch/arm/include/asm/io.h:93:20: sparse: note: previously declared as: >> arch/arm/include/asm/io.h:93:20: sparse: void static inline [gnu_inline] >> [toplevel] __raw_writel( ... ) drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: undefined identifier 'xmit' drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: undefined identifier 'xmit' drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: symbol 'ch' redeclared with different type (different type sizes): drivers/tty/serial/amba-pl010.c:165:8: sparse: int [addressable] [toplevel] ch drivers/tty/serial/amba-pl010.c:165:8: sparse: note: previously declared as: drivers/tty/serial/amba-pl010.c:165:8: sparse: unsigned char [addressable] [toplevel] [usertype] ch drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: symbol '__raw_writel' redeclared with different type (different argument counts): >> drivers/tty/serial/amba-pl010.c:165:8: sparse: int static [signed] >> [toplevel] __raw_writel( ... ) arch/arm/include/asm/io.h:93:20: sparse: note: previously declared as: >> arch/arm/include/asm/io.h:93:20: sparse: void static inline [gnu_inline] >> [toplevel] __raw_writel( ... ) drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: cannot dereference this type drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: cannot dereference this type drivers/tty/serial/amba-pl010.c:165:8: sparse: sparse: symbol 'pending' redeclared with different type (different signedness): drivers/tty/serial/amba-pl010.c:165:8: sparse: int [addressable] [toplevel] pending drivers/tty/serial/amba-pl010.c:165:8: sparse: note: previously declared as: drivers/tty/serial/amba-pl010.c:165:8: sparse: unsigned int [addressable] [toplevel] pending >> drivers/tty/serial/amba-pl010.c:175:9: sparse: sparse: too many arguments >> for function __raw_writel drivers/tty/serial/amba-pl010.c:214:47: sparse: sparse: too many arguments for function pl010_tx_chars drivers/tty/serial/amba-pl010.c:273:9: sparse: sparse: too many arguments for function __raw_writel drivers/tty/serial/amba-pl010.c:307:9: sparse: sparse: too many arguments for function __raw_writel drivers/tty/serial/amba-pl010.c:331:9: sparse: sparse: too many arguments for function __raw_writel drivers/tty/serial/amba-pl010.c:334:9: sparse: sparse: too many arguments for function __raw_writel drivers/tty/serial/amba-pl010.c:424:9: sparse: sparse: too many arguments for function __raw_writel drivers/tty/serial/amba-pl010.c:425:9: sparse: sparse: too many arguments for function __raw_writel drivers/tty/serial/amba-pl010.c:432:9: sparse: sparse: too many arguments for function __raw_writel drivers/tty/serial/amba-pl010.c:433:9: sparse: sparse: too many arguments for function __raw_writel -- drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got __VA_OPT__ drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got ; drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Trying to use reserved word 'for' as identifier drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got && drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got -- drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got { drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got ( drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got } drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got -> drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Trying to use reserved word 'continue' as identifier drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got } drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got { drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got ( drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got } drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got -> drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got } drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got < drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got == drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got } drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: got } drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: symbol '__raw_writel' redeclared with different type (different argument counts): >> drivers/tty/serial/altera_jtaguart.c:137:8: sparse: int static [signed] >> [toplevel] __raw_writel( ... ) drivers/tty/serial/altera_jtaguart.c: note: in included file (through include/linux/io.h, include/linux/irq.h, include/asm-generic/hardirq.h, ...): arch/arm/include/asm/io.h:93:20: sparse: note: previously declared as: >> arch/arm/include/asm/io.h:93:20: sparse: void static inline [gnu_inline] >> [toplevel] __raw_writel( ... ) drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: undefined identifier 'xmit' drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: undefined identifier 'xmit' drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: symbol 'ch' redeclared with different type (different type sizes): drivers/tty/serial/altera_jtaguart.c:137:8: sparse: int [addressable] [toplevel] ch drivers/tty/serial/altera_jtaguart.c:137:8: sparse: note: previously declared as: drivers/tty/serial/altera_jtaguart.c:137:8: sparse: unsigned char [addressable] [toplevel] [usertype] ch drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: symbol '__raw_writel' redeclared with different type (different argument counts): >> drivers/tty/serial/altera_jtaguart.c:137:8: sparse: int static [signed] >> [toplevel] __raw_writel( ... ) arch/arm/include/asm/io.h:93:20: sparse: note: previously declared as: >> arch/arm/include/asm/io.h:93:20: sparse: void static inline [gnu_inline] >> [toplevel] __raw_writel( ... ) drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: cannot dereference this type drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: cannot dereference this type drivers/tty/serial/altera_jtaguart.c:137:8: sparse: sparse: symbol 'pending' redeclared with different type (different signedness): drivers/tty/serial/altera_jtaguart.c:137:8: sparse: int [addressable] [toplevel] pending drivers/tty/serial/altera_jtaguart.c:137:8: sparse: note: previously declared as: drivers/tty/serial/altera_jtaguart.c:137:8: sparse: unsigned int [addressable] [toplevel] pending drivers/tty/serial/altera_jtaguart.c:150:36: sparse: sparse: too many arguments for function altera_jtaguart_do_tx_chars >> drivers/tty/serial/altera_jtaguart.c:180:9: sparse: sparse: too many >> arguments for function __raw_writel drivers/tty/serial/altera_jtaguart.c:202:9: sparse: sparse: too many arguments for function __raw_writel drivers/tty/serial/altera_jtaguart.c:219:9: sparse: sparse: too many arguments for function __raw_writel -- drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got __VA_OPT__ drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got ; >> drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Trying to use >> reserved word 'for' as identifier drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got && drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got -- drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got , drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got -> >> drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Trying to use >> reserved word 'continue' as identifier drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got } drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got , drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got -> drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got } drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got < >> drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Trying to use >> reserved word 'if' as identifier drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got == >> drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Trying to use >> reserved word 'if' as identifier drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got } drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: got } drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: symbol 'serial_out' redeclared with different type (incompatible argument 1 (different base types)): >> drivers/tty/serial/sprd_serial.c:627:8: sparse: int static [signed] >> [toplevel] serial_out( ... ) drivers/tty/serial/sprd_serial.c:143:20: sparse: note: previously declared as: >> drivers/tty/serial/sprd_serial.c:143:20: sparse: void static inline >> [gnu_inline] [toplevel] serial_out( ... ) drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: undefined identifier 'xmit' drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: undefined identifier 'xmit' drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: symbol 'ch' redeclared with different type (different type sizes): >> drivers/tty/serial/sprd_serial.c:627:8: sparse: int [addressable] >> [toplevel] ch drivers/tty/serial/sprd_serial.c:627:8: sparse: note: previously declared as: >> drivers/tty/serial/sprd_serial.c:627:8: sparse: unsigned char >> [addressable] [toplevel] [usertype] ch drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: symbol 'serial_out' redeclared with different type (incompatible argument 1 (different base types)): >> drivers/tty/serial/sprd_serial.c:627:8: sparse: int static [signed] >> [toplevel] serial_out( ... ) drivers/tty/serial/sprd_serial.c:143:20: sparse: note: previously declared as: >> drivers/tty/serial/sprd_serial.c:143:20: sparse: void static inline >> [gnu_inline] [toplevel] serial_out( ... ) >> drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: cannot dereference >> this type >> drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: cannot dereference >> this type drivers/tty/serial/sprd_serial.c:627:8: sparse: sparse: symbol 'pending' redeclared with different type (different signedness): >> drivers/tty/serial/sprd_serial.c:627:8: sparse: int [addressable] >> [toplevel] pending drivers/tty/serial/sprd_serial.c:627:8: sparse: note: previously declared as: >> drivers/tty/serial/sprd_serial.c:627:8: sparse: unsigned int >> [addressable] [toplevel] pending >> drivers/tty/serial/sprd_serial.c:648:27: sparse: sparse: too many arguments >> for function serial_out drivers/tty/serial/sprd_serial.c:651:27: sparse: sparse: too many arguments for function serial_out >> drivers/tty/serial/sprd_serial.c:658:24: sparse: sparse: too many arguments >> for function sprd_tx drivers/tty/serial/sprd_serial.c:692:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:706:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:707:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:724:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:732:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:741:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:742:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:828:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:831:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:833:19: sparse: sparse: too many arguments for function serial_out drivers/tty/serial/sprd_serial.c:835:19: sparse: sparse: too many arguments for function serial_out -- drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got __VA_OPT__ drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got ; >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: Trying to use reserved >> word 'for' as identifier drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got && drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got -- drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got ( drivers/tty/serial/sifive.c:280:8: sparse: sparse: undefined identifier 'port' drivers/tty/serial/sifive.c:280:8: sparse: sparse: undefined identifier 'port' drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got sifive_serial_port >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: Trying to use reserved >> word 'struct' as identifier drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got } drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got -> >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: Trying to use reserved >> word 'continue' as identifier drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got } drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got ( >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: cannot dereference this >> type >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: cannot dereference this >> type drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in nested declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got sifive_serial_port >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: Trying to use reserved >> word 'struct' as identifier drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got } drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at end of declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got -> drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got } drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got < >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: Trying to use reserved >> word 'if' as identifier drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ) in function declarator drivers/tty/serial/sifive.c:280:8: sparse: sparse: got == >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: Trying to use reserved >> word 'if' as identifier drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got } drivers/tty/serial/sifive.c:280:8: sparse: sparse: Expected ; at the end of type declaration drivers/tty/serial/sifive.c:280:8: sparse: sparse: got } drivers/tty/serial/sifive.c:280:8: sparse: sparse: symbol '__ssp_transmit_char' redeclared with different type (different argument counts): >> drivers/tty/serial/sifive.c:280:8: sparse: int static [signed] [toplevel] >> __ssp_transmit_char( ... ) drivers/tty/serial/sifive.c:275:13: sparse: note: previously declared as: >> drivers/tty/serial/sifive.c:275:13: sparse: void static [toplevel] >> __ssp_transmit_char( ... ) drivers/tty/serial/sifive.c:280:8: sparse: sparse: undefined identifier 'xmit' drivers/tty/serial/sifive.c:280:8: sparse: sparse: undefined identifier 'xmit' drivers/tty/serial/sifive.c:280:8: sparse: sparse: symbol 'ch' redeclared with different type (different type sizes): >> drivers/tty/serial/sifive.c:280:8: sparse: int [addressable] [toplevel] ch drivers/tty/serial/sifive.c:280:8: sparse: note: previously declared as: >> drivers/tty/serial/sifive.c:280:8: sparse: unsigned char [addressable] >> [toplevel] [usertype] ch drivers/tty/serial/sifive.c:280:8: sparse: sparse: symbol '__ssp_transmit_char' redeclared with different type (different argument counts): >> drivers/tty/serial/sifive.c:280:8: sparse: int static [signed] [toplevel] >> __ssp_transmit_char( ... ) drivers/tty/serial/sifive.c:275:13: sparse: note: previously declared as: >> drivers/tty/serial/sifive.c:275:13: sparse: void static [toplevel] >> __ssp_transmit_char( ... ) >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: cannot dereference this >> type >> drivers/tty/serial/sifive.c:280:8: sparse: sparse: cannot dereference this >> type drivers/tty/serial/sifive.c:280:8: sparse: sparse: symbol 'pending' redeclared with different type (different signedness): >> drivers/tty/serial/sifive.c:280:8: sparse: int [addressable] [toplevel] >> pending drivers/tty/serial/sifive.c:280:8: sparse: note: previously declared as: >> drivers/tty/serial/sifive.c:280:8: sparse: unsigned int [addressable] >> [toplevel] pending >> drivers/tty/serial/sifive.c:521:37: sparse: sparse: too many arguments for >> function __ssp_transmit_chars vim +165 drivers/tty/serial/amba-pl010.c ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 164 f6f99189d77ea4 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-09-01 @165 static DEFINE_UART_PORT_TX_HELPER_LIMITED(pl010_tx_chars, port, ch, f6f99189d77ea4 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-09-01 166 true, f6f99189d77ea4 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-09-01 167 writel(ch, port->membase + UART01x_DR), f6f99189d77ea4 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-09-01 168 ({})); ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 169 1b0646a033c370 drivers/serial/amba-pl010.c Russell King 2007-04-22 170 static void pl010_modem_status(struct uart_amba_port *uap) ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 171 { f166d19f9e8243 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-02-24 172 struct uart_port *port = &uap->port; ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 173 unsigned int status, delta; ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 174 f166d19f9e8243 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-02-24 @175 writel(0, port->membase + UART010_ICR); ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 176 f166d19f9e8243 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-02-24 177 status = readb(port->membase + UART01x_FR) & UART01x_FR_MODEM_ANY; ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 178 ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 179 delta = status ^ uap->old_status; ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 180 uap->old_status = status; ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 181 ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 182 if (!delta) ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 183 return; ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 184 ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 185 if (delta & UART01x_FR_DCD) f166d19f9e8243 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-02-24 186 uart_handle_dcd_change(port, status & UART01x_FR_DCD); ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 187 ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 188 if (delta & UART01x_FR_DSR) f166d19f9e8243 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-02-24 189 port->icount.dsr++; ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 190 ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 191 if (delta & UART01x_FR_CTS) f166d19f9e8243 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-02-24 192 uart_handle_cts_change(port, status & UART01x_FR_CTS); ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 193 f166d19f9e8243 drivers/tty/serial/amba-pl010.c Jiri Slaby 2022-02-24 194 wake_up_interruptible(&port->state->port.delta_msr_wait); ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 195 } ^1da177e4c3f41 drivers/serial/amba-pl010.c Linus Torvalds 2005-04-16 196 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
