[ 0s] Memory limit set to 87947252KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_1 [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 0s] [ 0s] obspw11 started "build _service:gbs:linux-3.10-sc7730.spec" at Wed Oct 18 23:16:53 UTC 2017. [ 0s] [ 0s] Building linux-3.10-sc7730 for project 'Tizen:4.0:Unified' repository 'standard' arch 'armv7l' srcmd5 '1f96b297f1e0de1160954f8f62294659' [ 0s] [ 0s] processing recipe /var/cache/build/root_1/.build-srcdir/_service:gbs:linux-3.10-sc7730.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_1/.build-srcdir/_service:gbs:linux-3.10-sc7730.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/1/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_1/.build.rpmlist /var/cache/build/root_1/.build-srcdir/_service:gbs:linux-3.10-sc7730.spec build rpmlint-Factory ... [ 1s] copying qemu [ 1s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 1s] [ 1s] registering binfmt handlers for cross build [ 1s] interpreter for 'aarch64' is -1 [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/1/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 1s] [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] /usr/lib/build/qemu-reg: No such file or directory [ 1s] /usr/lib/build/qemu-reg: binfmt registration failed [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/40] preinstalling libmagic-data... [ 1s] [2/40] preinstalling setup... [ 1s] [3/40] preinstalling filesystem... [ 1s] [4/40] preinstalling glibc... [ 2s] [5/40] preinstalling libgcc... [ 2s] [6/40] preinstalling bash... [ 2s] [7/40] preinstalling diffutils... [ 2s] [8/40] preinstalling grep... [ 2s] [9/40] preinstalling libattr... [ 2s] [10/40] preinstalling libbz2... [ 2s] [11/40] preinstalling libcap... [ 2s] [12/40] preinstalling libelf... [ 2s] [13/40] preinstalling libfreebl3... [ 2s] [14/40] preinstalling liblua... [ 2s] [15/40] preinstalling liblzma... [ 2s] [16/40] preinstalling libncurses... [ 2s] [17/40] preinstalling libpopt... [ 2s] [18/40] preinstalling libsmack... [ 2s] [19/40] preinstalling libsqlite... [ 2s] [20/40] preinstalling libuuid... [ 2s] [21/40] preinstalling nspr... [ 2s] [22/40] preinstalling sed... [ 2s] [23/40] preinstalling zlib... [ 2s] [24/40] preinstalling qemu-accel-x86_64-armv7l... [ 6s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [26/40] preinstalling coreutils... [ 7s] [27/40] preinstalling libacl... [ 7s] [28/40] preinstalling libblkid... [ 7s] [29/40] preinstalling libreadline... [ 7s] [30/40] preinstalling smack... [ 7s] [31/40] preinstalling bzip2... [ 7s] [32/40] preinstalling libmagic... [ 7s] [33/40] preinstalling libxml2... [ 7s] [34/40] preinstalling tar... [ 7s] [35/40] preinstalling libmount... [ 7s] [36/40] preinstalling util-linux... [ 7s] [37/40] preinstalling util-linux-su... [ 7s] [38/40] preinstalling nss... [ 8s] [39/40] preinstalling libsoftokn3... [ 8s] [40/40] preinstalling rpm... [ 8s] [ 8s] running qemu-linux-user-x86_64-cross postinstall script [ 8s] running qemu-accel-x86_64-armv7l postinstall script [ 8s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/liblto_plugin.so': No such file or directory [ 8s] running setup postinstall script [ 8s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 8s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 8s] initializing rpm db... [ 8s] reordering...cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] done [ 8s] [1/103] installing libmagic-data-5.31-3.23 [ 8s] [2/103] installing setup-0.9-2.4 [ 8s] warning: /etc/profile created as /etc/profile.rpmnew [ 8s] [3/103] installing filesystem-3.1-2.1 [ 8s] [4/103] installing glibc-2.24-4.2 [ 9s] [5/103] installing libatomic-6.2.1-3.4 [ 9s] [6/103] installing libgcc-6.2.1-3.4 [ 9s] [7/103] installing bash-3.2.57-3.1 [ 9s] [8/103] installing binutils-2.27-3.22 [ 9s] [9/103] installing cpio-2.11-2.1 [ 9s] [10/103] installing diffutils-3.3-2.1 [ 9s] [11/103] installing findutils-4.3.8-3.28 [ 9s] [12/103] installing hostname-3.12-2.1 [ 9s] [13/103] installing libattr-2.4.47-1.1 [ 9s] [14/103] installing libbz2-1.0.6-2.47 [ 9s] [15/103] installing libcap-2.24-2.56 [ 9s] [16/103] installing libelf-0.153-2.17 [ 9s] [17/103] installing libext2fs-1.43.4-2.1 [ 9s] [18/103] installing libfreebl3-3.23-2.37 [ 9s] [19/103] installing libgfortran-6.2.1-3.4 [ 10s] [20/103] installing libgomp-6.2.1-3.4 [ 10s] [21/103] installing libitm-6.2.1-3.4 [ 10s] [22/103] installing libltdl-2.4.2-2.42 [ 10s] [23/103] installing liblua-5.1.4-2.7 [ 10s] [24/103] installing liblzma-5.2.2-2.42 [ 10s] [25/103] installing libpcre-8.39-2.1 [ 10s] [26/103] installing libpopt-1.16-2.7 [ 10s] [27/103] installing libpython-2.7.8-2.7 [ 10s] [28/103] installing libsmack-1.3.0-3.5 [ 10s] [29/103] installing libsmartcols-2.30-3.2 [ 10s] [30/103] installing libsqlite-3.18.0-3.5 [ 10s] [31/103] installing libstdc++-6.2.1-3.4 [ 10s] [32/103] installing libuuid-2.30-3.2 [ 10s] [33/103] installing lzo-2.10-2.1 [ 10s] [34/103] installing m4-1.4.17-2.1 [ 10s] [35/103] installing net-tools-2.0_20121208git-2.1 [ 10s] [36/103] installing nspr-4.12-2.7 [ 10s] [37/103] installing patch-2.7-2.7 [ 10s] [38/103] installing pkg-config-0.28-3.25 [ 10s] [39/103] installing sed-4.1c-2.1 [ 10s] [40/103] installing update-alternatives-1.18.15-2.1 [ 11s] [41/103] installing which-2.20-2.1 [ 11s] [42/103] installing zlib-1.2.11-2.53 [ 11s] [43/103] installing build-compare-2015.04.28-2.18 [ 11s] [44/103] installing libstdc++-devel-6.2.1-3.4 [ 11s] [45/103] installing qemu-linux-user-x86_64-cross-2.7.0-1.4.1 [ 12s] [46/103] installing terminfo-base-full-5.9-3.18 [ 12s] [47/103] installing cpp-6.2.1-3.4 [ 13s] [48/103] installing gcc-c++-6.2.1-3.4 [ 13s] [49/103] installing coreutils-6.9-3.2 [ 13s] [50/103] installing db4-4.8.30.NC-2.51 [ 14s] [51/103] installing gawk-3.1.5-3.1 [ 14s] [52/103] installing grep-2.5.2-3.1 [ 14s] [53/103] installing libacl-2.2.52-2.54 [ 14s] [54/103] installing libasm-0.153-2.17 [ 14s] [55/103] installing libblkid-2.30-3.2 [ 14s] [56/103] installing libcc1-6.2.1-3.4 [ 14s] [57/103] installing libopenssl-1.0.2k-2.42 [ 14s] [58/103] installing libubsan-6.2.1-3.4 [ 14s] [59/103] installing lzop-1.03-2.4 [ 14s] [60/103] installing make-4.0-2.7 [ 14s] [61/103] installing nss-certs-3.23-2.37 [ 14s] [62/103] installing smack-1.3.0-3.5 [ 14s] [63/103] installing bzip2-1.0.6-2.47 [ 14s] [64/103] installing kmod-24-2.1 [ 14s] [65/103] installing libmagic-5.31-3.23 [ 14s] [66/103] installing libxml2-2.9.4-2.34 [ 14s] [67/103] installing xz-5.2.2-2.42 [ 14s] [68/103] installing libdw-0.153-2.17 [ 14s] [69/103] installing kmod-compat-24-2.1 [ 14s] [70/103] installing linux-glibc-devel-3.10-2.54 [ 15s] [71/103] installing file-5.31-3.23 [ 15s] [72/103] installing glibc-locale-2.24-4.2 [ 15s] [73/103] installing libncurses-5.9-3.18 [ 15s] [74/103] installing libncurses6-5.9-3.18 [ 15s] [75/103] installing tar-1.17-3.1 [ 15s] [76/103] installing gzip-1.3.12-3.28 [ 15s] [77/103] installing libfdisk-2.30-3.2 [ 15s] [78/103] installing libmount-2.30-3.2 [ 15s] [79/103] installing pam-1.1.6-3.1 [ 15s] [80/103] installing perl-5.20.0-3.4 [ 16s] [81/103] installing tzdata-2017b-2.1 [ 17s] [82/103] installing elfutils-0.153-2.17 [ 17s] [83/103] installing gcc-6.2.1-3.4 [ 17s] [84/103] installing build-mkbaselibs-20120927-2.1 [ 17s] [85/103] installing glibc-devel-2.24-4.2 [ 18s] [86/103] installing qemu-accel-x86_64-armv7l-0.4-3.3 [ 23s] [87/103] installing autoconf-2.69-2.54 [ 23s] [88/103] installing less-466-2.1 [ 23s] [89/103] installing libreadline-5.2-2.47 [ 23s] [90/103] installing procps-ng-3.3.9-3.1 [ 23s] [91/103] installing bc-1.06-2.1 [ 23s] [92/103] installing zlib-devel-1.2.11-2.53 [ 23s] [93/103] installing automake-1.14.1-2.41 [ 23s] [94/103] installing build-20120927-2.1 [ 23s] [95/103] installing python-2.7.8-2.7 [ 24s] [96/103] installing util-linux-2.30-3.2 [ 24s] [97/103] installing binutils-devel-2.27-3.22 [ 24s] [98/103] installing libtool-2.4.2-2.42 [ 24s] [99/103] installing util-linux-su-2.30-3.2 [ 24s] [100/103] installing nss-3.23-2.37 [ 24s] [101/103] installing libsoftokn3-3.23-2.37 [ 24s] [102/103] installing rpm-4.11.0.1-3.15 [ 24s] [103/103] installing rpm-build-4.11.0.1-3.15 [ 24s] removing nis flags from /var/cache/build/root_1/etc/nsswitch.conf... [ 24s] now finalizing build dir... [ 25s] build target is armv7l-tizen-linux [ 25s] ----------------------------------------------------------------- [ 25s] I have the following modifications for linux-3.10-sc7730.spec: [ 25s] 7c7 [ 25s] < Release: 1 [ 25s] --- [ 25s] > Release: 6.1 [ 25s] ----------------------------------------------------------------- [ 25s] ----- building linux-3.10-sc7730.spec (user abuild) [ 25s] ----------------------------------------------------------------- [ 25s] ----------------------------------------------------------------- [ 25s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:4.0:Unified/standard/1f96b297f1e0de1160954f8f62294659-linux-3.10-sc7730' -ba /home/abuild/rpmbuild/SOURCES/linux-3.10-sc7730.spec [ 25s] Building target platforms: armv7l-tizen-linux [ 25s] Building for target armv7l-tizen-linux [ 25s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ADnnhi [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + rm -rf linux-3.10-sc7730-Tizen_sc7730 [ 25s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/linux-3.10-sc7730-Tizen_sc7730.tar.gz [ 25s] + /bin/tar -xf - [ 29s] + STATUS=0 [ 29s] + '[' 0 -ne 0 ']' [ 29s] + cd linux-3.10-sc7730-Tizen_sc7730 [ 29s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 30s] + exit 0 [ 30s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zArj1F [ 30s] + umask 022 [ 30s] + cd /home/abuild/rpmbuild/BUILD [ 30s] + cd linux-3.10-sc7730-Tizen_sc7730 [ 30s] ++ uname -m [ 30s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 30s] + LANG=C [ 30s] + export LANG [ 30s] + unset DISPLAY [ 30s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 30s] + export CFLAGS [ 30s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -std=gnu++11' [ 30s] + export CXXFLAGS [ 30s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 30s] + export FFLAGS [ 30s] + LDFLAGS= [ 30s] + export LDFLAGS [ 30s] + LD_AS_NEEDED=1 [ 30s] + export LD_AS_NEEDED [ 30s] + for i in tizen_tm1 [ 30s] + target=tizen_tm1 [ 30s] + mkdir -p /home/abuild/rpmbuild/BUILD/mod_tizen_tm1 [ 30s] + make distclean [ 32s] + ./release_obs.sh tizen_tm1 [ 32s] defconfig : tizen_tm1_defconfig , option : [ 32s] HOSTCC scripts/basic/fixdep [ 32s] HOSTCC scripts/kconfig/conf.o [ 33s] SHIPPED scripts/kconfig/zconf.tab.c [ 33s] SHIPPED scripts/kconfig/zconf.lex.c [ 33s] SHIPPED scripts/kconfig/zconf.hash.c [ 33s] HOSTCC scripts/kconfig/zconf.tab.o [ 34s] In file included from scripts/kconfig/zconf.tab.c:2503:0: [ 34s] scripts/kconfig/menu.c: In function 'get_symbol_str': [ 34s] scripts/kconfig/menu.c:567:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 34s] jump->offset = r->len - 1; [ 34s] ~~~~~~~~~~~~~^~~~~~~~~~~~ [ 34s] scripts/kconfig/menu.c:528:19: note: 'jump' was declared here [ 34s] struct jump_key *jump; [ 34s] ^~~~ [ 35s] HOSTLD scripts/kconfig/conf [ 35s] arch/arm/Kconfig.debug:44:warning: type of 'SPRD_SYSDUMP' redefined from 'boolean' to 'tristate' [ 37s] # [ 37s] # configuration written to .config [ 37s] # [ 38s] scripts/kconfig/conf --silentoldconfig Kconfig [ 38s] arch/arm/Kconfig.debug:44:warning: type of 'SPRD_SYSDUMP' redefined from 'boolean' to 'tristate' [ 41s] WRAP arch/arm/include/generated/asm/auxvec.h [ 41s] WRAP arch/arm/include/generated/asm/bitsperlong.h [ 41s] WRAP arch/arm/include/generated/asm/cputime.h [ 41s] WRAP arch/arm/include/generated/asm/current.h [ 41s] WRAP arch/arm/include/generated/asm/emergency-restart.h [ 41s] WRAP arch/arm/include/generated/asm/errno.h [ 41s] WRAP arch/arm/include/generated/asm/exec.h [ 41s] CHK include/generated/uapi/linux/version.h [ 41s] WRAP arch/arm/include/generated/asm/ipcbuf.h [ 41s] WRAP arch/arm/include/generated/asm/irq_regs.h [ 41s] WRAP arch/arm/include/generated/asm/kdebug.h [ 41s] WRAP arch/arm/include/generated/asm/local.h [ 41s] WRAP arch/arm/include/generated/asm/ioctl.h [ 41s] UPD include/generated/uapi/linux/version.h [ 41s] WRAP arch/arm/include/generated/asm/local64.h [ 41s] WRAP arch/arm/include/generated/asm/param.h [ 41s] WRAP arch/arm/include/generated/asm/msgbuf.h [ 41s] WRAP arch/arm/include/generated/asm/poll.h [ 41s] WRAP arch/arm/include/generated/asm/resource.h [ 41s] WRAP arch/arm/include/generated/asm/parport.h [ 41s] WRAP arch/arm/include/generated/asm/segment.h [ 41s] WRAP arch/arm/include/generated/asm/sections.h [ 41s] WRAP arch/arm/include/generated/asm/sembuf.h [ 41s] WRAP arch/arm/include/generated/asm/shmbuf.h [ 41s] WRAP arch/arm/include/generated/asm/serial.h [ 41s] WRAP arch/arm/include/generated/asm/siginfo.h [ 41s] WRAP arch/arm/include/generated/asm/sizes.h [ 41s] WRAP arch/arm/include/generated/asm/socket.h [ 41s] WRAP arch/arm/include/generated/asm/sockios.h [ 41s] WRAP arch/arm/include/generated/asm/termbits.h [ 41s] WRAP arch/arm/include/generated/asm/termios.h [ 41s] WRAP arch/arm/include/generated/asm/timex.h [ 41s] WRAP arch/arm/include/generated/asm/trace_clock.h [ 41s] WRAP arch/arm/include/generated/asm/types.h [ 41s] WRAP arch/arm/include/generated/asm/unaligned.h [ 41s] CHK include/generated/utsrelease.h [ 41s] HOSTCC scripts/kallsyms [ 41s] HOSTCC scripts/conmakehash [ 41s] HOSTCC scripts/sortextable [ 41s] HOSTCC scripts/dtc/checks.o [ 41s] HOSTCC scripts/dtc/data.o [ 41s] SHIPPED scripts/dtc/dtc-lexer.lex.c [ 41s] SHIPPED scripts/dtc/dtc-parser.tab.h [ 41s] HOSTCC scripts/genksyms/genksyms.o [ 41s] CC scripts/mod/empty.o [ 41s] SHIPPED scripts/genksyms/parse.tab.c [ 41s] HOSTCC scripts/dtc/fstree.o [ 41s] HOSTCC scripts/dtc/livetree.o [ 41s] SHIPPED scripts/genksyms/lex.lex.c [ 41s] HOSTCC scripts/dtc/dtc.o [ 41s] HOSTCC scripts/dtc/srcpos.o [ 41s] SHIPPED scripts/genksyms/parse.tab.h [ 41s] SHIPPED scripts/dtc/dtc-parser.tab.c [ 41s] HOSTCC scripts/dtc/flattree.o [ 41s] HOSTCC scripts/dtc/treesource.o [ 41s] HOSTCC scripts/mod/mk_elfconfig [ 41s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 41s] HOSTCC scripts/dtc/util.o [ 41s] SHIPPED scripts/genksyms/keywords.hash.c [ 41s] HOSTCC scripts/genksyms/parse.tab.o [ 41s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 41s] UPD include/generated/utsrelease.h [ 41s] CC scripts/mod/devicetable-offsets.s [ 41s] HOSTCC scripts/genksyms/lex.lex.o [ 41s] MKELF scripts/mod/elfconfig.h [ 41s] Generating include/generated/mach-types.h [ 41s] GEN scripts/mod/devicetable-offsets.h [ 41s] HOSTCC scripts/mod/modpost.o [ 41s] HOSTCC scripts/mod/sumversion.o [ 41s] CC kernel/bounds.s [ 41s] GEN include/generated/bounds.h [ 41s] CC arch/arm/kernel/asm-offsets.s [ 41s] HOSTCC scripts/mod/file2alias.o [ 41s] HOSTLD scripts/dtc/dtc [ 41s] GEN include/generated/asm-offsets.h [ 41s] CALL scripts/checksyscalls.sh [ 41s] HOSTLD scripts/genksyms/genksyms [ 42s] HOSTLD scripts/mod/modpost [ 42s] CHK include/generated/compile.h [ 42s] CC init/main.o [ 42s] CC init/do_mounts.o [ 42s] CC init/do_mounts_rd.o [ 42s] CC init/do_mounts_initrd.o [ 42s] HOSTCC usr/gen_init_cpio [ 42s] CC init/initramfs.o [ 42s] CC init/calibrate.o [ 42s] CC init/init_task.o [ 42s] CC arch/arm/vfp/vfpmodule.o [ 42s] AS arch/arm/vfp/entry.o [ 42s] CC arch/arm/vfp/vfpsingle.o [ 42s] AS arch/arm/vfp/vfphw.o [ 42s] AS arch/arm/kernel/entry-common.o [ 42s] CC arch/arm/vfp/vfpdouble.o [ 42s] AS arch/arm/kernel/entry-armv.o [ 42s] CC arch/arm/mm/iomap.o [ 42s] CC arch/arm/mm/idmap.o [ 42s] CC arch/arm/mm/fault.o [ 42s] CC arch/arm/mm/dma-mapping.o [ 42s] CC arch/arm/kernel/ptrace.o [ 42s] CC arch/arm/kernel/elf.o [ 42s] CC arch/arm/kernel/return_address.o [ 42s] CC arch/arm/kernel/process.o [ 42s] CC arch/arm/mm/fault-armv.o [ 42s] CC arch/arm/mm/flush.o [ 42s] CC arch/arm/mm/ioremap.o [ 42s] CC arch/arm/mm/extable.o [ 42s] CC arch/arm/kernel/irq.o [ 42s] CC arch/arm/common/firmware.o [ 42s] CC arch/arm/mm/init.o [ 42s] CC arch/arm/kernel/opcodes.o [ 42s] CC arch/arm/kernel/sched_clock.o [ 42s] LD arch/arm/net/built-in.o [ 42s] CC arch/arm/kernel/setup.o [ 42s] CC arch/arm/kernel/signal.o [ 42s] LD arch/arm/crypto/built-in.o [ 42s] arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp] [ 42s] #warning "TODO: return_address should use unwind tables" [ 42s] ^~~~~~~ [ 42s] init/main.c: In function 'do_one_initcall_debug': [ 42s] init/main.c:676:7: warning: unused variable 'name' [-Wunused-variable] [ 42s] char name[256]={0}; [ 42s] ^~~~ [ 42s] CC arch/arm/mach-sc/syssleep.o [ 42s] CC arch/arm/mach-sc/mach-scx35-dt.o [ 42s] UPD include/generated/compile.h [ 42s] CC init/version.o [ 42s] CC arch/arm/mm/mmap.o [ 42s] CC arch/arm/mm/pgd.o [ 42s] CC arch/arm/mach-sc/sec_gps_bcm47520.o [ 42s] In file included from arch/arm/mach-sc/syssleep.c:24:0: [ 42s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 42s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/syssleep.c:17: [ 42s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 42s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 42s] [ 42s] In file included from arch/arm/mach-sc/syssleep.c:24:0: [ 42s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 42s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/syssleep.c:17: [ 42s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 42s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 42s] [ 42s] In file included from arch/arm/mach-sc/syssleep.c:24:0: [ 42s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 42s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/syssleep.c:17: [ 42s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 42s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 42s] [ 42s] In file included from arch/arm/mach-sc/syssleep.c:24:0: [ 42s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 42s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/syssleep.c:17: [ 42s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 42s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 42s] [ 42s] In file included from arch/arm/mach-sc/syssleep.c:24:0: [ 42s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 42s] ^~~~~~~~~~~~ [ 42s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 42s] ^~~~~~~~~~~~ [ 42s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 42s] #define SCI_ADDR(x, y) \ [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/syssleep.c:17: [ 42s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 42s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 42s] [ 42s] GEN usr/initramfs_data.cpio [ 42s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 42s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 42s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 42s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 42s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 42s] [ 42s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 42s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 42s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 42s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 42s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 42s] [ 42s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 42s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 42s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 42s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 42s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 42s] [ 42s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 42s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 42s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 42s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 42s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 42s] [ 42s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 42s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 42s] ^~~~~~~~~~~~ [ 42s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 42s] ^~~~~~~~~~~~ [ 42s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 42s] #define SCI_ADDR(x, y) \ [ 42s] [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 42s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 42s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 42s] [ 42s] LD arch/arm/common/built-in.o [ 42s] arch/arm/mach-sc/syssleep.c:58:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 42s] .read = syssleep_read_proc, [ 42s] ^~~~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/syssleep.c:58:19: note: (near initialization for 'syssleep_proc_fops.read') [ 42s] arch/arm/mach-sc/syssleep.c:59:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 42s] .write = syssleep_write_proc, [ 42s] ^~~~~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/syssleep.c:59:19: note: (near initialization for 'syssleep_proc_fops.write') [ 42s] CC arch/arm/mm/mmu.o [ 42s] CC arch/arm/mach-sc/sec-switch.o [ 42s] AS arch/arm/kernel/sigreturn_codes.o [ 42s] In file included from include/soc/sprd/hardware.h:34:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c: In function '__sci_get_chip_id': [ 42s] include/soc/sprd/__hardware-sc7731.h:159:26: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 42s] #define CHIP_ID_LOW_REG (SPRD_AHB_BASE + 0xfc) [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:119:21: note: in expansion of macro 'CHIP_ID_LOW_REG' [ 42s] return __raw_readl(CHIP_ID_LOW_REG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 42s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 42s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 42s] ^~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c: At top level: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:139:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int iotable_build() [ 42s] ^~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c: In function 'iotable_build': [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:172:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,ahb", AHB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:172:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,ahb", AHB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:172:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,ahb", AHB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:172:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,ahb", AHB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:173:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,aonapb", AONAPB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:173:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,aonapb", AONAPB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:173:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,aonapb", AONAPB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:173:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,aonapb", AONAPB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:174:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,aonckg", AONCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:174:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,aonckg", AONCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:174:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,aonckg", AONCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:174:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,aonckg", AONCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:175:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,apbreg", APBREG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:175:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,apbreg", APBREG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:175:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,apbreg", APBREG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:175:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,apbreg", APBREG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:176:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,core", CORE); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:176:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,core", CORE); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:176:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,core", CORE); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:176:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,core", CORE); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:177:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,mmahb", MMAHB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:177:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,mmahb", MMAHB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:177:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,mmahb", MMAHB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:177:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,mmahb", MMAHB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:178:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,pmu", PMU); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:178:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,pmu", PMU); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:178:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,pmu", PMU); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:178:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,pmu", PMU); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:179:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,mmckg", MMCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:179:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,mmckg", MMCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:179:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,mmckg", MMCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:179:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,mmckg", MMCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:180:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,gpuapb", GPUAPB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] CC kernel/fork.o [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:180:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,gpuapb", GPUAPB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:180:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,gpuapb", GPUAPB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:180:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,gpuapb", GPUAPB); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:181:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,apbckg", APBCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] CC arch/arm/mm/proc-syms.o [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:181:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,apbckg", APBCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:181:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,apbckg", APBCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:181:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,apbckg", APBCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:182:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,gpuckg", GPUCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:182:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,gpuckg", GPUCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:182:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,gpuckg", GPUCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:182:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,gpuckg", GPUCKG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:183:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,int", INT); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:183:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,int", INT); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:183:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,int", INT); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:183:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,int", INT); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:184:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc0", INTC0); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:184:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc0", INTC0); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:184:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc0", INTC0); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:184:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc0", INTC0); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:185:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc1", INTC1); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] CC kernel/exec_domain.o [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:185:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc1", INTC1); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:185:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc1", INTC1); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:185:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc1", INTC1); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:186:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc2", INTC2); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:186:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc2", INTC2); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:186:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc2", INTC2); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:186:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc2", INTC2); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:187:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc3", INTC3); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:187:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc3", INTC3); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:187:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc3", INTC3); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:187:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,intc3", INTC3); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:188:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,uidefuse", UIDEFUSE); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:188:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,uidefuse", UIDEFUSE); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:188:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,uidefuse", UIDEFUSE); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:188:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,uidefuse", UIDEFUSE); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:189:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,isp", ISP); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:189:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,isp", ISP); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:189:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,isp", ISP); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:189:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,isp", ISP); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:190:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,ca7wdg", CA7WDG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:190:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,ca7wdg", CA7WDG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:190:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,ca7wdg", CA7WDG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:190:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,ca7wdg", CA7WDG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:191:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,csi2", CSI2); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:191:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,csi2", CSI2); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:191:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,csi2", CSI2); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:191:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,csi2", CSI2); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:192:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,d-eic-gpio", EIC); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:192:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,d-eic-gpio", EIC); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:192:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,d-eic-gpio", EIC); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:192:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,d-eic-gpio", EIC); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 42s] io_addr_sprd.id.vaddr = \ [ 42s] ^ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:193:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,wdg", WDG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] In file included from include/linux/kernel.h:13:0, [ 42s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:193:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,wdg", WDG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^ [ 42s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 42s] #define pr_fmt(fmt) fmt [ 42s] ^~~ [ 42s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 42s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 42s] ^~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:193:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 42s] ADD_SPRD_DEVICE("sprd,wdg", WDG); [ 42s] ^~~~~~~~~~~~~~~ [ 42s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 42s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:193:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,wdg", WDG); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:194:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,ipi", IPI); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] In file included from include/linux/kernel.h:13:0, [ 43s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:194:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,ipi", IPI); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:194:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,ipi", IPI); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:194:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,ipi", IPI); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:195:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,dcam", DCAM); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] In file included from include/linux/kernel.h:13:0, [ 43s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:195:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,dcam", DCAM); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:195:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,dcam", DCAM); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:195:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,dcam", DCAM); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:196:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,syscnt", SYSCNT); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] In file included from include/linux/kernel.h:13:0, [ 43s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:196:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,syscnt", SYSCNT); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:196:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,syscnt", SYSCNT); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:196:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,syscnt", SYSCNT); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:197:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,dma0", DMA0); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] In file included from include/linux/kernel.h:13:0, [ 43s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:197:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,dma0", DMA0); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:197:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,dma0", DMA0); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:197:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,dma0", DMA0); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:198:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,pub", PUB); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] In file included from include/linux/kernel.h:13:0, [ 43s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:198:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,pub", PUB); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:198:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,pub", PUB); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:198:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,pub", PUB); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:199:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,pin", PIN); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] In file included from include/linux/kernel.h:13:0, [ 43s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:199:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,pin", PIN); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:199:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,pin", PIN); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:199:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,pin", PIN); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:200:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,d-gpio-gpio", GPIO); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] In file included from include/linux/kernel.h:13:0, [ 43s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:200:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,d-gpio-gpio", GPIO); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:200:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,d-gpio-gpio", GPIO); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:200:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,d-gpio-gpio", GPIO); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:152:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:201:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,codecahb", CODECAHB); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] In file included from include/linux/kernel.h:13:0, [ 43s] from arch/arm/mach-sc/mach-scx35-dt.c:14: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:201:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,codecahb", CODECAHB); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:201:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,codecahb", CODECAHB); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:12: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^ [ 43s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 43s] #define pr_fmt(fmt) fmt [ 43s] ^~~ [ 43s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 43s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:154:3: note: in expansion of macro 'pr_debug' [ 43s] pr_debug("sprd io map: phys=%08x virt=%08x size=%08x\n", \ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:201:2: note: in expansion of macro 'ADD_SPRD_DEVICE' [ 43s] ADD_SPRD_DEVICE("sprd,codecahb", CODECAHB); [ 43s] ^~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:166:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:202:2: note: in expansion of macro 'ADD_SPRD_DEVICE_BY_NAME' [ 43s] ADD_SPRD_DEVICE_BY_NAME("hwspinlock0", HWSPINLOCK0); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:166:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 43s] io_addr_sprd.id.vaddr = \ [ 43s] ^ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:203:2: note: in expansion of macro 'ADD_SPRD_DEVICE_BY_NAME' [ 43s] ADD_SPRD_DEVICE_BY_NAME("hwspinlock1", HWSPINLOCK1); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c: In function 'sc8830_init_machine': [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:225:10: warning: 'return' with a value, in function returning void [ 43s] return PTR_ERR(sec_class); [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:208:20: note: declared here [ 43s] static void __init sc8830_init_machine(void) [ 43s] ^~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] arch/arm/mach-sc/mach-scx35-dt.c: In function 'sc8830_pmu_init': [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:39:37: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_PMU_APB_PD_MM_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x001C)/*PD_MM_TOP_CFG*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:271:27: note: in expansion of macro 'REG_PMU_APB_PD_MM_TOP_CFG' [ 43s] __raw_writel(__raw_readl(REG_PMU_APB_PD_MM_TOP_CFG) [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 43s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:39:37: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_PMU_APB_PD_MM_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x001C)/*PD_MM_TOP_CFG*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:273:4: note: in expansion of macro 'REG_PMU_APB_PD_MM_TOP_CFG' [ 43s] REG_PMU_APB_PD_MM_TOP_CFG); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 43s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:40:38: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_PMU_APB_PD_GPU_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0020)/*PD_GPU_TOP_CFG*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:275:27: note: in expansion of macro 'REG_PMU_APB_PD_GPU_TOP_CFG' [ 43s] __raw_writel(__raw_readl(REG_PMU_APB_PD_GPU_TOP_CFG) [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 43s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:40:38: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_PMU_APB_PD_GPU_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0020)/*PD_GPU_TOP_CFG*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:277:4: note: in expansion of macro 'REG_PMU_APB_PD_GPU_TOP_CFG' [ 43s] REG_PMU_APB_PD_GPU_TOP_CFG); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 43s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:32:32: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_AON_APB_APB_EB0 SCI_ADDR(REGS_AON_APB_BASE, 0x0000)/*AHB_EB0*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:279:27: note: in expansion of macro 'REG_AON_APB_APB_EB0' [ 43s] __raw_writel(__raw_readl(REG_AON_APB_APB_EB0) | BIT_MM_EB | BIT_GPU_EB, [ 43s] ^~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 43s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:32:32: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_AON_APB_APB_EB0 SCI_ADDR(REGS_AON_APB_BASE, 0x0000)/*AHB_EB0*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:280:3: note: in expansion of macro 'REG_AON_APB_APB_EB0' [ 43s] REG_AON_APB_APB_EB0); [ 43s] ^~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 43s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:33:32: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_AON_APB_APB_EB1 SCI_ADDR(REGS_AON_APB_BASE, 0x0004)/*AHB_EB1*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:284:27: note: in expansion of macro 'REG_AON_APB_APB_EB1' [ 43s] __raw_writel(__raw_readl(REG_AON_APB_APB_EB1) | BIT_CODEC_EB, [ 43s] ^~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 43s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:33:32: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_AON_APB_APB_EB1 SCI_ADDR(REGS_AON_APB_BASE, 0x0004)/*AHB_EB1*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:285:4: note: in expansion of macro 'REG_AON_APB_APB_EB1' [ 43s] REG_AON_APB_APB_EB1); [ 43s] ^~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 43s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_mm_ahb_rf_tshark2.h:32:30: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_MM_AHB_AHB_EB SCI_ADDR(REGS_MM_AHB_BASE, 0x0000)/*AHB_EB*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:288:27: note: in expansion of macro 'REG_MM_AHB_AHB_EB' [ 43s] __raw_writel(__raw_readl(REG_MM_AHB_AHB_EB) | BIT_MM_CKG_EB, [ 43s] ^~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 43s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_mm_ahb_rf_tshark2.h:32:30: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_MM_AHB_AHB_EB SCI_ADDR(REGS_MM_AHB_BASE, 0x0000)/*AHB_EB*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:289:4: note: in expansion of macro 'REG_MM_AHB_AHB_EB' [ 43s] REG_MM_AHB_AHB_EB); [ 43s] ^~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 43s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_mm_ahb_rf_tshark2.h:34:35: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_MM_AHB_GEN_CKG_CFG SCI_ADDR(REGS_MM_AHB_BASE, 0x0008)/*GEN_CKG_CFG*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:291:27: note: in expansion of macro 'REG_MM_AHB_GEN_CKG_CFG' [ 43s] __raw_writel(__raw_readl(REG_MM_AHB_GEN_CKG_CFG) [ 43s] ^~~~~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 43s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_mm_ahb_rf_tshark2.h:34:35: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_MM_AHB_GEN_CKG_CFG SCI_ADDR(REGS_MM_AHB_BASE, 0x0008)/*GEN_CKG_CFG*/ [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:293:4: note: in expansion of macro 'REG_MM_AHB_GEN_CKG_CFG' [ 43s] REG_MM_AHB_GEN_CKG_CFG); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 43s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_mm_clk.h:29:41: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_MM_CLK_MM_AHB_CFG SCI_ADDR(REGS_MM_CLK_BASE, 0x0020) [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:295:27: note: in expansion of macro 'REG_MM_CLK_MM_AHB_CFG' [ 43s] __raw_writel(__raw_readl(REG_MM_CLK_MM_AHB_CFG) | 0x3, [ 43s] ^~~~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 43s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 43s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 43s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 43s] ^ [ 43s] include/soc/sprd/./chip_x30g/__regs_mm_clk.h:29:41: note: in expansion of macro 'SCI_ADDR' [ 43s] #define REG_MM_CLK_MM_AHB_CFG SCI_ADDR(REGS_MM_CLK_BASE, 0x0020) [ 43s] ^~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:296:4: note: in expansion of macro 'REG_MM_CLK_MM_AHB_CFG' [ 43s] REG_MM_CLK_MM_AHB_CFG); [ 43s] ^~~~~~~~~~~~~~~~~~~~~ [ 43s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 43s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 43s] ^~~~~~~~~~~~ [ 43s] arch/arm/mach-sc/mach-scx35-dt.c: In function 'sc8830_init_machine': [ 43s] arch/arm/mach-sc/mach-scx35-dt.c:225:10: warning: ignoring return value of 'PTR_ERR', declared with attribute warn_unused_result [-Wunused-result] [ 43s] return PTR_ERR(sec_class); [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] CC kernel/panic.o [ 43s] CC arch/arm/kernel/stacktrace.o [ 43s] CC kernel/cpu.o [ 43s] CC arch/arm/mach-sc/sec_thermistor.o [ 43s] AS usr/initramfs_data.o [ 43s] CC arch/arm/kernel/sys_arm.o [ 43s] LD usr/built-in.o [ 43s] CC arch/arm/mach-sc/board-coreprimeve3g-thermistor.o [ 43s] LD arch/arm/vfp/vfp.o [ 43s] CC arch/arm/mm/alignment.o [ 43s] LD arch/arm/vfp/built-in.o [ 43s] CC mm/filemap.o [ 43s] CC arch/arm/kernel/time.o [ 43s] LD init/mounts.o [ 43s] CC fs/open.o [ 43s] kernel/cpu.c: In function 'cpu_hotplug_pm_callback': [ 43s] kernel/cpu.c:589:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] printk("*** %s, action:0x%x ***\n", __func__, action ); [ 43s] ^ [ 43s] kernel/cpu.c:605:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] printk("*** %s, action:0x%x done ***\n", __func__, action ); [ 43s] ^ [ 43s] CC arch/arm/mm/highmem.o [ 43s] CC arch/arm/kernel/traps.o [ 43s] CC arch/arm/kernel/atags_parse.o [ 43s] CC arch/arm/kernel/cpuidle.o [ 44s] CC arch/arm/mach-sc/sc7730_gpio_dvs.o [ 44s] CC arch/arm/kernel/armksyms.o [ 44s] CC fs/read_write.o [ 44s] CC arch/arm/kernel/module.o [ 44s] AS arch/arm/kernel/sleep.o [ 44s] AS arch/arm/mm/abort-ev7.o [ 44s] arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp] [ 44s] #warning "TODO: return_address should use unwind tables" [ 44s] ^~~~~~~ [ 44s] CC arch/arm/kernel/suspend.o [ 44s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 44s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 44s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 44s] [ 44s] In file included from include/soc/sprd/hardware.h:34:0, [ 44s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 44s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 44s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 44s] [ 44s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 44s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 44s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 44s] [ 44s] In file included from include/soc/sprd/hardware.h:34:0, [ 44s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 44s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 44s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 44s] [ 44s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 44s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 44s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 44s] [ 44s] In file included from include/soc/sprd/hardware.h:34:0, [ 44s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 44s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 44s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 44s] [ 44s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 44s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 44s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 44s] [ 44s] In file included from include/soc/sprd/hardware.h:34:0, [ 44s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 44s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 44s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 44s] [ 44s] In file included from arch/arm/mach-sc/mach-scx35-dt.c:35:0: [ 44s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 44s] #define SCI_ADDR(x, y) \ [ 44s] [ 44s] In file included from include/soc/sprd/hardware.h:34:0, [ 44s] from arch/arm/mach-sc/mach-scx35-dt.c:30: [ 44s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 44s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 44s] [ 44s] AS arch/arm/mm/pabort-v7.o [ 44s] AS arch/arm/mm/cache-v7.o [ 44s] CC arch/arm/kernel/smp.o [ 44s] CC arch/arm/mm/copypage-v6.o [ 44s] CC arch/arm/mm/context.o [ 44s] fs/read_write.c: In function 'SYSC_write': [ 44s] fs/read_write.c:501:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 44s] loff_t pos = file_pos_read(f.file); [ 44s] ^~~~~~ [ 44s] CC kernel/exit.o [ 44s] AS arch/arm/mm/tlb-v7.o [ 44s] CC arch/arm/kernel/smp_tlb.o [ 45s] AS arch/arm/mm/proc-v7.o [ 45s] CC kernel/itimer.o [ 45s] CC arch/arm/kernel/unwind.o [ 45s] CC arch/arm/kernel/devtree.o [ 45s] CC fs/file_table.o [ 45s] CC arch/arm/kernel/hw_breakpoint.o [ 45s] CC arch/arm/kernel/perf_regs.o [ 45s] CC fs/super.o [ 45s] CC arch/arm/kernel/perf_event.o [ 45s] CC fs/char_dev.o [ 45s] CC arch/arm/kernel/perf_event_cpu.o [ 45s] HZFILE kernel/hz.bc [ 45s] CC arch/arm/kernel/topology.o [ 45s] CC kernel/softirq.o [ 45s] CC mm/mempool.o [ 45s] CC arch/arm/kernel/io.o [ 45s] AS arch/arm/kernel/hyp-stub.o [ 45s] AS arch/arm/kernel/head.o [ 46s] LDS arch/arm/kernel/vmlinux.lds [ 46s] CC kernel/resource.o [ 46s] LD arch/arm/mach-sc/built-in.o [ 46s] CC kernel/sysctl.o [ 46s] CC ipc/util.o [ 46s] CC ipc/msgutil.o [ 46s] CC ipc/msg.o [ 46s] CC fs/stat.o [ 46s] CC kernel/sysctl_binary.o [ 46s] CC ipc/sem.o [ 46s] CC kernel/capability.o [ 46s] CC ipc/shm.o [ 46s] CC kernel/ptrace.o [ 46s] CC ipc/ipcns_notifier.o [ 46s] CC kernel/timer.o [ 46s] CC ipc/syscall.o [ 46s] CC kernel/user.o [ 46s] CC security/keys/gc.o [ 47s] LD init/built-in.o [ 47s] CC ipc/ipc_sysctl.o [ 47s] CC crypto/api.o [ 47s] LD arch/arm/mm/built-in.o [ 47s] CC crypto/cipher.o [ 47s] CC block/elevator.o [ 47s] CC ipc/namespace.o [ 47s] CC kernel/signal.o [ 47s] CC block/blk-core.o [ 47s] CC kernel/sys.o [ 47s] CC block/blk-tag.o [ 47s] CC kernel/kmod.o [ 47s] CC block/blk-sysfs.o [ 47s] CC security/keys/key.o [ 48s] CC kernel/workqueue.o [ 48s] CC crypto/compress.o [ 48s] CC kernel/pid.o [ 48s] CC crypto/algapi.o [ 48s] CC fs/exec.o [ 48s] LD ipc/built-in.o [ 48s] LD drivers/amba/built-in.o [ 48s] LD drivers/autotst/built-in.o [ 48s] LD drivers/auxdisplay/built-in.o [ 48s] CC fs/pipe.o [ 48s] CC drivers/base/core.o [ 48s] CC fs/namei.o [ 48s] CC kernel/task_work.o [ 49s] CC mm/oom_kill.o [ 49s] CC crypto/scatterwalk.o [ 49s] CC fs/fcntl.o [ 49s] CC block/blk-flush.o [ 49s] LD arch/arm/kernel/built-in.o [ 49s] CC sound/sound_core.o [ 49s] fs/namei.c: In function 'check_can_ops': [ 49s] fs/namei.c:4243:17: warning: unused variable 'stat' [-Wunused-variable] [ 49s] struct kstatfs stat; [ 49s] ^~~~ [ 49s] CC kernel/rcupdate.o [ 49s] CC kernel/extable.o [ 50s] CC kernel/params.o [ 50s] CC mm/fadvise.o [ 50s] CC kernel/posix-timers.o [ 50s] CC fs/ioctl.o [ 50s] CC security/keys/keyring.o [ 50s] CC fs/readdir.o [ 50s] CC kernel/kthread.o [ 50s] CC kernel/wait.o [ 51s] CC mm/maccess.o [ 51s] CC kernel/sys_ni.o [ 51s] CC crypto/proc.o [ 51s] CC kernel/posix-cpu-timers.o [ 52s] LD sound/arm/built-in.o [ 52s] LD sound/atmel/built-in.o [ 52s] CC block/blk-settings.o [ 52s] CC kernel/mutex.o [ 52s] CC sound/core/compress_offload.o [ 52s] CC kernel/hrtimer.o [ 52s] CC crypto/ablkcipher.o [ 52s] fs/namei.c: In function 'check_can_ops.part.20': [ 52s] fs/namei.c:4288:1: warning: the frame size of 4104 bytes is larger than 1024 bytes [-Wframe-larger-than=] [ 52s] } [ 52s] ^ [ 52s] CC kernel/rwsem.o [ 52s] CC kernel/nsproxy.o [ 52s] CC kernel/srcu.o [ 52s] CC kernel/semaphore.o [ 53s] CC block/blk-ioc.o [ 53s] CC kernel/notifier.o [ 53s] CC mm/page_alloc.o [ 53s] CC security/keys/keyctl.o [ 53s] CC kernel/ksysfs.o [ 53s] CC block/blk-map.o [ 53s] CC kernel/cred.o [ 53s] CC fs/select.o [ 53s] CC crypto/blkcipher.o [ 53s] CC fs/dcache.o [ 53s] CC mm/page-writeback.o [ 54s] CC kernel/async.o [ 54s] CC kernel/range.o [ 54s] mm/page_alloc.c: In function 'show_migration_types': [ 54s] mm/page_alloc.c:3159:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 54s] p += sprintf(p, "%c%d", types[i], nr_migrate[i]); [ 54s] ^ [ 54s] CC crypto/ahash.o [ 54s] CC fs/inode.o [ 54s] CC fs/attr.o [ 54s] CC kernel/groups.o [ 54s] CC kernel/lglock.o [ 54s] CC kernel/smpboot.o [ 54s] CC kernel/printk_kmsg.o [ 54s] CC kernel/cpu/idle.o [ 54s] CC fs/bad_inode.o [ 54s] kernel/groups.c: In function 'in_group_p': [ 54s] kernel/groups.c:281:19: warning: comparison between pointer and integer [ 54s] if(get_dumpTsk() == current) [ 54s] ^~ [ 55s] CC kernel/events/core.o [ 55s] CC security/keys/permission.o [ 55s] CC drivers/base/bus.o [ 55s] CC kernel/irq/irqdesc.o [ 55s] LD kernel/cpu/built-in.o [ 55s] CC kernel/power/qos.o [ 55s] CC kernel/sched/core.o [ 55s] CC sound/core/memalloc.o [ 55s] CC kernel/time/timekeeping.o [ 56s] CC kernel/trace/trace_clock.o [ 56s] CC kernel/freezer.o [ 56s] CC kernel/profile.o [ 56s] CC kernel/stacktrace.o [ 56s] CC fs/file.o [ 56s] CC block/blk-exec.o [ 57s] CC fs/filesystems.o [ 57s] CC block/blk-merge.o [ 57s] CC kernel/futex.o [ 57s] CC block/blk-softirq.o [ 57s] CC block/blk-timeout.o [ 57s] CC fs/namespace.o [ 57s] CC kernel/rtmutex.o [ 57s] CC security/keys/process_keys.o [ 57s] CC kernel/smp.o [ 58s] CC kernel/spinlock.o [ 58s] CC kernel/irq/handle.o [ 58s] CC kernel/uid16.o [ 58s] CC fs/seq_file.o [ 58s] CC drivers/base/dd.o [ 58s] CC crypto/shash.o [ 58s] CC kernel/trace/ring_buffer.o [ 58s] CC crypto/algboss.o [ 58s] CC kernel/power/main.o [ 58s] CC security/keys/request_key.o [ 58s] CC kernel/irq/manage.o [ 58s] CC crypto/testmgr.o [ 59s] CC kernel/module.o [ 59s] CC kernel/kallsyms.o [ 59s] CC kernel/cgroup.o [ 59s] CC sound/core/pcm.o [ 59s] CC kernel/cgroup_freezer.o [ 59s] kernel/module.c: In function 'print_modules': [ 59s] kernel/module.c:3833:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'void *' [-Wformat=] [ 59s] printk(" %s%s[start=0x%lx,size=%d]", mod->name, module_flags(mod, buf), mod->module_core, mod->core_size); [ 59s] ^ [ 60s] CC crypto/crypto_wq.o [ 60s] CC fs/xattr.o [ 60s] CC kernel/cpuset.o [ 60s] CC kernel/time/ntp.o [ 60s] CC kernel/utsname.o [ 60s] CC fs/libfs.o [ 60s] CC mm/readahead.o [ 60s] CC block/blk-iopoll.o [ 60s] CC kernel/pid_namespace.o [ 60s] CC block/blk-lib.o [ 60s] CC kernel/res_counter.o [ 60s] CC drivers/base/syscore.o [ 60s] CC mm/swap.o [ 61s] CC kernel/time/clocksource.o [ 61s] CC fs/fs-writeback.o [ 61s] CC block/ioctl.o [ 61s] CC security/keys/request_key_auth.o [ 61s] CC fs/pnode.o [ 61s] CC kernel/stop_machine.o [ 61s] CC block/genhd.o [ 61s] CC fs/splice.o [ 61s] CC kernel/audit.o [ 62s] CC security/keys/user_defined.o [ 62s] CC kernel/irq/spurious.o [ 62s] CC kernel/auditfilter.o [ 62s] CC fs/sync.o [ 62s] CC kernel/power/process.o [ 62s] CC drivers/base/driver.o [ 62s] CC kernel/irq/resend.o [ 62s] CC kernel/watchdog.o [ 62s] CC crypto/aead.o [ 63s] CC crypto/chainiv.o [ 63s] CC crypto/eseqiv.o [ 63s] CC kernel/power/suspend.o [ 63s] CC kernel/irq/chip.o [ 63s] CC fs/utimes.o [ 63s] CC kernel/rcutree.o [ 63s] CC sound/core/pcm_native.o [ 64s] kernel/power/suspend.c:65:13: warning: 'freeze_enter' defined but not used [-Wunused-function] [ 64s] static void freeze_enter(void) [ 64s] ^~~~~~~~~~~~ [ 64s] kernel/power/suspend.c:60:13: warning: 'freeze_begin' defined but not used [-Wunused-function] [ 64s] static void freeze_begin(void) [ 64s] ^~~~~~~~~~~~ [ 64s] CC kernel/utsname_sysctl.o [ 64s] CC kernel/trace/trace.o [ 64s] CC kernel/time/jiffies.o [ 64s] CC kernel/tracepoint.o [ 64s] LD crypto/crypto_hash.o [ 64s] CC crypto/pcompress.o [ 64s] CC kernel/events/ring_buffer.o [ 64s] CC security/keys/proc.o [ 64s] LD crypto/cryptomgr.o [ 64s] CC kernel/elfcore.o [ 64s] CC crypto/cmac.o [ 64s] CC fs/stack.o [ 64s] CC fs/fs_struct.o [ 64s] CC drivers/base/class.o [ 64s] CC block/scsi_ioctl.o [ 64s] CC fs/statfs.o [ 64s] CC block/partition-generic.o [ 65s] CC mm/truncate.o [ 65s] CC security/keys/sysctl.o [ 65s] CC kernel/irq_work.o [ 65s] CC kernel/events/callchain.o [ 65s] CC kernel/cpu_pm.o [ 65s] CC crypto/hmac.o [ 65s] CC block/partitions/check.o [ 65s] LD security/keys/built-in.o [ 65s] CC mm/vmscan.o [ 65s] CC security/smack/smack_lsm.o [ 66s] CC kernel/time/timer_list.o [ 66s] CC kernel/events/hw_breakpoint.o [ 66s] BC kernel/timeconst.h [ 66s] CC fs/buffer.o [ 66s] CC kernel/time.o [ 66s] CC kernel/irq/dummychip.o [ 66s] CC kernel/irq/devres.o [ 66s] mm/vmscan.c: In function 'wakeup_kswapd': [ 66s] mm/vmscan.c:3265:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 66s] printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", [ 66s] ^ [ 66s] mm/vmscan.c:3265:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 66s] printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", [ 66s] ^ [ 66s] mm/vmscan.c:3265:50: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 66s] printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", [ 66s] ^ [ 66s] mm/vmscan.c:3265:58: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=] [ 66s] printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", [ 66s] ^ [ 66s] mm/vmscan.c:3265:67: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] [ 66s] printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", [ 66s] ^ [ 66s] CC fs/bio.o [ 66s] CC crypto/md5.o [ 66s] CC block/partitions/msdos.o [ 66s] CC fs/block_dev.o [ 66s] CC crypto/sha1_generic.o [ 67s] CC kernel/time/timeconv.o [ 67s] CC kernel/time/posix-clock.o [ 67s] CC drivers/base/platform.o [ 67s] CC fs/direct-io.o [ 67s] CC kernel/time/alarmtimer.o [ 67s] CC block/noop-iosched.o [ 67s] CC crypto/sha256_generic.o [ 67s] CC block/partitions/efi.o [ 67s] CC kernel/power/autosleep.o [ 68s] CC kernel/irq/autoprobe.o [ 68s] CC kernel/irq/irqdomain.o [ 68s] CC crypto/gf128mul.o [ 68s] CC kernel/irq/proc.o [ 68s] CC fs/mpage.o [ 68s] CC kernel/time/clockevents.o [ 68s] CC block/cfq-iosched.o [ 68s] CC fs/ioprio.o [ 68s] CC kernel/power/userwakelock.o [ 68s] CC security/smack/smack_access.o [ 68s] CC crypto/ecb.o [ 68s] CC kernel/time/tick-common.o [ 68s] CC crypto/cbc.o [ 69s] CC kernel/time/tick-broadcast.o [ 69s] CC mm/shmem.o [ 69s] LD block/partitions/built-in.o [ 69s] CC kernel/time/tick-broadcast-hrtimer.o [ 69s] CC mm/util.o [ 69s] CC kernel/irq/pm.o [ 69s] CC mm/mmzone.o [ 69s] kernel/irq/pm.c: In function 'check_wakeup_irqs': [ 69s] kernel/irq/pm.c:103:7: warning: unused variable 'suspend_abort' [-Wunused-variable] [ 69s] char suspend_abort[MAX_SUSPEND_ABORT_LEN]; [ 69s] ^~~~~~~~~~~~~ [ 69s] CC kernel/power/suspend_time.o [ 69s] CC crypto/xts.o [ 69s] CC kernel/sched/clock.o [ 69s] CC kernel/time/tick-oneshot.o [ 69s] LD kernel/events/built-in.o [ 69s] CC crypto/des_generic.o [ 69s] CC kernel/time/tick-sched.o [ 69s] CC kernel/time/time_history.o [ 70s] CC mm/vmstat.o [ 70s] CC crypto/twofish_generic.o [ 70s] CC crypto/twofish_common.o [ 70s] CC kernel/power/poweroff.o [ 70s] CC security/smack/smackfs.o [ 70s] CC crypto/aes_generic.o [ 70s] CC mm/backing-dev.o [ 70s] CC crypto/arc4.o [ 70s] CC sound/core/pcm_lib.o [ 70s] CC sound/core/pcm_timer.o [ 70s] CC kernel/power/sleep_history.o [ 70s] CC kernel/power/wakeup_reason.o [ 71s] CC sound/core/pcm_misc.o [ 71s] CC drivers/base/cpu.o [ 71s] CC crypto/deflate.o [ 71s] LD kernel/irq/built-in.o [ 71s] CC sound/core/pcm_memory.o [ 71s] CC crypto/crc32c.o [ 71s] CC sound/core/rawmidi.o [ 71s] LD block/built-in.o [ 71s] CC sound/core/timer.o [ 71s] CC crypto/authenc.o [ 71s] MK_FW firmware/melfas/KANAS_NEW_TSP_FW.mfsb.gen.S [ 71s] MK_FW firmware/coreriver/tc350_z3_3g.fw.gen.S [ 71s] IHEX firmware/coreriver/tc350_z3_3g.fw [ 71s] CC net/socket.o [ 71s] MK_FW firmware/tsp_imagis/ist3038c_Z3_3G.fw.gen.S [ 71s] IHEX firmware/tsp_imagis/ist3038c_Z3_3G.fw [ 71s] MK_FW firmware/tsp_imagis/ist3038c_Z3_3G_cmcs.bin.gen.S [ 71s] IHEX firmware/tsp_imagis/ist3038c_Z3_3G_cmcs.bin [ 71s] CC kernel/sched/cputime.o [ 71s] AS firmware/melfas/KANAS_NEW_TSP_FW.mfsb.gen.o [ 71s] LD kernel/power/built-in.o [ 71s] AS firmware/coreriver/tc350_z3_3g.fw.gen.o [ 71s] CC crypto/authencesn.o [ 71s] AS firmware/tsp_imagis/ist3038c_Z3_3G.fw.gen.o [ 71s] CC fs/proc_namespace.o [ 72s] CC crypto/lzo.o [ 72s] AS firmware/tsp_imagis/ist3038c_Z3_3G_cmcs.bin.gen.o [ 72s] CC crypto/rng.o [ 72s] CC crypto/krng.o [ 72s] CC crypto/ansi_cprng.o [ 72s] LD firmware/built-in.o [ 72s] LD arch/arm/lib/built-in.o [ 72s] CC fs/autofs4/init.o [ 72s] AS arch/arm/lib/ashldi3.o [ 72s] CC kernel/trace/trace_output.o [ 72s] AS arch/arm/lib/ashrdi3.o [ 72s] LD crypto/crypto.o [ 72s] LD crypto/crypto_algapi.o [ 72s] CC kernel/sched/idle_task.o [ 72s] LD crypto/crypto_blkcipher.o [ 72s] CC fs/configfs/inode.o [ 72s] AS arch/arm/lib/backtrace.o [ 72s] AS arch/arm/lib/call_with_stack.o [ 72s] CC security/smack/smack_netfilter.o [ 72s] CC fs/debugfs/inode.o [ 72s] CC fs/devpts/inode.o [ 72s] CC fs/ecryptfs/dentry.o [ 72s] AS arch/arm/lib/changebit.o [ 72s] AS arch/arm/lib/clear_user.o [ 72s] AS arch/arm/lib/clearbit.o [ 73s] CC fs/exfat/exfat.o [ 73s] AS arch/arm/lib/copy_from_user.o [ 73s] CC fs/autofs4/inode.o [ 73s] AS arch/arm/lib/copy_page.o [ 73s] CC fs/exfat/exfat_api.o [ 73s] CC mm/mm_init.o [ 73s] CC fs/exfat/exfat_blkdev.o [ 73s] CC mm/mmu_context.o [ 73s] AS arch/arm/lib/copy_to_user.o [ 73s] AS arch/arm/lib/csumipv6.o [ 73s] CC fs/exfat/exfat_cache.o [ 73s] AS arch/arm/lib/csumpartial.o [ 73s] AS arch/arm/lib/csumpartialcopy.o [ 73s] LD fs/exofs/built-in.o [ 73s] AS arch/arm/lib/csumpartialcopyuser.o [ 73s] CC fs/exportfs/expfs.o [ 73s] CC kernel/sched/fair.o [ 73s] AS arch/arm/lib/delay-loop.o [ 73s] CC fs/ecryptfs/file.o [ 73s] CC drivers/base/firmware.o [ 73s] CC arch/arm/lib/delay.o [ 73s] AS arch/arm/lib/div64.o [ 73s] AS arch/arm/lib/getuser.o [ 73s] AS arch/arm/lib/findbit.o [ 73s] CC fs/configfs/file.o [ 73s] AS arch/arm/lib/io-readsb.o [ 73s] AS arch/arm/lib/io-readsl.o [ 73s] AS arch/arm/lib/io-readsw-armv4.o [ 73s] CC fs/ext4/balloc.o [ 73s] LD fs/devpts/devpts.o [ 73s] LD fs/devpts/built-in.o [ 74s] CC fs/fat/cache.o [ 74s] LD security/smack/smack.o [ 74s] AS arch/arm/lib/io-writesb.o [ 74s] AS arch/arm/lib/io-writesl.o [ 74s] LD security/smack/built-in.o [ 74s] CC fs/exfat/exfat_data.o [ 74s] CC security/commoncap.o [ 74s] LD kernel/time/built-in.o [ 74s] CC fs/autofs4/root.o [ 74s] AS arch/arm/lib/io-writesw-armv4.o [ 74s] CC fs/autofs4/symlink.o [ 74s] CC sound/core/sound.o [ 74s] CC mm/percpu.o [ 74s] AS arch/arm/lib/lib1funcs.o [ 74s] CC mm/slab_common.o [ 74s] CC fs/exfat/exfat_global.o [ 74s] CC fs/ecryptfs/inode.o [ 74s] AS arch/arm/lib/lshrdi3.o [ 74s] CC fs/configfs/dir.o [ 74s] AS arch/arm/lib/memchr.o [ 74s] AS arch/arm/lib/memcmpksm.o [ 74s] AS arch/arm/lib/memcpy.o [ 74s] arch/arm/lib/memcmpksm.S:79:0: warning: "ENTRY" redefined [ 74s] #define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE [ 74s] [ 74s] In file included from arch/arm/lib/memcmpksm.S:29:0: [ 74s] include/linux/linkage.h:77:0: note: this is the location of the previous definition [ 74s] #define ENTRY(name) \ [ 74s] [ 74s] arch/arm/lib/memcmpksm.S:80:0: warning: "END" redefined [ 74s] #define END(y) _END(_C_LABEL(y)) [ 74s] [ 74s] In file included from arch/arm/lib/memcmpksm.S:29:0: [ 74s] include/linux/linkage.h:91:0: note: this is the location of the previous definition [ 74s] #define END(name) \ [ 74s] [ 74s] CC mm/compaction.o [ 74s] AS arch/arm/lib/memmove.o [ 74s] CC sound/core/init.o [ 74s] AS arch/arm/lib/memset.o [ 74s] CC fs/autofs4/waitq.o [ 74s] CC fs/exfat/exfat_nls.o [ 75s] AS arch/arm/lib/memzero.o [ 75s] AS arch/arm/lib/muldi3.o [ 75s] CC fs/fat/dir.o [ 75s] AS arch/arm/lib/putuser.o [ 75s] AS arch/arm/lib/setbit.o [ 75s] AS arch/arm/lib/strchr.o [ 75s] CC fs/exfat/exfat_oal.o [ 75s] AS arch/arm/lib/strrchr.o [ 75s] CC sound/core/memory.o [ 75s] CC fs/autofs4/expire.o [ 75s] AS arch/arm/lib/testclearbit.o [ 75s] AS arch/arm/lib/testchangebit.o [ 75s] CC drivers/base/init.o [ 75s] CC fs/ext4/bitmap.o [ 75s] AS arch/arm/lib/testsetbit.o [ 75s] CC mm/balloon_compaction.o [ 75s] LD crypto/built-in.o [ 75s] AS arch/arm/lib/ucmpdi2.o [ 75s] CC mm/interval_tree.o [ 75s] CC fs/ext4/dir.o [ 75s] CC mm/fremap.o [ 75s] CC mm/highmem.o [ 75s] CC security/min_addr.o [ 75s] AR arch/arm/lib/lib.a [ 75s] CC lib/bcd.o [ 75s] CC lib/div64.o [ 75s] CC fs/autofs4/dev-ioctl.o [ 75s] LD fs/exportfs/exportfs.o [ 75s] CC sound/core/info.o [ 75s] LD fs/exportfs/built-in.o [ 75s] CC sound/core/control.o [ 75s] CC fs/fuse/dev.o [ 75s] CC drivers/base/map.o [ 76s] CC fs/exfat/exfat_upcase.o [ 76s] CC fs/exfat/exfat_xattr.o [ 76s] CC fs/ecryptfs/main.o [ 76s] CC lib/sort.o [ 76s] CC fs/exfat/exfat_super.o [ 76s] CC security/security.o [ 76s] CC lib/parser.o [ 76s] CC fs/ext4/file.o [ 76s] CC mm/madvise.o [ 76s] CC mm/memory.o [ 76s] CC fs/debugfs/file.o [ 76s] CC drivers/base/devres.o [ 76s] CC fs/ext4/fsync.o [ 76s] CC mm/mincore.o [ 76s] CC fs/ext4/ialloc.o [ 76s] CC mm/mlock.o [ 76s] CC sound/core/misc.o [ 77s] CC mm/mmap.o [ 77s] LD fs/autofs4/autofs4.o [ 77s] LD fs/autofs4/built-in.o [ 77s] CC fs/jbd2/transaction.o [ 77s] CC kernel/trace/trace_stat.o [ 77s] CC fs/ecryptfs/super.o [ 77s] CC sound/core/device.o [ 77s] CC fs/configfs/symlink.o [ 77s] CC lib/halfmd4.o [ 77s] CC mm/mprotect.o [ 77s] CC mm/mremap.o [ 77s] CC fs/ext4/inode.o [ 77s] CC fs/ext4/page-io.o [ 77s] CC mm/msync.o [ 77s] CC fs/ecryptfs/mmap.o [ 77s] CC sound/core/jack.o [ 78s] CC lib/debug_locks.o [ 78s] CC lib/random32.o [ 78s] CC kernel/trace/trace_printk.o [ 78s] CC fs/configfs/mount.o [ 78s] CC kernel/sched/rt.o [ 78s] CC mm/rmap.o [ 78s] CC mm/vmalloc.o [ 78s] CC mm/pagewalk.o [ 78s] CC mm/pgtable-generic.o [ 78s] CC drivers/base/attribute_container.o [ 78s] CC mm/process_vm_access.o [ 78s] CC fs/ecryptfs/read_write.o [ 78s] CC lib/bust_spinlocks.o [ 79s] CC mm/init-mm.o [ 79s] CC fs/configfs/item.o [ 79s] LD fs/exfat/exfat_core.o [ 79s] LD fs/exfat/exfat_fs.o [ 79s] LD fs/exfat/built-in.o [ 79s] CC fs/nls/nls_base.o [ 79s] CC fs/ext4/namei.o [ 79s] CC fs/ext4/ioctl.o [ 79s] CC lib/hexdump.o [ 79s] CC fs/ext4/super.o [ 79s] CC lib/kasprintf.o [ 79s] CC mm/bootmem.o [ 79s] CC fs/fat/fatent.o [ 79s] LD net/802/built-in.o [ 79s] CC lib/bitmap.o [ 79s] CC mm/bounce.o [ 79s] CC mm/memblock.o [ 79s] CC mm/page_io.o [ 79s] CC net/bluetooth/af_bluetooth.o [ 79s] CC net/bluetooth/hci_core.o [ 79s] CC fs/ecryptfs/crypto.o [ 80s] CC mm/swap_state.o [ 80s] LD fs/debugfs/debugfs.o [ 80s] CC lib/scatterlist.o [ 80s] LD fs/debugfs/built-in.o [ 80s] CC fs/notify/fsnotify.o [ 80s] CC mm/swapfile.o [ 80s] LD sound/core/snd.o [ 80s] LD sound/core/snd-timer.o [ 80s] CC security/capability.o [ 80s] CC kernel/sched/stop_task.o [ 80s] LD sound/core/snd-pcm.o [ 80s] LD sound/core/snd-page-alloc.o [ 80s] LD sound/core/snd-rawmidi.o [ 80s] LD sound/core/snd-compress.o [ 80s] LD sound/core/built-in.o [ 80s] CC fs/ext4/symlink.o [ 80s] CC sound/drivers/saudio.o [ 80s] CC drivers/base/transport_class.o [ 80s] CC fs/nls/nls_cp437.o [ 80s] CC mm/dmapool.o [ 80s] CC mm/ksm.o [ 80s] LD fs/configfs/configfs.o [ 81s] LD fs/configfs/built-in.o [ 81s] CC fs/proc/task_mmu.o [ 81s] CC mm/slub.o [ 81s] CC lib/gcd.o [ 81s] CC mm/migrate.o [ 81s] CC kernel/sched/cpupri.o [ 81s] CC fs/fuse/dir.o [ 81s] sound/drivers/saudio.c: In function 'saudio_clear_cmd': [ 81s] sound/drivers/saudio.c:218:6: warning: unused variable 'i' [-Wunused-variable] [ 81s] int i = 0; [ 81s] ^ [ 81s] sound/drivers/saudio.c: In function 'snd_card_saudio_pcm_open': [ 81s] sound/drivers/saudio.c:385:13: warning: passing argument 1 of 'mutex_lock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_lock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:155:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_lock(struct mutex *lock); [ 81s] ^~~~~~~~~~ [ 81s] sound/drivers/saudio.c:387:16: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_unlock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:172:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_unlock(struct mutex *lock); [ 81s] ^~~~~~~~~~~~ [ 81s] sound/drivers/saudio.c:391:15: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_unlock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:172:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_unlock(struct mutex *lock); [ 81s] ^~~~~~~~~~~~ [ 81s] sound/drivers/saudio.c: In function 'snd_card_saudio_pcm_close': [ 81s] sound/drivers/saudio.c:445:13: warning: passing argument 1 of 'mutex_lock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_lock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:155:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_lock(struct mutex *lock); [ 81s] ^~~~~~~~~~ [ 81s] sound/drivers/saudio.c:447:16: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_unlock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:172:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_unlock(struct mutex *lock); [ 81s] ^~~~~~~~~~~~ [ 81s] sound/drivers/saudio.c:451:15: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_unlock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:172:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_unlock(struct mutex *lock); [ 81s] ^~~~~~~~~~~~ [ 81s] sound/drivers/saudio.c: In function 'snd_card_saudio_pcm_prepare': [ 81s] sound/drivers/saudio.c:564:13: warning: passing argument 1 of 'mutex_lock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_lock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:155:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_lock(struct mutex *lock); [ 81s] ^~~~~~~~~~ [ 81s] sound/drivers/saudio.c:566:16: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_unlock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:172:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_unlock(struct mutex *lock); [ 81s] ^~~~~~~~~~~~ [ 81s] sound/drivers/saudio.c:570:15: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] mutex_unlock(&saudio->mutex); [ 81s] ^ [ 81s] In file included from include/linux/kref.h:21:0, [ 81s] from include/linux/kobject.h:24, [ 81s] from include/linux/device.h:17, [ 81s] from include/linux/platform_device.h:14, [ 81s] from sound/drivers/saudio.c:17: [ 81s] include/linux/mutex.h:172:13: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' [ 81s] extern void mutex_unlock(struct mutex *lock); [ 81s] ^~~~~~~~~~~~ [ 81s] CC lib/lcm.o [ 81s] sound/drivers/saudio.c: In function 'snd_saudio_probe': [ 81s] sound/drivers/saudio.c:1273:15: warning: unused variable 'thread_id' [-Wunused-variable] [ 81s] static pid_t thread_id = (pid_t) - 1; [ 81s] ^~~~~~~~~ [ 81s] CC fs/nls/nls_ascii.o [ 81s] At top level: [ 81s] sound/drivers/saudio.c:1273:15: warning: 'thread_id' defined but not used [-Wunused-variable] [ 81s] CC kernel/trace/trace_sched_switch.o [ 81s] CC lib/list_sort.o [ 81s] CC fs/ext4/hash.o [ 81s] CC kernel/sched/cpuacct.o [ 81s] CC fs/nls/nls_iso8859-1.o [ 82s] CC lib/uuid.o [ 82s] CC fs/ecryptfs/keystore.o [ 82s] CC security/inode.o [ 82s] CC fs/jbd2/commit.o [ 82s] LD sound/drivers/mpu401/built-in.o [ 82s] LD sound/drivers/opl3/built-in.o [ 82s] CC drivers/base/topology.o [ 82s] LD sound/drivers/opl4/built-in.o [ 82s] CC fs/nls/nls_utf8.o [ 82s] CC lib/flex_array.o [ 82s] LD sound/drivers/pcsp/built-in.o [ 82s] LD sound/drivers/vx/built-in.o [ 82s] CC fs/proc/inode.o [ 82s] LD sound/drivers/built-in.o [ 82s] LD sound/firewire/built-in.o [ 82s] CC fs/ext4/resize.o [ 82s] LD sound/i2c/other/built-in.o [ 82s] CC kernel/trace/trace_nop.o [ 82s] LD sound/i2c/built-in.o [ 82s] CC fs/ext4/extents.o [ 82s] CC fs/ext4/ext4_jbd2.o [ 82s] LD kernel/sched/built-in.o [ 82s] LD sound/isa/ad1816a/built-in.o [ 82s] CC mm/memcontrol.o [ 82s] CC lib/iovec.o [ 82s] LD sound/isa/ad1848/built-in.o [ 82s] LD sound/isa/cs423x/built-in.o [ 83s] CC mm/page_cgroup.o [ 83s] CC mm/vmpressure.o [ 83s] LD sound/isa/galaxy/built-in.o [ 83s] LD sound/isa/es1688/built-in.o [ 83s] LD fs/nls/built-in.o [ 83s] LD sound/isa/gus/built-in.o [ 83s] CC fs/notify/notification.o [ 83s] LD sound/isa/msnd/built-in.o [ 83s] LD fs/quota/built-in.o [ 83s] LD sound/isa/opti9xx/built-in.o [ 83s] CC fs/ramfs/inode.o [ 83s] LD sound/isa/sb/built-in.o [ 83s] LD sound/isa/wavefront/built-in.o [ 83s] LD sound/isa/wss/built-in.o [ 83s] CC mm/page_isolation.o [ 83s] CC fs/notify/group.o [ 83s] LD sound/isa/built-in.o [ 83s] LD sound/mips/built-in.o [ 83s] LD sound/parisc/built-in.o [ 83s] LD sound/pci/ac97/built-in.o [ 83s] LD sound/pci/ali5451/built-in.o [ 83s] CC drivers/base/devtmpfs.o [ 83s] LD sound/pci/asihpi/built-in.o [ 83s] LD sound/pci/au88x0/built-in.o [ 83s] LD sound/pci/aw2/built-in.o [ 83s] LD sound/pci/ca0106/built-in.o [ 83s] LD sound/pci/cs46xx/built-in.o [ 83s] LD sound/pci/cs5535audio/built-in.o [ 83s] LD sound/pci/ctxfi/built-in.o [ 83s] LD sound/pci/echoaudio/built-in.o [ 83s] CC fs/fat/file.o [ 83s] LD sound/pci/emu10k1/built-in.o [ 83s] LD sound/pci/hda/built-in.o [ 83s] LD sound/pci/ice1712/built-in.o [ 83s] CC fs/fuse/file.o [ 83s] LD sound/pci/korg1212/built-in.o [ 83s] LD sound/pci/lola/built-in.o [ 83s] CC lib/bsearch.o [ 83s] CC mm/zsmalloc.o [ 83s] LD sound/pci/lx6464es/built-in.o [ 83s] LD sound/pci/mixart/built-in.o [ 83s] CC kernel/trace/blktrace.o [ 83s] LD sound/pci/nm256/built-in.o [ 83s] CC lib/find_last_bit.o [ 83s] LD sound/pci/oxygen/built-in.o [ 83s] LD sound/pci/pcxhr/built-in.o [ 83s] LD sound/pci/riptide/built-in.o [ 83s] CC lib/find_next_bit.o [ 83s] LD sound/pci/rme9652/built-in.o [ 83s] LD sound/pci/vx222/built-in.o [ 83s] CC fs/proc/root.o [ 83s] LD sound/pci/trident/built-in.o [ 83s] CC fs/ecryptfs/kthread.o [ 83s] CC fs/ecryptfs/debug.o [ 83s] CC fs/proc/base.o [ 83s] CC fs/proc/generic.o [ 83s] CC lib/llist.o [ 83s] LD sound/pci/ymfpci/built-in.o [ 84s] CC fs/proc/array.o [ 84s] LD sound/pci/built-in.o [ 84s] CC lib/memweight.o [ 84s] CC fs/notify/inode_mark.o [ 84s] CC lib/kfifo.o [ 84s] LD sound/pcmcia/pdaudiocf/built-in.o [ 84s] LD sound/pcmcia/vx/built-in.o [ 84s] CC fs/ramfs/file-mmu.o [ 84s] LD sound/pcmcia/built-in.o [ 84s] CC fs/jbd2/recovery.o [ 84s] LD sound/ppc/built-in.o [ 84s] CC lib/string_helpers.o [ 84s] CC drivers/base/dma-contiguous.o [ 84s] LD sound/sh/built-in.o [ 84s] CC fs/ext4/migrate.o [ 84s] CC sound/soc/soc-core.o [ 84s] CC sound/soc/soc-dapm.o [ 84s] drivers/base/dma-contiguous.c: In function 'cma_fdt_scan': [ 84s] drivers/base/dma-contiguous.c:217:56: warning: passing argument 3 of 'of_get_flat_dt_prop' from incompatible pointer type [-Wincompatible-pointer-types] [ 84s] prop = of_get_flat_dt_prop(node, "sprd,ion-heap-mem", &len); [ 84s] ^ [ 84s] In file included from drivers/base/dma-contiguous.c:28:0: [ 84s] include/linux/of_fdt.h:87:20: note: expected 'int *' but argument is of type 'long unsigned int *' [ 84s] extern const void *of_get_flat_dt_prop(unsigned long node, const char *name, [ 84s] ^~~~~~~~~~~~~~~~~~~ [ 84s] drivers/base/dma-contiguous.c:217:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 84s] prop = of_get_flat_dt_prop(node, "sprd,ion-heap-mem", &len); [ 84s] ^ [ 84s] drivers/base/dma-contiguous.c:224:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 84s] name = of_get_flat_dt_prop(node, "reg-names", NULL); [ 84s] ^ [ 84s] drivers/base/dma-contiguous.c: In function 'cma_assign_device_from_dt': [ 84s] drivers/base/dma-contiguous.c:389:22: warning: unused variable 'node' [-Wunused-variable] [ 84s] struct device_node *node; [ 84s] ^~~~ [ 84s] CC lib/kstrtox.o [ 84s] CC fs/proc/fd.o [ 84s] LD fs/ramfs/ramfs.o [ 84s] LD fs/ramfs/built-in.o [ 84s] CC fs/squashfs/block.o [ 84s] LD fs/ecryptfs/ecryptfs.o [ 84s] CC lib/pci_iomap.o [ 85s] LD fs/ecryptfs/built-in.o [ 85s] CC fs/notify/mark.o [ 85s] CC fs/sysfs/inode.o [ 85s] CC fs/ext4/mballoc.o [ 85s] CC lib/iomap_copy.o [ 85s] CC security/lsm_audit.o [ 85s] CC drivers/base/power/sysfs.o [ 85s] CC fs/proc/proc_tty.o [ 85s] CC lib/devres.o [ 85s] CC lib/hweight.o [ 85s] CC fs/proc/cmdline.o [ 85s] CC fs/jbd2/checkpoint.o [ 85s] CC net/bluetooth/hci_conn.o [ 85s] CC fs/ext4/block_validity.o [ 85s] CC fs/squashfs/cache.o [ 85s] CC drivers/base/regmap/regmap.o [ 85s] CC lib/bitrev.o [ 85s] CC fs/notify/vfsmount_mark.o [ 86s] CC fs/sysfs/file.o [ 86s] CC lib/crc-ccitt.o [ 86s] CC fs/notify/fdinfo.o [ 86s] CC lib/crc16.o [ 86s] CC fs/proc/cpuinfo.o [ 86s] CC fs/proc/consoles.o [ 86s] CC fs/proc/devices.o [ 86s] CC fs/fuse/inode.o [ 86s] CC fs/proc/interrupts.o [ 86s] CC fs/ext4/move_extent.o [ 86s] CC fs/proc/loadavg.o [ 86s] CC security/device_cgroup.o [ 86s] CC fs/ext4/mmp.o [ 86s] LD fs/notify/dnotify/built-in.o [ 86s] CC fs/proc/meminfo.o [ 86s] CC fs/notify/fanotify/fanotify.o [ 87s] CC fs/notify/inotify/inotify_fsnotify.o [ 87s] CC fs/squashfs/dir.o [ 87s] HOSTCC lib/gen_crc32table [ 87s] CC drivers/base/power/generic_ops.o [ 87s] CC fs/jbd2/revoke.o [ 87s] CC fs/jbd2/journal.o [ 87s] CC fs/proc/stat.o [ 87s] CC lib/libcrc32c.o [ 87s] CC fs/proc/uptime.o [ 87s] CC lib/genalloc.o [ 87s] CC fs/proc/version.o [ 87s] CC lib/lz4/lz4_compress.o [ 87s] CC fs/notify/fanotify/fanotify_user.o [ 87s] CC fs/notify/inotify/inotify_user.o [ 87s] CC fs/squashfs/export.o [ 87s] CC fs/fat/inode.o [ 87s] CC fs/proc/softirqs.o [ 87s] CC lib/lzo/lzo1x_compress.o [ 88s] LD security/built-in.o [ 88s] CC fs/ext4/indirect.o [ 88s] CC lib/zlib_deflate/deflate.o [ 88s] CC fs/proc/namespaces.o [ 88s] CC kernel/trace/trace_events.o [ 88s] CC fs/proc/self.o [ 88s] CC kernel/trace/trace_export.o [ 88s] CC fs/squashfs/file.o [ 88s] CC fs/proc/proc_sysctl.o [ 88s] CC drivers/base/power/common.o [ 88s] CC fs/proc/proc_net.o [ 88s] CC fs/ext4/extents_status.o [ 88s] CC fs/fuse/control.o [ 88s] LD fs/notify/inotify/built-in.o [ 88s] CC fs/ext4/xattr.o [ 88s] LD fs/notify/fanotify/built-in.o [ 88s] LD fs/notify/built-in.o [ 88s] CC fs/eventpoll.o [ 88s] CC lib/zlib_inflate/inffast.o [ 89s] CC fs/proc/kmsg.o [ 89s] CC lib/zlib_deflate/deftree.o [ 89s] CC fs/ext4/xattr_user.o [ 89s] CC lib/textsearch.o [ 89s] CC fs/proc/page.o [ 89s] LD fs/proc/sprd_debug/built-in.o [ 89s] CC lib/zlib_inflate/inflate.o [ 89s] CC lib/zlib_inflate/infutil.o [ 89s] CC net/bluetooth/hci_event.o [ 89s] CC lib/zlib_inflate/inftrees.o [ 89s] CC kernel/trace/trace_event_perf.o [ 89s] CC fs/sysfs/dir.o [ 89s] CC fs/squashfs/fragment.o [ 89s] CC lib/lz4/lz4_decompress.o [ 89s] CC fs/squashfs/id.o [ 89s] CC lib/ts_kmp.o [ 89s] CC lib/zlib_inflate/inflate_syms.o [ 89s] CC lib/ts_bm.o [ 90s] CC lib/lzo/lzo1x_decompress_safe.o [ 90s] CC fs/ext4/xattr_trusted.o [ 90s] CC fs/ext4/inline.o [ 90s] CC drivers/base/power/qos.o [ 90s] CC fs/squashfs/inode.o [ 90s] CC fs/squashfs/namei.o [ 90s] CC drivers/base/power/main.o [ 90s] LD fs/fuse/fuse.o [ 90s] CC lib/ts_fsm.o [ 90s] LD fs/fuse/built-in.o [ 90s] CC fs/squashfs/super.o [ 90s] CC fs/ext4/acl.o [ 90s] CC fs/ext4/xattr_security.o [ 90s] CC fs/anon_inodes.o [ 90s] CC lib/zlib_deflate/deflate_syms.o [ 90s] CC lib/percpu_counter.o [ 90s] CC fs/signalfd.o [ 90s] CC lib/audit.o [ 90s] CC fs/squashfs/symlink.o [ 91s] CC fs/squashfs/decompressor.o [ 91s] CC sound/soc/soc-jack.o [ 91s] CC fs/squashfs/file_cache.o [ 91s] CC lib/syscall.o [ 91s] CC drivers/base/regmap/regcache.o [ 91s] CC lib/dynamic_debug.o [ 91s] LD lib/zlib_inflate/zlib_inflate.o [ 91s] LD lib/zlib_inflate/built-in.o [ 91s] CC lib/nlattr.o [ 91s] CC lib/cpu_rmap.o [ 91s] CC lib/dynamic_queue_limits.o [ 91s] LD lib/lzo/lzo_compress.o [ 91s] LD lib/lzo/lzo_decompress.o [ 91s] LD lib/lz4/built-in.o [ 91s] CC lib/strncpy_from_user.o [ 91s] LD mm/built-in.o [ 91s] LD lib/lzo/built-in.o [ 91s] CC lib/strnlen_user.o [ 91s] CC fs/squashfs/decompressor_single.o [ 91s] CC fs/squashfs/xattr.o [ 91s] CC lib/argv_split.o [ 91s] CC fs/timerfd.o [ 91s] LD lib/zlib_deflate/zlib_deflate.o [ 91s] CC fs/squashfs/xattr_id.o [ 91s] CC fs/eventfd.o [ 91s] LD lib/zlib_deflate/built-in.o [ 91s] CC fs/squashfs/lzo_wrapper.o [ 91s] CC lib/bug.o [ 92s] CC fs/squashfs/zlib_wrapper.o [ 92s] CC drivers/base/power/wakeup.o [ 92s] CC fs/aio.o [ 92s] CC fs/sysfs/symlink.o [ 92s] LD fs/ext4/ext4.o [ 92s] CC fs/sysfs/mount.o [ 92s] CC fs/locks.o [ 92s] CC lib/cmdline.o [ 92s] CC lib/cpumask.o [ 92s] LD fs/ext4/built-in.o [ 92s] CC lib/ctype.o [ 92s] CC fs/sysfs/bin.o [ 92s] CC fs/binfmt_script.o [ 92s] LD fs/proc/proc.o [ 92s] LD fs/proc/built-in.o [ 92s] CC fs/binfmt_elf.o [ 92s] CC fs/fat/misc.o [ 92s] CC lib/dec_and_lock.o [ 92s] CC lib/decompress.o [ 93s] LD fs/squashfs/squashfs.o [ 93s] CC lib/decompress_inflate.o [ 93s] CC kernel/trace/trace_events_filter.o [ 93s] CC net/bluetooth/mgmt.o [ 93s] LD fs/squashfs/built-in.o [ 93s] CC fs/mbcache.o [ 93s] CC fs/posix_acl.o [ 93s] CC lib/dump_stack.o [ 93s] CC lib/earlycpio.o [ 93s] CC kernel/trace/power-traces.o [ 93s] CC fs/xattr_acl.o [ 93s] CC fs/generic_acl.o [ 93s] CC lib/extable.o [ 93s] CC lib/fdt.o [ 93s] CC lib/fdt_empty_tree.o [ 93s] CC lib/fdt_ro.o [ 93s] CC sound/soc/soc-cache.o [ 93s] CC lib/fdt_rw.o [ 93s] CC lib/fdt_strerror.o [ 93s] CC lib/fdt_sw.o [ 93s] CC lib/fdt_wip.o [ 93s] CC lib/flex_proportions.o [ 93s] CC lib/idr.o [ 94s] CC lib/int_sqrt.o [ 94s] CC fs/coredump.o [ 94s] CC lib/ioremap.o [ 94s] CC lib/irq_regs.o [ 94s] CC lib/is_single_threaded.o [ 94s] CC lib/klist.o [ 94s] CC drivers/base/regmap/regcache-rbtree.o [ 94s] CC drivers/base/power/runtime.o [ 94s] CC lib/kobject.o [ 94s] CC fs/sysfs/group.o [ 94s] CC lib/kobject_uevent.o [ 94s] In file included from arch/arm/include/generated/asm/current.h:1:0, [ 94s] from include/linux/wait.h:8, [ 94s] from include/linux/mmzone.h:9, [ 94s] from include/linux/gfp.h:4, [ 94s] from include/linux/slab.h:12, [ 94s] from fs/coredump.c:1: [ 94s] fs/coredump.c: In function 'do_coredump': [ 94s] include/asm-generic/current.h:6:23: warning: passing argument 1 of 'set_dumpTsk' makes integer from pointer without a cast [-Wint-conversion] [ 94s] #define get_current() (current_thread_info()->task) [ 94s] ^ [ 94s] include/asm-generic/current.h:7:17: note: in expansion of macro 'get_current' [ 94s] #define current get_current() [ 94s] ^~~~~~~~~~~ [ 94s] fs/coredump.c:525:14: note: in expansion of macro 'current' [ 94s] set_dumpTsk(current); [ 94s] ^~~~~~~ [ 94s] fs/coredump.c:492:6: note: expected 'int' but argument is of type 'struct task_struct *' [ 94s] void set_dumpTsk(int tsk) [ 94s] ^~~~~~~~~~~ [ 94s] CC lib/md5.o [ 94s] CC lib/plist.o [ 94s] CC lib/prio_heap.o [ 94s] CC sound/soc/soc-utils.o [ 95s] CC fs/drop_caches.o [ 95s] CC drivers/base/regmap/regcache-lzo.o [ 95s] CC fs/fhandle.o [ 95s] CC lib/proportions.o [ 95s] CC lib/radix-tree.o [ 95s] CC sound/soc/soc-pcm.o [ 95s] CC sound/soc/soc-compress.o [ 95s] CC net/bluetooth/hci_sock.o [ 95s] CC fs/dcookies.o [ 95s] CC lib/ratelimit.o [ 95s] CC sound/soc/soc-io.o [ 95s] CC drivers/base/regmap/regcache-flat.o [ 95s] CC lib/rbtree.o [ 96s] LD sound/soc/atmel/built-in.o [ 96s] LD sound/soc/au1x/built-in.o [ 96s] LD sound/soc/blackfin/built-in.o [ 96s] LD sound/soc/cirrus/built-in.o [ 96s] CC lib/reciprocal_div.o [ 96s] LD sound/soc/codecs/built-in.o [ 96s] LD sound/soc/davinci/built-in.o [ 96s] LD sound/soc/dwc/built-in.o [ 96s] LD sound/soc/fsl/built-in.o [ 96s] LD sound/soc/generic/built-in.o [ 96s] LD sound/soc/jz4740/built-in.o [ 96s] CC lib/rwsem-spinlock.o [ 96s] LD sound/soc/kirkwood/built-in.o [ 96s] LD sound/soc/mid-x86/built-in.o [ 96s] LD sound/soc/mxs/built-in.o [ 96s] CC drivers/base/power/clock_ops.o [ 96s] LD sound/soc/nuc900/built-in.o [ 96s] CC lib/sha1.o [ 96s] CC lib/show_mem.o [ 96s] LD sound/soc/omap/built-in.o [ 96s] LD sound/soc/pxa/built-in.o [ 96s] LD sound/soc/samsung/built-in.o [ 96s] LD sound/soc/s6000/built-in.o [ 96s] LD sound/soc/sh/built-in.o [ 96s] CC fs/fat/nfs.o [ 96s] CC sound/soc/sprd/i2s-r0p0-null-codec.o [ 96s] CC lib/string.o [ 96s] LD sound/soc/tegra/built-in.o [ 96s] CC drivers/base/regmap/regmap-debugfs.o [ 96s] CC lib/timerqueue.o [ 96s] CC net/core/sock.o [ 96s] LD sound/soc/txx9/built-in.o [ 96s] CC lib/vsprintf.o [ 96s] LD fs/sysfs/built-in.o [ 96s] LD sound/soc/ux500/built-in.o [ 96s] CC net/core/request_sock.o [ 96s] CC fs/fat/namei_vfat.o [ 96s] GEN lib/crc32table.h [ 96s] CC kernel/trace/rpm-traces.o [ 96s] CC net/core/skbuff.o [ 97s] CC sound/soc/sprd/sprd-asoc-common.o [ 97s] CC lib/crc32.o [ 97s] CC sound/soc/sprd/sprd-asoc-card.o [ 97s] CC net/core/iovec.o [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 97s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 97s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 97s] [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 97s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 97s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 97s] [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 97s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 97s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 97s] [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 97s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 97s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 97s] [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 97s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 97s] ^~~~~~~~~~~~ [ 97s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 97s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 97s] ^~~~~~~~~~~~ [ 97s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 97s] #define SCI_ADDR(x, y) \ [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from include/soc/sprd/i2s.h:20, [ 97s] from sound/soc/sprd/i2s-r0p0-null-codec.c:23: [ 97s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 97s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 97s] [ 97s] In file included from sound/soc/sprd/i2s-r0p0-null-codec.c:22:0: [ 97s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 97s] static const char *codec_hw_info[] = { [ 97s] ^~~~~~~~~~~~~ [ 97s] CC sound/soc/sprd/codec/null-codec/null-codec.o [ 97s] CC net/core/datagram.o [ 97s] LD drivers/base/power/built-in.o [ 97s] CC drivers/base/dma-mapping.o [ 97s] CC net/bluetooth/hci_sysfs.o [ 97s] CC net/core/stream.o [ 97s] CC net/core/scm.o [ 97s] In file included from sound/soc/sprd/sprd-asoc-common.c:34:0: [ 97s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 97s] static const char *codec_hw_info[] = { [ 97s] ^~~~~~~~~~~~~ [ 97s] CC drivers/base/dma-coherent.o [ 97s] CC net/core/gen_stats.o [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 97s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 97s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 97s] [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 97s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 97s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 97s] [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 97s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 97s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 97s] [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 97s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 97s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 97s] [ 97s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 97s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 97s] ^~~~~~~~~~~~ [ 97s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 97s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 97s] ^~~~~~~~~~~~ [ 97s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 97s] #define SCI_ADDR(x, y) \ [ 97s] [ 97s] In file included from include/soc/sprd/hardware.h:34:0, [ 97s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 97s] from include/soc/sprd/sprd-audio.h:20, [ 97s] from sound/soc/sprd/sprd-asoc-card.c:25: [ 97s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 97s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 97s] [ 97s] CC sound/soc/sprd/codec/sprd/v4/sprd-codec.o [ 97s] In file included from sound/soc/sprd/sprd-asoc-card.c:26:0: [ 97s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 97s] static const char *codec_hw_info[] = { [ 97s] ^~~~~~~~~~~~~ [ 97s] CC drivers/base/regmap/regmap-i2c.o [ 97s] CC drivers/base/regmap/regmap-spi.o [ 97s] LD fs/jbd2/jbd2.o [ 97s] In file included from sound/soc/sprd/codec/null-codec/null-codec.c:36:0: [ 97s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 97s] static const char *codec_hw_info[] = { [ 97s] ^~~~~~~~~~~~~ [ 97s] CC sound/soc/sprd/dai/sprd-pcm.o [ 97s] LD fs/jbd2/built-in.o [ 97s] CC sound/soc/sprd/codec/sprd/v4/sprd-audio-power.o [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 98s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 98s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 98s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 98s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 98s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 98s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 98s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 98s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 98s] ^~~~~~~~~~~~ [ 98s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 98s] ^~~~~~~~~~~~ [ 98s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 98s] #define SCI_ADDR(x, y) \ [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46: [ 98s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 98s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 98s] [ 98s] CC sound/soc/sprd/dai/i2s/i2s.o [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:459:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static int is_low_power_support() [ 98s] ^~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'is_low_power_support': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:463:13: warning: unused variable 'j' [-Wunused-variable] [ 98s] int i = 0, j = 0; [ 98s] ^ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_auxadc_en': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:660:6: warning: unused variable 'val' [-Wunused-variable] [ 98s] int val; [ 98s] ^~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:659:6: warning: unused variable 'mask' [-Wunused-variable] [ 98s] int mask; [ 98s] ^~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function '_mixer_adc_linein_mute_nolock': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:900:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 98s] struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); [ 98s] ^~~~~~ [ 98s] CC net/core/gen_estimator.o [ 98s] LD sound/soc/sprd/codec/null-codec/snd-soc-sprd-null-codec.o [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_lpw': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1506:26: warning: unused variable 'sprd_codec' [-Wunused-variable] [ 98s] struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); [ 98s] ^~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_mode': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1544:26: warning: unused variable 'sprd_codec' [-Wunused-variable] [ 98s] struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); [ 98s] ^~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_osc': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1573:26: warning: unused variable 'sprd_codec' [-Wunused-variable] [ 98s] struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); [ 98s] ^~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_hpl_mute': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1680:6: warning: unused variable 'val' [-Wunused-variable] [ 98s] int val; [ 98s] ^~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1679:6: warning: unused variable 'mask' [-Wunused-variable] [ 98s] int mask; [ 98s] ^~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_hpr_mute': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1694:6: warning: unused variable 'val' [-Wunused-variable] [ 98s] int val; [ 98s] ^~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1693:6: warning: unused variable 'mask' [-Wunused-variable] [ 98s] int mask; [ 98s] ^~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_inter_headphone_pa_pre': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1795:33: warning: unused variable 'p_setting' [-Wunused-variable] [ 98s] struct sprd_codec_inter_hp_pa *p_setting = [ 98s] ^~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_analog_open': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:2191:11: warning: unused variable 'mask' [-Wunused-variable] [ 98s] uint32_t mask = 0; [ 98s] ^~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:2190:11: warning: unused variable 'val' [-Wunused-variable] [ 98s] uint32_t val = 0; [ 98s] ^~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_adc_clock_input_en': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:2274:26: warning: unused variable 'sprd_codec' [-Wunused-variable] [ 98s] struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); [ 98s] ^~~~~~~~~~ [ 98s] LD sound/soc/sprd/codec/null-codec/built-in.o [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_info_get': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:3926:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] [ 98s] if (chip_id == 0x2723) [ 98s] ^ [ 98s] In file included from include/linux/printk.h:6:0, [ 98s] from include/linux/kernel.h:13, [ 98s] from include/linux/cache.h:4, [ 98s] from include/linux/time.h:4, [ 98s] from include/linux/stat.h:18, [ 98s] from include/linux/module.h:10, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:20: [ 98s] include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] [ 98s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 98s] ^ [ 98s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 98s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 98s] ^~~~~~~~ [ 98s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 98s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 98s] ^~~~~~~~~ [ 98s] sound/soc/sprd/sprd-asoc-common.h:54:3: note: in expansion of macro 'pr_info' [ 98s] pr_info(fmt, ##__VA_ARGS__); \ [ 98s] ^~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:3932:2: note: in expansion of macro 'sp_asoc_pr_info' [ 98s] sp_asoc_pr_info("%s, codec info = %d\n", [ 98s] ^~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_linein_mute_put': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:3950:6: warning: unused variable 'i' [-Wunused-variable] [ 98s] int i = 0; [ 98s] ^ [ 98s] CC sound/soc/sprd/dai/vaudio/vaudio.o [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: At top level: [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4327:0: warning: "SPRD_CODEC_PGA_MAX" redefined [ 98s] #define SPRD_CODEC_PGA_MAX(xname, xreg, max, tlv_array) \ [ 98s] [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:140:0: note: this is the location of the previous definition [ 98s] #define SPRD_CODEC_PGA_MAX (SPRD_CODEC_PGA_END - SPRD_CODEC_PGA_START) [ 98s] [ 98s] In file included from include/linux/printk.h:6:0, [ 98s] from include/linux/kernel.h:13, [ 98s] from include/linux/cache.h:4, [ 98s] from include/linux/time.h:4, [ 98s] from include/linux/stat.h:18, [ 98s] from include/linux/module.h:10, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:20: [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'aud_glb_reg_read': [ 98s] include/linux/kern_levels.h:4:18: warning: unknown conversion type character ',' in format [-Wformat=] [ 98s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 98s] ^ [ 98s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 98s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 98s] ^~~~~~~~ [ 98s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 98s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 98s] ^~~~~~~~~ [ 98s] sound/soc/sprd/sprd-asoc-common.h:54:3: note: in expansion of macro 'pr_info' [ 98s] pr_info(fmt, ##__VA_ARGS__); \ [ 98s] ^~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4654:3: note: in expansion of macro 'sp_asoc_pr_info' [ 98s] sp_asoc_pr_info("%, error, not enough memory!!!\n", __func__); [ 98s] ^~~~~~~~~~~~~~~ [ 98s] include/linux/kern_levels.h:4:18: warning: too many arguments for format [-Wformat-extra-args] [ 98s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 98s] ^ [ 98s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 98s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 98s] ^~~~~~~~ [ 98s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 98s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 98s] ^~~~~~~~~ [ 98s] sound/soc/sprd/sprd-asoc-common.h:54:3: note: in expansion of macro 'pr_info' [ 98s] pr_info(fmt, ##__VA_ARGS__); \ [ 98s] ^~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4654:3: note: in expansion of macro 'sp_asoc_pr_info' [ 98s] sp_asoc_pr_info("%, error, not enough memory!!!\n", __func__); [ 98s] ^~~~~~~~~~~~~~~ [ 98s] In file included from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:46:0: [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:976:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AON_APB_APB_EB0, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:49:2: note: in expansion of macro 'AUDIO_VBC_REG_DUMP_LIST' [ 98s] AUDIO_VBC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:977:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AON_APB_APB_RST0, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:49:2: note: in expansion of macro 'AUDIO_VBC_REG_DUMP_LIST' [ 98s] AUDIO_VBC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:978:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AON_APB_SINDRV_CTRL, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:49:2: note: in expansion of macro 'AUDIO_VBC_REG_DUMP_LIST' [ 98s] AUDIO_VBC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:979:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AON_APB_VBC_CTRL, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:49:2: note: in expansion of macro 'AUDIO_VBC_REG_DUMP_LIST' [ 98s] AUDIO_VBC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:980:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AON_APB_AP_WPROT_EN, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:49:2: note: in expansion of macro 'AUDIO_VBC_REG_DUMP_LIST' [ 98s] AUDIO_VBC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:981:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AON_APB_CP0_WPROT_EN, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:49:2: note: in expansion of macro 'AUDIO_VBC_REG_DUMP_LIST' [ 98s] AUDIO_VBC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:982:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AON_APB_CP1_WPROT_EN, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:49:2: note: in expansion of macro 'AUDIO_VBC_REG_DUMP_LIST' [ 98s] AUDIO_VBC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:983:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AON_APB_CP2_WPROT_EN, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:49:2: note: in expansion of macro 'AUDIO_VBC_REG_DUMP_LIST' [ 98s] AUDIO_VBC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:987:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, SPRD_INTC0_BASE, 4, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 98s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 98s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 98s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 98s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 98s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 98s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 98s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 98s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 98s] ^~~~~~~~~~~~ [ 98s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 98s] ^~~~~~~~~~~~ [ 98s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 98s] #define SCI_ADDR(x, y) \ [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:31: [ 98s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 98s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 98s] [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:988:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_PMU_APB_SLEEP_CTRL, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:989:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_PMU_APB_MEM_PD_CFG0, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:990:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, ANA_AUDIFA_INT_BASE, 1, sci_adi_read) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:991:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, ANA_REG_GLB_ARM_MODULE_EN, 1, sci_adi_read) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:992:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, ANA_REG_GLB_ARM_CLK_EN, 1, sci_adi_read) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:993:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, ANA_REG_GLB_AUD_SLP_CTRL, 1, sci_adi_read) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:994:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, ANA_REG_GLB_AUDIO_CTRL0, 1, sci_adi_read) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:995:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, ANA_REG_GLB_RTC_CLK_EN, 1, sci_adi_read) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:996:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, ANA_REG_GLB_XTL_WAIT_CTRL, 1, sci_adi_read) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:997:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, ANA_REG_GLB_ARM_RST, 1, sci_adi_read) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:50:2: note: in expansion of macro 'AUDIO_CODEC_REG_DUMP_LIST' [ 98s] AUDIO_CODEC_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:1001:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AP_APB_APB_EB, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:51:2: note: in expansion of macro 'AUDIO_IIS_REG_DUMP_LIST' [ 98s] AUDIO_IIS_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:36:84: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] #define REG_PAIR(t, r, c, f) {t->reg_name = #r; t->reg = r; t->count = c; t->func = f; t++; } [ 98s] ^ [ 98s] include/soc/sprd/__sprd_audio_sc8830.h:1002:2: note: in expansion of macro 'REG_PAIR' [ 98s] REG_PAIR(t, REG_AP_APB_APB_RST, 1, __raw_readl) \ [ 98s] ^~~~~~~~ [ 98s] include/soc/sprd/sprd-audio.h:51:2: note: in expansion of macro 'AUDIO_IIS_REG_DUMP_LIST' [ 98s] AUDIO_IIS_REG_DUMP_LIST(t) \ [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4658:2: note: in expansion of macro 'AUDIO_GLB_REG_DUMP_LIST' [ 98s] AUDIO_GLB_REG_DUMP_LIST(reg_p); [ 98s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4665:38: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 98s] snd_iprintf(buffer, "%30s: 0x%08x 0x%08x\n", [ 98s] ^ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4671:42: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 98s] snd_iprintf(buffer, "%27s+%2d: 0x%08x 0x%08x\n", [ 98s] ^ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_hp_detect_pre': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4852:6: warning: unused variable 'classg_vol' [-Wunused-variable] [ 98s] int classg_vol = 2200000; [ 98s] ^~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4849:20: warning: unused variable 'regulator' [-Wunused-variable] [ 98s] struct regulator *regulator = 0; [ 98s] ^~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4847:33: warning: unused variable 'p_setting' [-Wunused-variable] [ 98s] struct sprd_codec_inter_hp_pa *p_setting = [ 98s] ^~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_probe': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:5105:10: warning: passing argument 1 of '__arm_iounmap' makes pointer from integer without a cast [-Wint-conversion] [ 98s] iounmap(sprd_codec_dp_base); [ 98s] ^~~~~~~~~~~~~~~~~~ [ 98s] In file included from include/linux/io.h:22:0, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:37: [ 98s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:313:13: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 98s] extern void __arm_iounmap(volatile void __iomem *addr); [ 98s] ^~~~~~~~~~~~~ [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_remove': [ 98s] sound/soc/sprd/codec/sprd/v4/sprd-codec.c:5115:10: warning: passing argument 1 of '__arm_iounmap' makes pointer from integer without a cast [-Wint-conversion] [ 98s] iounmap(sprd_codec_dp_base); [ 98s] ^~~~~~~~~~~~~~~~~~ [ 98s] In file included from include/linux/io.h:22:0, [ 98s] from sound/soc/sprd/codec/sprd/v4/sprd-codec.c:37: [ 98s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:313:13: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 98s] extern void __arm_iounmap(volatile void __iomem *addr); [ 98s] ^~~~~~~~~~~~~ [ 98s] LD fs/fat/fat.o [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 98s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 98s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 98s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 98s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 98s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 98s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 98s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 98s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 98s] ^~~~~~~~~~~~ [ 98s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 98s] ^~~~~~~~~~~~ [ 98s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 98s] #define SCI_ADDR(x, y) \ [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from sound/soc/sprd/dai/sprd-pcm.c:43: [ 98s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 98s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 98s] [ 98s] In file included from sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:33:0: [ 98s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 98s] static const char *codec_hw_info[] = { [ 98s] ^~~~~~~~~~~~~ [ 98s] CC net/core/net_namespace.o [ 98s] LD fs/fat/vfat.o [ 98s] In file included from sound/soc/sprd/dai/sprd-pcm.c:17:0: [ 98s] sound/soc/sprd/dai/sprd-pcm.c: In function 'sprd_pcm_hw_params': [ 98s] sound/soc/sprd/sprd-asoc-debug.h:30:23: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 98s] #define pr_s pr_col_s "[" pr_id [ 98s] ^ [ 98s] sound/soc/sprd/sprd-asoc-debug.h:33:25: note: in expansion of macro 'pr_s' [ 98s] #define pr_sprd_fmt(id) pr_s id pr_e [ 98s] ^~~~ [ 98s] sound/soc/sprd/dai/sprd-pcm.c:18:21: note: in expansion of macro 'pr_sprd_fmt' [ 98s] #define pr_fmt(fmt) pr_sprd_fmt(" PCM ") fmt [ 98s] ^~~~~~~~~~~ [ 98s] include/linux/dynamic_debug.h:78:35: note: in expansion of macro 'pr_fmt' [ 98s] __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ [ 98s] ^~~~~~ [ 98s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 98s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 98s] ^~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/sprd-asoc-common.h:73:3: note: in expansion of macro 'pr_debug' [ 98s] pr_debug(fmt, ##__VA_ARGS__); \ [ 98s] ^~~~~~~~ [ 98s] sound/soc/sprd/dai/sprd-pcm.c:623:2: note: in expansion of macro 'sp_asoc_pr_dbg' [ 98s] sp_asoc_pr_dbg("dma_reg_addr[0].virt_addr:0x%x\n", [ 98s] ^~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/sprd-asoc-debug.h:30:23: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 98s] #define pr_s pr_col_s "[" pr_id [ 98s] ^ [ 98s] sound/soc/sprd/sprd-asoc-debug.h:33:25: note: in expansion of macro 'pr_s' [ 98s] #define pr_sprd_fmt(id) pr_s id pr_e [ 98s] ^~~~ [ 98s] sound/soc/sprd/dai/sprd-pcm.c:18:21: note: in expansion of macro 'pr_sprd_fmt' [ 98s] #define pr_fmt(fmt) pr_sprd_fmt(" PCM ") fmt [ 98s] ^~~~~~~~~~~ [ 98s] include/linux/dynamic_debug.h:78:35: note: in expansion of macro 'pr_fmt' [ 98s] __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ [ 98s] ^~~~~~ [ 98s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 98s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 98s] ^~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/sprd-asoc-common.h:73:3: note: in expansion of macro 'pr_debug' [ 98s] pr_debug(fmt, ##__VA_ARGS__); \ [ 98s] ^~~~~~~~ [ 98s] sound/soc/sprd/dai/sprd-pcm.c:647:3: note: in expansion of macro 'sp_asoc_pr_dbg' [ 98s] sp_asoc_pr_dbg("dma_reg_addr[1].virt_addr:0x%x\n", [ 98s] ^~~~~~~~~~~~~~ [ 98s] LD fs/fat/built-in.o [ 98s] In file included from sound/soc/sprd/dai/sprd-pcm.c:46:0: [ 98s] At top level: [ 98s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 98s] static const char *codec_hw_info[] = { [ 98s] ^~~~~~~~~~~~~ [ 98s] CC drivers/base/dma-buf.o [ 98s] CC sound/soc/sprd/dai/vbc/r2p0/vbc.o [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from include/soc/sprd/i2s.h:20, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:48: [ 98s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 98s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:40: [ 98s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 98s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from include/soc/sprd/i2s.h:20, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:48: [ 98s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 98s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:40: [ 98s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 98s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from include/soc/sprd/i2s.h:20, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:48: [ 98s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 98s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:40: [ 98s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 98s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from include/soc/sprd/i2s.h:20, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:48: [ 98s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 98s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:40: [ 98s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 98s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 98s] [ 98s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 98s] from include/soc/sprd/sprd-audio.h:20, [ 98s] from include/soc/sprd/i2s.h:20, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:48: [ 98s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 98s] ^~~~~~~~~~~~ [ 98s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 98s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 98s] ^~~~~~~~~~~~ [ 98s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 98s] #define SCI_ADDR(x, y) \ [ 98s] [ 98s] In file included from include/soc/sprd/hardware.h:34:0, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:40: [ 98s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 98s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 98s] [ 98s] In file included from sound/soc/sprd/dai/vaudio/vaudio.c:38:0: [ 98s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 98s] static const char *codec_hw_info[] = { [ 98s] ^~~~~~~~~~~~~ [ 98s] In file included from include/linux/printk.h:6:0, [ 98s] from include/linux/kernel.h:13, [ 98s] from include/linux/cache.h:4, [ 98s] from include/linux/time.h:4, [ 98s] from include/linux/stat.h:18, [ 98s] from include/linux/module.h:10, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:20: [ 98s] sound/soc/sprd/dai/i2s/i2s.c: In function 'i2s_reg_update': [ 98s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] [ 98s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 98s] ^ [ 98s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 98s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 98s] ^~~~~~~~ [ 98s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 98s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 98s] ^~~~~~~~~ [ 98s] sound/soc/sprd/sprd-asoc-common.h:60:3: note: in expansion of macro 'pr_info' [ 98s] pr_info(fmt, ##__VA_ARGS__); \ [ 98s] ^~~~~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c:199:2: note: in expansion of macro 'sp_asoc_pr_reg' [ 98s] sp_asoc_pr_reg("[0x%04x] U:[0x%08x] R:[0x%08x]\n", reg & 0xFFFF, new, [ 98s] ^~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c: In function 'i2s_startup': [ 98s] sound/soc/sprd/dai/i2s/i2s.c:599:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 98s] struct i2s_priv *i2s = to_info(dai); [ 98s] ^~~~~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c: In function 'get_index': [ 98s] sound/soc/sprd/dai/i2s/i2s.c:841:2: warning: statement with no effect [-Wunused-value] [ 98s] for (line_first;line_first < line_end;line_first++) { [ 98s] ^~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c: In function 'get_index_value': [ 98s] sound/soc/sprd/dai/i2s/i2s.c:858:2: warning: statement with no effect [-Wunused-value] [ 98s] for (line_first;;line_first++) { [ 98s] ^~~ [ 98s] In file included from sound/soc/sprd/dai/i2s/i2s.c:17:0: [ 98s] sound/soc/sprd/dai/i2s/i2s.c: In function 'i2s_config_get': [ 98s] sound/soc/sprd/sprd-asoc-debug.h:30:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] [ 98s] #define pr_s pr_col_s "[" pr_id [ 98s] ^ [ 98s] sound/soc/sprd/sprd-asoc-debug.h:33:25: note: in expansion of macro 'pr_s' [ 98s] #define pr_sprd_fmt(id) pr_s id pr_e [ 98s] ^~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c:18:21: note: in expansion of macro 'pr_sprd_fmt' [ 98s] #define pr_fmt(fmt) pr_sprd_fmt(" I2S ") fmt [ 98s] ^~~~~~~~~~~ [ 98s] include/linux/dynamic_debug.h:78:35: note: in expansion of macro 'pr_fmt' [ 98s] __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ [ 98s] ^~~~~~ [ 98s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 98s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 98s] ^~~~~~~~~~~~~~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c:976:2: note: in expansion of macro 'pr_debug' [ 98s] pr_debug("i2s_config_get return value %d,id %d\n",ucontrol->value.integer.value[0],id); [ 98s] ^~~~~~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c: In function 'i2s_config_set': [ 98s] sound/soc/sprd/dai/i2s/i2s.c:985:23: warning: unused variable 'card' [-Wunused-variable] [ 98s] struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); [ 98s] ^~~~ [ 98s] In file included from include/linux/io.h:22:0, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:32: [ 98s] sound/soc/sprd/dai/i2s/i2s.c: In function 'i2s_drv_probe': [ 98s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:502:52: warning: passing argument 1 of '__arm_ioremap' makes integer from pointer without a cast [-Wint-conversion] [ 98s] #define ioremap_nocache(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE) [ 98s] ^ [ 98s] sound/soc/sprd/dai/i2s/i2s.c:1173:34: note: in expansion of macro 'ioremap_nocache' [ 98s] i2s->membase = (void __iomem *)ioremap_nocache(i2s->memphys, i2s->reg_size); [ 98s] ^~~~~~~~~~~~~~~ [ 98s] In file included from include/linux/io.h:22:0, [ 98s] from sound/soc/sprd/dai/i2s/i2s.c:32: [ 98s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:310:22: note: expected 'phys_addr_t {aka unsigned int}' but argument is of type 'unsigned int *' [ 98s] extern void __iomem *__arm_ioremap(phys_addr_t, size_t, unsigned int); [ 98s] ^~~~~~~~~~~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c:1189:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 98s] const char *dai_name = NULL; [ 98s] ^~~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c:1199:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 98s] const char * config_type = NULL; [ 98s] ^~~~~ [ 98s] sound/soc/sprd/dai/i2s/i2s.c:1399:11: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 98s] membase = i2s->membase; [ 98s] ^ [ 99s] In file included from sound/soc/sprd/dai/i2s/i2s.c:42:0: [ 99s] At top level: [ 99s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 99s] static const char *codec_hw_info[] = { [ 99s] ^~~~~~~~~~~~~ [ 99s] CC net/bluetooth/l2cap_core.o [ 99s] CC drivers/base/firmware_class.o [ 99s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 99s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 99s] [ 99s] In file included from include/soc/sprd/hardware.h:34:0, [ 99s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 99s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 99s] [ 99s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 99s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 99s] [ 99s] In file included from include/soc/sprd/hardware.h:34:0, [ 99s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 99s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 99s] [ 99s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 99s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 99s] [ 99s] In file included from include/soc/sprd/hardware.h:34:0, [ 99s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 99s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 99s] [ 99s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 99s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 99s] [ 99s] In file included from include/soc/sprd/hardware.h:34:0, [ 99s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 99s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 99s] [ 99s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 99s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 99s] ^~~~~~~~~~~~ [ 99s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 99s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 99s] ^~~~~~~~~~~~ [ 99s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 99s] #define SCI_ADDR(x, y) \ [ 99s] [ 99s] In file included from include/soc/sprd/hardware.h:34:0, [ 99s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 99s] from include/soc/sprd/sprd-audio.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 99s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 99s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 99s] [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc.c: In function 'vbc_drv_probe': [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc.c:748:10: warning: passing argument 1 of '__arm_iounmap' makes pointer from integer without a cast [-Wint-conversion] [ 99s] iounmap(sprd_vbc_base); [ 99s] ^~~~~~~~~~~~~ [ 99s] In file included from include/linux/io.h:22:0, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:33: [ 99s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:313:13: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 99s] extern void __arm_iounmap(volatile void __iomem *addr); [ 99s] ^~~~~~~~~~~~~ [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc.c: In function 'vbc_drv_remove': [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc.c:768:10: warning: passing argument 1 of '__arm_iounmap' makes pointer from integer without a cast [-Wint-conversion] [ 99s] iounmap(sprd_vbc_base); [ 99s] ^~~~~~~~~~~~~ [ 99s] In file included from include/linux/io.h:22:0, [ 99s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:33: [ 99s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:313:13: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 99s] extern void __arm_iounmap(volatile void __iomem *addr); [ 99s] ^~~~~~~~~~~~~ [ 99s] CC net/bluetooth/l2cap_sock.o [ 99s] In file included from sound/soc/sprd/dai/vbc/r2p0/vbc.c:802:0: [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c: In function 'vbc_eq_reg_apply': [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1604:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] [ 99s] effect_paras = &vbc_da_eq_profile_default; [ 99s] ^ [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1622:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] [ 99s] effect_paras = &vbc_da_eq_profile_default; [ 99s] ^ [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c: In function 'vbc_eq_profile_close': [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1731:10: warning: passing argument 2 of 'vbc_eq_profile_apply' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] [ 99s] &vbc_da_eq_profile_default, vbc_idx); [ 99s] ^ [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1718:13: note: expected 'void *' but argument is of type 'const u32 (*)[164] {aka const unsigned int (*)[164]}' [ 99s] static void vbc_eq_profile_apply(struct snd_soc_codec *codec, void *data, [ 99s] ^~~~~~~~~~~~~~~~~~~~ [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1736:10: warning: passing argument 2 of 'vbc_eq_profile_apply' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] [ 99s] &vbc_ad_eq_profile_default, vbc_idx); [ 99s] ^ [ 99s] sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1718:13: note: expected 'void *' but argument is of type 'const u32 (*)[88] {aka const unsigned int (*)[88]}' [ 99s] static void vbc_eq_profile_apply(struct snd_soc_codec *codec, void *data, [ 99s] ^~~~~~~~~~~~~~~~~~~~ [ 99s] In file included from sound/soc/sprd/dai/vbc/r2p0/vbc.c:41:0: [ 99s] At top level: [ 99s] sound/soc/sprd/sprd-asoc-common.h:43:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] [ 99s] static const char *codec_hw_info[] = { [ 99s] ^~~~~~~~~~~~~ [ 99s] LD sound/soc/sprd/dai/vaudio/snd-soc-sprd-vaudio.o [ 99s] LD sound/soc/sprd/dai/vaudio/built-in.o [ 99s] LD sound/soc/sprd/snd-soc-i2s.o [ 99s] CC net/bluetooth/smp.o [ 99s] LD fs/built-in.o [ 99s] drivers/base/firmware_class.c: In function 'fw_pm_notify': [ 99s] drivers/base/firmware_class.c:1525:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 99s] printk("*** %s, mode:0x%x done ***\n", __func__, mode); [ 99s] ^ [ 99s] CC drivers/base/module.o [ 99s] LD sound/soc/sprd/dai/snd-soc-sprd-audio-dma.o [ 99s] CC net/bluetooth/sco.o [ 99s] LD sound/soc/sprd/dai/built-in.o [ 99s] CC net/bluetooth/lib.o [ 99s] CC drivers/battery/sec_battery.o [ 100s] CC drivers/block/brd.o [ 100s] CC drivers/battery/sec_adc.o [ 100s] CC drivers/block/loop.o [ 100s] LD drivers/base/regmap/built-in.o [ 100s] drivers/battery/sec_adc.c: In function 'sec_bat_adc_ap_init': [ 100s] drivers/battery/sec_adc.c:25:9: warning: 'return' with a value, in function returning void [ 100s] return true; [ 100s] ^~~~ [ 100s] drivers/battery/sec_adc.c:20:13: note: declared here [ 100s] static void sec_bat_adc_ap_init(struct platform_device *pdev) [ 100s] ^~~~~~~~~~~~~~~~~~~ [ 100s] drivers/battery/sec_adc.c: In function 'sec_bat_adc_ap_read': [ 100s] drivers/battery/sec_adc.c:31:6: warning: unused variable 'ret' [-Wunused-variable] [ 100s] int ret = 0; [ 100s] ^~~ [ 100s] drivers/battery/sec_adc.c: In function 'sec_bat_adc_ap_exit': [ 100s] drivers/battery/sec_adc.c:68:10: warning: 'return' with a value, in function returning void [ 100s] return true; [ 100s] ^~~~ [ 100s] drivers/battery/sec_adc.c:63:13: note: declared here [ 100s] static void sec_bat_adc_ap_exit(void) [ 100s] ^~~~~~~~~~~~~~~~~~~ [ 100s] At top level: [ 100s] drivers/battery/sec_adc.c:18:28: warning: 'temp_adc' defined but not used [-Wunused-variable] [ 100s] static struct iio_channel *temp_adc; [ 100s] ^~~~~~~~ [ 100s] CC drivers/battery/sec_dt_init.o [ 100s] CC drivers/block/cryptoloop.o [ 100s] LD kernel/trace/built-in.o [ 100s] CC drivers/battery/sm5701_charger.o [ 100s] LD kernel/built-in.o [ 100s] CC drivers/battery/sprd27x3_fuelgauge4samsung.o [ 100s] LD sound/soc/sprd/dai/i2s/snd-soc-sprd-i2s.o [ 100s] In file included from drivers/battery/sec_dt_init.c:20:0: [ 100s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 100s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 100s] ^~~~~~~~~~~~ [ 100s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 100s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 100s] ^~~~~~~~~~~~ [ 101s] LD sound/soc/sprd/dai/i2s/built-in.o [ 101s] In file included from include/soc/sprd/hardware.h:34:0, [ 101s] from drivers/battery/sec_dt_init.c:24: [ 101s] include/soc/sprd/__hardware-sc7731.h:122:0: warning: "SPRD_MISC_BASE" redefined [ 101s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 101s] [ 101s] In file included from drivers/battery/sec_dt_init.c:20:0: [ 101s] include/soc/sprd/sci_glb_regs.h:51:0: note: this is the location of the previous definition [ 101s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 101s] [ 101s] drivers/battery/sec_dt_init.c: In function 'sec_charger_cb': [ 101s] drivers/battery/sec_dt_init.c:466:9: warning: 'return' with a value, in function returning void [ 101s] return 0; [ 101s] ^ [ 101s] drivers/battery/sec_dt_init.c:404:6: note: declared here [ 101s] void sec_charger_cb(u8 cable_type) [ 101s] ^~~~~~~~~~~~~~ [ 101s] CC net/bluetooth/a2mp.o [ 101s] CC drivers/battery/sec_fuelgauge.o [ 101s] drivers/battery/sec_dt_init.c: In function 'sec_bat_dt_init': [ 101s] drivers/battery/sec_dt_init.c:921:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 101s] pdata->initial_check = sec_bat_initial_check; [ 101s] ^ [ 101s] drivers/battery/sec_dt_init.c: In function 'sec_fg_dt_init': [ 101s] drivers/battery/sec_dt_init.c:1114:11: warning: return makes integer from pointer without a cast [-Wint-conversion] [ 101s] return ERR_PTR(-EINVAL); [ 101s] ^~~~~~~~~~~~~~~~ [ 101s] CC net/bluetooth/amp.o [ 101s] In file included from drivers/battery/sprd27x3_fuelgauge4samsung.c:19:0: [ 101s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 101s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 101s] [ 101s] In file included from include/soc/sprd/hardware.h:34:0, [ 101s] from drivers/battery/sprd27x3_fuelgauge4samsung.c:17: [ 101s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 101s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 101s] [ 101s] In file included from drivers/battery/sprd27x3_fuelgauge4samsung.c:19:0: [ 101s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 101s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 101s] [ 101s] In file included from include/soc/sprd/hardware.h:34:0, [ 101s] from drivers/battery/sprd27x3_fuelgauge4samsung.c:17: [ 101s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 101s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 101s] [ 101s] In file included from drivers/battery/sprd27x3_fuelgauge4samsung.c:19:0: [ 101s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 101s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 101s] [ 101s] In file included from include/soc/sprd/hardware.h:34:0, [ 101s] from drivers/battery/sprd27x3_fuelgauge4samsung.c:17: [ 101s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 101s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 101s] [ 101s] In file included from drivers/battery/sprd27x3_fuelgauge4samsung.c:19:0: [ 101s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 101s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 101s] [ 101s] In file included from include/soc/sprd/hardware.h:34:0, [ 101s] from drivers/battery/sprd27x3_fuelgauge4samsung.c:17: [ 101s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 101s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 101s] [ 101s] In file included from drivers/battery/sprd27x3_fuelgauge4samsung.c:19:0: [ 101s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 101s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 101s] ^~~~~~~~~~~~ [ 101s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 101s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 101s] ^~~~~~~~~~~~ [ 101s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 101s] #define SCI_ADDR(x, y) \ [ 101s] [ 101s] In file included from include/soc/sprd/hardware.h:34:0, [ 101s] from drivers/battery/sprd27x3_fuelgauge4samsung.c:17: [ 101s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 101s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 101s] [ 101s] drivers/battery/sm5701_charger.c:44:8: warning: type defaults to 'int' in declaration of 'led_state_charger' [-Wimplicit-int] [ 101s] extern led_state_charger; [ 101s] ^~~~~~~~~~~~~~~~~ [ 101s] drivers/battery/sm5701_charger.c: In function 'SM5701_isr_work': [ 101s] drivers/battery/sm5701_charger.c:307:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 101s] int full_check_type; [ 101s] ^~~ [ 101s] drivers/battery/sm5701_charger.c:309:5: warning: unused variable 'cln' [-Wunused-variable] [ 101s] u8 cln = 0, topoff_data = 0, status = 0; [ 101s] ^~~ [ 101s] drivers/battery/sm5701_charger.c: In function 'SM5701_charger_initialize': [ 101s] drivers/battery/sm5701_charger.c:420:22: warning: passing argument 3 of 'SM5701_reg_read' from incompatible pointer type [-Wincompatible-pointer-types] [ 101s] SM5701_DEVICE_ID, &charger->dev_id); [ 101s] ^ [ 101s] In file included from drivers/battery/sm5701_charger.c:27:0: [ 101s] include/linux/mfd/sm5701_core.h:150:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'int *' [ 101s] extern int SM5701_reg_read(struct i2c_client *i2c, u8 reg, u8 *dest); [ 101s] ^~~~~~~~~~~~~~~ [ 101s] drivers/battery/sm5701_charger.c: In function 'sec_chg_set_property': [ 101s] drivers/battery/sm5701_charger.c:530:22: warning: unused variable 'stauts' [-Wunused-variable] [ 101s] u8 topoff_data = 0, stauts = 0; [ 101s] ^~~~~~ [ 101s] drivers/battery/sm5701_charger.c:530:5: warning: unused variable 'topoff_data' [-Wunused-variable] [ 101s] u8 topoff_data = 0, stauts = 0; [ 101s] ^~~~~~~~~~~ [ 101s] drivers/battery/sm5701_charger.c: In function 'SM5701_charger_probe': [ 101s] drivers/battery/sm5701_charger.c:713:18: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 101s] charger->pdata = pdata->charger_data; [ 101s] ^ [ 101s] LD sound/soc/snd-soc-core.o [ 101s] CC drivers/block/zram/zcomp_lzo.o [ 101s] CC drivers/block/zram/zcomp.o [ 101s] drivers/battery/sec_fuelgauge.c: In function 'sec_fuelgauge_probe': [ 101s] drivers/battery/sec_fuelgauge.c:505:1: warning: label 'err_supply_unreg' defined but not used [-Wunused-label] [ 101s] err_supply_unreg: [ 101s] ^~~~~~~~~~~~~~~~ [ 101s] At top level: [ 101s] drivers/battery/sec_fuelgauge.c:272:20: warning: 'sec_fg_irq_thread' defined but not used [-Wunused-function] [ 101s] static irqreturn_t sec_fg_irq_thread(int irq, void *irq_data) [ 101s] ^~~~~~~~~~~~~~~~~ [ 101s] drivers/battery/sec_fuelgauge.c:259:13: warning: 'sec_fg_isr_work' defined but not used [-Wunused-function] [ 101s] static void sec_fg_isr_work(struct work_struct *work) [ 101s] ^~~~~~~~~~~~~~~ [ 101s] LD sound/soc/sprd/codec/sprd/v4/snd-soc-sprd-sprd-codec-v4.o [ 101s] LD sound/soc/sprd/codec/sprd/v4/built-in.o [ 101s] CC net/bluetooth/ecc.o [ 101s] CC drivers/block/zram/zram_drv.o [ 101s] CC drivers/battery/../power/sprd_2713_fgu.o [ 101s] CC drivers/block/zram/zcomp_lz4.o [ 101s] CC net/core/secure_seq.o [ 102s] CC drivers/bluetooth/hci_ldisc_bcm.o [ 102s] CC drivers/bluetooth/hci_h4_bcm.o [ 102s] In file included from drivers/battery/../power/sprd_2713_fgu.c:27:0: [ 102s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 102s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 102s] ^~~~~~~~~~~~ [ 102s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 102s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 102s] ^~~~~~~~~~~~ [ 102s] In file included from include/linux/printk.h:6:0, [ 102s] from include/linux/kernel.h:13, [ 102s] from drivers/battery/../power/sprd_2713_fgu.c:13: [ 102s] drivers/battery/../power/sprd_2713_fgu.c: In function 'sprdfgu_store_attribute': [ 102s] include/linux/kern_levels.h:4:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'ptrdiff_t {aka const int}' [-Wformat=] [ 102s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 102s] ^ [ 102s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 102s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 102s] ^~~~~~~~ [ 102s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 102s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 102s] ^~~~~~~~~ [ 102s] drivers/battery/../power/sprd_2713_fgu.c:1058:2: note: in expansion of macro 'pr_info' [ 102s] pr_info("sprdfgu_store_attribute %lu %lu\n", off, set_value); [ 102s] ^~~~~~~ [ 102s] drivers/block/zram/zram_drv.c:56:0: warning: "DEVICE_ATTR_RO" redefined [ 102s] #define DEVICE_ATTR_RO(name) \ [ 102s] [ 102s] In file included from include/linux/genhd.h:62:0, [ 102s] from include/linux/blkdev.h:9, [ 102s] from drivers/block/zram/zram_drv.c:26: [ 102s] include/linux/device.h:522:0: note: this is the location of the previous definition [ 102s] #define DEVICE_ATTR_RO(_name) \ [ 102s] [ 102s] drivers/block/zram/zram_drv.c:59:0: warning: "DEVICE_ATTR_WO" redefined [ 102s] #define DEVICE_ATTR_WO(name) \ [ 102s] [ 102s] In file included from include/linux/genhd.h:62:0, [ 102s] from include/linux/blkdev.h:9, [ 102s] from drivers/block/zram/zram_drv.c:26: [ 102s] include/linux/device.h:524:0: note: this is the location of the previous definition [ 102s] #define DEVICE_ATTR_WO(_name) \ [ 102s] [ 102s] drivers/block/zram/zram_drv.c:62:0: warning: "DEVICE_ATTR_RW" redefined [ 102s] #define DEVICE_ATTR_RW(name) \ [ 102s] [ 102s] In file included from include/linux/genhd.h:62:0, [ 102s] from include/linux/blkdev.h:9, [ 102s] from drivers/block/zram/zram_drv.c:26: [ 102s] include/linux/device.h:520:0: note: this is the location of the previous definition [ 102s] #define DEVICE_ATTR_RW(_name) \ [ 102s] [ 102s] LD drivers/bus/built-in.o [ 102s] CC drivers/cdrom/cdrom.o [ 102s] CC net/bluetooth/hci_request.o [ 102s] CC net/bluetooth/hci_debugfs.o [ 102s] LD sound/sparc/built-in.o [ 102s] LD sound/spi/built-in.o [ 102s] CC net/core/flow_dissector.o [ 102s] LD sound/synth/built-in.o [ 102s] CC net/core/sysctl_net_core.o [ 102s] CC net/bluetooth/bnep/core.o [ 102s] LD sound/usb/6fire/built-in.o [ 102s] LD sound/usb/caiaq/built-in.o [ 102s] LD lib/built-in.o [ 102s] LD sound/usb/misc/built-in.o [ 102s] CC net/bluetooth/hidp/core.o [ 102s] LD sound/usb/usx2y/built-in.o [ 102s] CC net/bluetooth/hidp/sock.o [ 102s] LD sound/usb/built-in.o [ 102s] CC net/bluetooth/rfcomm/core.o [ 102s] CC sound/last.o [ 102s] CC net/core/dev.o [ 103s] CC net/core/ethtool.o [ 103s] CC net/core/dev_addr_lists.o [ 103s] CC net/bluetooth/rfcomm/sock.o [ 103s] CC net/core/dst.o [ 103s] LD sound/soundcore.o [ 103s] CC net/core/netevent.o [ 103s] LD drivers/block/zram/zram.o [ 103s] CC net/bluetooth/bnep/sock.o [ 103s] LD drivers/block/zram/built-in.o [ 103s] CC net/bluetooth/bnep/netdev.o [ 103s] CC drivers/bluetooth/sprd_lpm.o [ 103s] CC net/core/neighbour.o [ 103s] LD drivers/base/built-in.o [ 103s] CC net/core/rtnetlink.o [ 103s] CC drivers/char/mem.o [ 103s] CC net/core/utils.o [ 103s] AR lib/lib.a [ 103s] In file included from include/soc/sprd/hardware.h:34:0, [ 103s] from drivers/battery/sec_dt_init.c:24: [ 103s] include/soc/sprd/__hardware-sc7731.h:122:0: warning: "SPRD_MISC_BASE" redefined [ 103s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 103s] [ 103s] In file included from drivers/battery/sec_dt_init.c:20:0: [ 103s] include/soc/sprd/sci_glb_regs.h:51:0: note: this is the location of the previous definition [ 103s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 103s] [ 103s] CC drivers/clk/clk-devres.o [ 103s] CC drivers/clk/clkdev.o [ 103s] CC net/core/link_watch.o [ 104s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 104s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 104s] [ 104s] In file included from include/soc/sprd/hardware.h:34:0, [ 104s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 104s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 104s] [ 104s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 104s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 104s] [ 104s] In file included from include/soc/sprd/hardware.h:34:0, [ 104s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 104s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 104s] [ 104s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 104s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 104s] [ 104s] In file included from include/soc/sprd/hardware.h:34:0, [ 104s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 104s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 104s] [ 104s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 104s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 104s] [ 104s] In file included from include/soc/sprd/hardware.h:34:0, [ 104s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 104s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 104s] [ 104s] In file included from include/soc/sprd/__sprd_audio_sc8830.h:25:0, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 104s] #define SCI_ADDR(x, y) \ [ 104s] [ 104s] In file included from include/soc/sprd/hardware.h:34:0, [ 104s] from include/soc/sprd/__sprd_audio_sc8830.h:23, [ 104s] from include/soc/sprd/sprd-audio.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc-comm.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.h:20, [ 104s] from sound/soc/sprd/dai/vbc/r2p0/vbc.c:47: [ 104s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 104s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 104s] [ 104s] LD drivers/battery/built-in.o [ 104s] CC drivers/clk/clk.o [ 104s] CC drivers/clocksource/clksrc-of.o [ 104s] CC drivers/clocksource/mmio.o [ 104s] CC drivers/connector/cn_queue.o [ 104s] CC drivers/connector/connector.o [ 104s] CC drivers/char/random.o [ 104s] CC drivers/cpufreq/cpufreq.o [ 104s] CC drivers/cpufreq/cpufreq_pmqos.o [ 104s] LD drivers/clocksource/built-in.o [ 105s] LD net/bluetooth/hidp/hidp.o [ 105s] LD net/bluetooth/bnep/bnep.o [ 105s] CC drivers/cpuidle/cpuidle.o [ 105s] LD net/bluetooth/bnep/built-in.o [ 105s] LD net/bluetooth/hidp/built-in.o [ 105s] CC drivers/cpuidle/driver.o [ 105s] CC drivers/cpuidle/governor.o [ 105s] LD drivers/crypto/built-in.o [ 105s] LD drivers/firewire/built-in.o [ 105s] LD drivers/block/built-in.o [ 105s] LD drivers/firmware/built-in.o [ 105s] LD drivers/gator/built-in.o [ 105s] CC drivers/gpio/devres.o [ 105s] drivers/cpufreq/cpufreq.c: In function '__cpufreq_remove_dev': [ 105s] drivers/cpufreq/cpufreq.c:1163:86: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'struct cpufreq_policy *' [-Wformat=] [ 105s] pr_debug("%s: removing link, cpu: %d policy[%d] %x\n", __func__, cpu,data->cpu,data); [ 105s] ^ [ 105s] :0:16: note: in definition of macro 'KBUILD_STR' [ 105s] drivers/cpufreq/cpufreq.c:18:21: note: in expansion of macro 'KBUILD_MODNAME' [ 105s] #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt [ 105s] ^~~~~~~~~~~~~~ [ 105s] include/linux/dynamic_debug.h:78:35: note: in expansion of macro 'pr_fmt' [ 105s] __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ [ 105s] ^~~~~~ [ 105s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 105s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 105s] ^~~~~~~~~~~~~~~~ [ 105s] drivers/cpufreq/cpufreq.c:1163:3: note: in expansion of macro 'pr_debug' [ 105s] pr_debug("%s: removing link, cpu: %d policy[%d] %x\n", __func__, cpu,data->cpu,data); [ 105s] ^~~~~~~~ [ 105s] LD sound/soc/sprd/dai/vbc/r2p0/snd-soc-sprd-vbc-r2p0.o [ 105s] CC drivers/clk/clk-divider.o [ 105s] drivers/cpuidle/cpuidle.c: In function 'cpuidle_enter_state': [ 105s] drivers/cpuidle/cpuidle.c:88:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 105s] struct cpuidle_state *target_state = &drv->states[index]; [ 105s] ^~~~~~ [ 105s] LD sound/soc/sprd/dai/vbc/r2p0/built-in.o [ 105s] LD sound/soc/sprd/built-in.o [ 105s] LD sound/soc/built-in.o [ 105s] CC net/core/filter.o [ 105s] LD sound/built-in.o [ 105s] CC drivers/connector/cn_proc.o [ 105s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_atomics.o [ 105s] CC drivers/cpuidle/sysfs.o [ 105s] CC drivers/gpu/drm/drm_auth.o [ 105s] CC drivers/gpu/drm/drm_buffer.o [ 105s] CC drivers/clk/clk-fixed-factor.o [ 105s] CC drivers/cpufreq/cpufreq_stats.o [ 105s] LD net/bluetooth/rfcomm/rfcomm.o [ 106s] LD net/bluetooth/rfcomm/built-in.o [ 106s] CC drivers/clk/clk-fixed-rate.o [ 106s] CC net/core/sock_diag.o [ 106s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_irq.o [ 106s] CC drivers/cpuidle/governors/ladder.o [ 106s] CC drivers/gpu/drm/drm_bufs.o [ 106s] CC drivers/clk/clk-gate.o [ 106s] CC drivers/cpufreq/cpufreq_performance.o [ 107s] CC drivers/cpuidle/governors/menu.o [ 107s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_wq.o [ 107s] CC drivers/gpio/gpiolib.o [ 107s] CC drivers/clk/clk-mux.o [ 107s] CC drivers/gpio/gpiolib-of.o [ 107s] drivers/cpuidle/governors/menu.c:129:12: warning: 'get_loadavg' defined but not used [-Wunused-function] [ 107s] static int get_loadavg(void) [ 107s] ^~~~~~~~~~~ [ 107s] CC drivers/cpufreq/cpufreq_ondemand.o [ 107s] CC drivers/clk/clk-composite.o [ 107s] CC drivers/cpufreq/cpufreq_interactive.o [ 107s] LD drivers/cpuidle/governors/built-in.o [ 107s] LD drivers/cpuidle/built-in.o [ 107s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_locks.o [ 107s] CC drivers/hid/hid-lg.o [ 107s] CC drivers/clk/clk-sc.o [ 108s] CC net/core/dev_ioctl.o [ 108s] CC drivers/hid/hid-picolcd_core.o [ 108s] In file included from drivers/clk/clk-sc.c:25:0: [ 108s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 108s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 108s] [ 108s] In file included from include/soc/sprd/hardware.h:34:0, [ 108s] from drivers/clk/clk-sc.c:24: [ 108s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 108s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 108s] [ 108s] In file included from drivers/clk/clk-sc.c:25:0: [ 108s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 108s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 108s] [ 108s] In file included from include/soc/sprd/hardware.h:34:0, [ 108s] from drivers/clk/clk-sc.c:24: [ 108s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 108s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 108s] [ 108s] In file included from drivers/clk/clk-sc.c:25:0: [ 108s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 108s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 108s] [ 108s] In file included from include/soc/sprd/hardware.h:34:0, [ 108s] from drivers/clk/clk-sc.c:24: [ 108s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 108s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 108s] [ 108s] In file included from drivers/clk/clk-sc.c:25:0: [ 108s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 108s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 108s] [ 108s] In file included from include/soc/sprd/hardware.h:34:0, [ 108s] from drivers/clk/clk-sc.c:24: [ 108s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 108s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 108s] [ 108s] In file included from drivers/clk/clk-sc.c:25:0: [ 108s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 108s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 108s] ^~~~~~~~~~~~ [ 108s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 108s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 108s] ^~~~~~~~~~~~ [ 108s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 108s] #define SCI_ADDR(x, y) \ [ 108s] [ 108s] In file included from include/soc/sprd/hardware.h:34:0, [ 108s] from drivers/clk/clk-sc.c:24: [ 108s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 108s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 108s] [ 108s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_wait_queue.o [ 108s] CC net/core/flow.o [ 108s] LD drivers/bluetooth/hci_uart_bcm.o [ 108s] CC net/core/net-sysfs.o [ 108s] CC drivers/hid/hid-picolcd_debugfs.o [ 108s] CC net/core/net-procfs.o [ 108s] CC drivers/cpufreq/cpufreq_sprdemand.o [ 108s] CC net/core/net-traces.o [ 108s] CC net/core/fib_rules.o [ 108s] LD drivers/bluetooth/built-in.o [ 108s] LD drivers/hsi/clients/built-in.o [ 108s] LD drivers/hsi/built-in.o [ 108s] CC drivers/hwspinlock/hwspinlock_core.o [ 108s] LD drivers/cdrom/built-in.o [ 109s] CC drivers/i2c/i2c-boardinfo.o [ 109s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_low_level_mem.o [ 109s] CC drivers/hid/hid-debug.o [ 109s] LD drivers/idle/built-in.o [ 109s] CC drivers/hwspinlock/sprd_hwspinlock.o [ 109s] CC drivers/iio/industrialio-core.o [ 109s] drivers/cpufreq/cpufreq_sprdemand.c: In function 'cpu_core_thermal_limit': [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:169:6: warning: unused variable 'i' [-Wunused-variable] [ 109s] int i = 0; [ 109s] ^ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:168:6: warning: unused variable 'cpus' [-Wunused-variable] [ 109s] int cpus = 0; [ 109s] ^~~~ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c: In function 'sd_unplug_avg_load11': [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:758:6: warning: unused variable 'idx' [-Wunused-variable] [ 109s] int idx = 0; [ 109s] ^~~ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c: In function 'store_cpu_hotplug_disable': [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:1543:22: warning: unused variable 'cpu' [-Wunused-variable] [ 109s] unsigned int input, cpu; [ 109s] ^~~ [ 109s] CC drivers/iio/industrialio-event.o [ 109s] drivers/cpufreq/cpufreq_sprdemand.c: In function 'sd_init': [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:1791:11: warning: unused variable 'i' [-Wunused-variable] [ 109s] int cpu, i; [ 109s] ^ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c: In function 'dbs_input_event': [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:2027:7: warning: unused variable 'ret' [-Wunused-variable] [ 109s] bool ret; [ 109s] ^~~ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:2026:6: warning: unused variable 'i' [-Wunused-variable] [ 109s] int i; [ 109s] ^ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c: At top level: [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:2102:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 109s] void sprd_tb_thread() [ 109s] ^~~~~~~~~~~~~~ [ 109s] In file included from drivers/cpufreq/cpufreq_sprdemand.c:33:0: [ 109s] drivers/cpufreq/cpufreq_sprdemand.c: In function 'cpufreq_gov_dbs_init': [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:2152:28: warning: passing argument 1 of 'kthread_create_on_node' from incompatible pointer type [-Wincompatible-pointer-types] [ 109s] ksprd_tb = kthread_create(sprd_tb_thread, NULL, "sprd_tb_thread"); [ 109s] ^ [ 109s] include/linux/kthread.h:14:25: note: in definition of macro 'kthread_create' [ 109s] kthread_create_on_node(threadfn, data, -1, namefmt, ##arg) [ 109s] ^~~~~~~~ [ 109s] include/linux/kthread.h:8:21: note: expected 'int (*)(void *)' but argument is of type 'void (*)()' [ 109s] struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), [ 109s] ^~~~~~~~~~~~~~~~~~~~~~ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:2124:6: warning: unused variable 'i' [-Wunused-variable] [ 109s] int i = 0; [ 109s] ^ [ 109s] At top level: [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:753:21: warning: 'sd_unplug_avg_load11' defined but not used [-Wunused-function] [ 109s] static unsigned int sd_unplug_avg_load11(int cpu, struct sd_dbs_tuners *sd_tunners , unsigned int load) [ 109s] ^~~~~~~~~~~~~~~~~~~~ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:643:21: warning: 'sd_unplug_avg_load1' defined but not used [-Wunused-function] [ 109s] static unsigned int sd_unplug_avg_load1(int cpu, struct sd_dbs_tuners *sd_tunners , unsigned int load) [ 109s] ^~~~~~~~~~~~~~~~~~~ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:549:21: warning: 'sd_unplug_avg_load' defined but not used [-Wunused-function] [ 109s] static unsigned int sd_unplug_avg_load(int cpu, struct sd_dbs_tuners *sd_tunners , unsigned int load) [ 109s] ^~~~~~~~~~~~~~~~~~ [ 109s] drivers/cpufreq/cpufreq_sprdemand.c:463:12: warning: 'cpu_evaluate_score' defined but not used [-Wunused-function] [ 109s] static int cpu_evaluate_score(int cpu, struct sd_dbs_tuners *sd_tunners , unsigned int load) [ 109s] ^~~~~~~~~~~~~~~~~~ [ 109s] CC drivers/gpio/secgpio_dvs.o [ 109s] CC drivers/hid/hid-core.o [ 109s] In file included from drivers/hwspinlock/sprd_hwspinlock.c:34:0: [ 109s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 109s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 109s] ^~~~~~~~~~~~ [ 109s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 109s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 109s] ^~~~~~~~~~~~ [ 109s] drivers/hwspinlock/sprd_hwspinlock.c:246:22: warning: 'sprd_hwspinlock_addr' defined but not used [-Wunused-function] [ 109s] static unsigned long sprd_hwspinlock_addr(unsigned int lock_id) [ 109s] ^~~~~~~~~~~~~~~~~~~~ [ 109s] In file included from drivers/hwspinlock/sprd_hwspinlock.c:35:0: [ 109s] include/soc/sprd/arch_lock.h:169:13: warning: '__arch_default_unlock' defined but not used [-Wunused-function] [ 109s] static void __arch_default_unlock(unsigned int lock_id, unsigned long *flags) [ 109s] ^~~~~~~~~~~~~~~~~~~~~ [ 109s] include/soc/sprd/arch_lock.h:156:13: warning: '__arch_default_lock' defined but not used [-Wunused-function] [ 109s] static void __arch_default_lock(unsigned int lock_id, unsigned long *flags) [ 109s] ^~~~~~~~~~~~~~~~~~~ [ 109s] CC drivers/char/misc.o [ 109s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_math.o [ 109s] CC drivers/hid/hid-input.o [ 109s] CC drivers/cpufreq/cpufreq_governor.o [ 109s] CC drivers/cpufreq/freq_table.o [ 110s] CC drivers/iio/inkern.o [ 110s] LD drivers/connector/cn.o [ 110s] LD drivers/connector/built-in.o [ 110s] CC drivers/input/input.o [ 110s] CC drivers/input/input-compat.o [ 110s] CC drivers/gpu/drm/drm_cache.o [ 110s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_memory.o [ 110s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_misc.o [ 111s] CC drivers/gpu/drm/drm_context.o [ 111s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_mali.o [ 111s] CC drivers/gpu/drm/drm_dma.o [ 111s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_notification.o [ 111s] CC drivers/i2c/i2c-core.o [ 111s] LD drivers/hwspinlock/built-in.o [ 111s] LD net/bluetooth/bluetooth.o [ 111s] In file included from drivers/clk/clk-sc.c:25:0: [ 111s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 111s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 111s] [ 111s] In file included from include/soc/sprd/hardware.h:34:0, [ 111s] from drivers/clk/clk-sc.c:24: [ 111s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 111s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 111s] [ 111s] In file included from drivers/clk/clk-sc.c:25:0: [ 111s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 111s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 111s] [ 111s] In file included from include/soc/sprd/hardware.h:34:0, [ 111s] from drivers/clk/clk-sc.c:24: [ 111s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 111s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 111s] [ 111s] In file included from drivers/clk/clk-sc.c:25:0: [ 111s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 111s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 111s] [ 111s] In file included from include/soc/sprd/hardware.h:34:0, [ 111s] from drivers/clk/clk-sc.c:24: [ 111s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 111s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 111s] [ 111s] In file included from drivers/clk/clk-sc.c:25:0: [ 111s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 111s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 111s] [ 111s] In file included from include/soc/sprd/hardware.h:34:0, [ 111s] from drivers/clk/clk-sc.c:24: [ 111s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 111s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 111s] [ 111s] CC drivers/iq/sprd_iq.o [ 111s] In file included from drivers/clk/clk-sc.c:25:0: [ 111s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 111s] #define SCI_ADDR(x, y) \ [ 111s] [ 111s] In file included from include/soc/sprd/hardware.h:34:0, [ 111s] from drivers/clk/clk-sc.c:24: [ 111s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 111s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 111s] [ 111s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_time.o [ 111s] CC drivers/irqchip/irqchip.o [ 111s] LD net/bluetooth/built-in.o [ 111s] CC drivers/irqchip/irq-gic.o [ 111s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_timers.o [ 111s] CC net/ethernet/eth.o [ 111s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory.o [ 112s] CC drivers/irqchip/irq-gic-common.o [ 112s] LD drivers/char/built-in.o [ 112s] drivers/iq/sprd_iq.c: In function 'iq_mem_nocache_mmap': [ 112s] drivers/iq/sprd_iq.c:173:12: warning: unused variable 'size' [-Wunused-variable] [ 112s] size_t size = vma->vm_end - vma->vm_start; [ 112s] ^~~~ [ 112s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory_os_alloc.o [ 112s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory_external.o [ 112s] CC drivers/gpu/drm/drm_drv.o [ 112s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory_block_alloc.o [ 112s] CC drivers/input/input-mt.o [ 112s] CC drivers/leds/led-core.o [ 112s] LD drivers/cpufreq/built-in.o [ 112s] CC drivers/hid/uhid.o [ 112s] CC drivers/iio/industrialio-buffer.o [ 112s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory_manager.o [ 112s] LD drivers/lguest/built-in.o [ 112s] LD drivers/macintosh/built-in.o [ 112s] CC drivers/md/dm.o [ 112s] CC drivers/gpio/gpio-eic.o [ 112s] LD drivers/media/common/b2c2/built-in.o [ 112s] CC drivers/iio/industrialio-trigger.o [ 112s] CC drivers/gpu/drm/drm_fops.o [ 112s] LD drivers/media/common/saa7146/built-in.o [ 112s] CC drivers/iio/kfifo_buf.o [ 112s] LD drivers/media/common/siano/built-in.o [ 112s] LD drivers/clk/built-in.o [ 112s] LD drivers/media/common/built-in.o [ 112s] LD drivers/iq/built-in.o [ 112s] CC drivers/mfd/mfd-core.o [ 112s] LD drivers/media/firewire/built-in.o [ 112s] CC drivers/misc/uid_stat.o [ 112s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory_virtual.o [ 112s] In file included from drivers/gpio/gpio-eic.c:27:0: [ 112s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 112s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 112s] ^~~~~~~~~~~~ [ 112s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 112s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 112s] ^~~~~~~~~~~~ [ 112s] CC drivers/mfd/sm5504.o [ 112s] LD drivers/media/i2c/soc_camera/built-in.o [ 112s] drivers/gpio/gpio-eic.c: In function 'eic_gpio_probe': [ 112s] drivers/gpio/gpio-eic.c:719:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result] [ 112s] gpiochip_remove(&sgc->chip); [ 112s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] LD drivers/media/i2c/built-in.o [ 112s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory_util.o [ 112s] LD drivers/media/mmc/siano/built-in.o [ 112s] LD drivers/media/mmc/built-in.o [ 112s] LD drivers/media/parport/built-in.o [ 112s] LD drivers/media/platform/davinci/built-in.o [ 112s] LD drivers/media/platform/built-in.o [ 113s] CC drivers/media/radio/sc2331/fmdrv_main.o [ 113s] LD drivers/media/pci/b2c2/built-in.o [ 113s] LD drivers/media/pci/ddbridge/built-in.o [ 113s] LD drivers/media/pci/dm1105/built-in.o [ 113s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory_cow.o [ 113s] LD drivers/media/pci/mantis/built-in.o [ 113s] LD drivers/gpio/built-in.o [ 113s] drivers/mfd/sm5504.c: In function 'sm5504_probe': [ 113s] drivers/mfd/sm5504.c:1725:17: warning: unused variable 'switch_dev' [-Wunused-variable] [ 113s] struct device *switch_dev; [ 113s] ^~~~~~~~~~ [ 113s] LD drivers/media/pci/ngene/built-in.o [ 113s] At top level: [ 113s] drivers/mfd/sm5504.c:1688:12: warning: 'sec_get_usb_vbus' defined but not used [-Wunused-function] [ 113s] static int sec_get_usb_vbus(unsigned int *level) [ 113s] ^~~~~~~~~~~~~~~~ [ 113s] CC drivers/mmc/card/block-sprd.o [ 113s] LD drivers/media/pci/pluto2/built-in.o [ 113s] LD drivers/media/pci/pt1/built-in.o [ 113s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_ukk_mem.o [ 113s] LD drivers/media/pci/saa7146/built-in.o [ 113s] LD drivers/misc/carma/built-in.o [ 113s] LD drivers/media/pci/ttpci/built-in.o [ 113s] LD drivers/media/pci/built-in.o [ 113s] CC drivers/hid/hid-generic.o [ 113s] LD drivers/misc/cb710/built-in.o [ 113s] LD drivers/media/rc/keymaps/built-in.o [ 113s] LD drivers/media/rc/built-in.o [ 113s] CC drivers/misc/clkmon/clk_mon.o [ 113s] drivers/media/radio/sc2331/fmdrv_main.c: In function '__recv_tasklet': [ 113s] drivers/media/radio/sc2331/fmdrv_main.c:178:19: warning: unused variable 'rds_type' [-Wunused-variable] [ 113s] unsigned char ps,rds_type; [ 113s] ^~~~~~~~ [ 113s] drivers/media/radio/sc2331/fmdrv_main.c:177:16: warning: unused variable 'tmpbuf' [-Wunused-variable] [ 113s] unsigned char tmpbuf[64]={0}; [ 113s] ^~~~~~ [ 113s] drivers/media/radio/sc2331/fmdrv_main.c: In function 'fmc_transfer_rds_from_cbuff': [ 113s] drivers/media/radio/sc2331/fmdrv_main.c:836:18: warning: unused variable 'block_count' [-Wunused-variable] [ 113s] unsigned int block_count; [ 113s] ^~~~~~~~~~~ [ 113s] CC drivers/media/sprd_dcam/tshark/dcam_drv.o [ 113s] drivers/media/radio/sc2331/fmdrv_main.c: In function 'fmc_enable': [ 113s] drivers/media/radio/sc2331/fmdrv_main.c:1121:9: warning: unused variable 'resp_len' [-Wunused-variable] [ 113s] int resp_len; [ 113s] ^~~~~~~~ [ 113s] drivers/media/radio/sc2331/fmdrv_main.c:1120:19: warning: unused variable 'resp_buf' [-Wunused-variable] [ 113s] unsigned char resp_buf [1]; [ 113s] ^~~~~~~~ [ 113s] drivers/media/radio/sc2331/fmdrv_main.c:1119:19: warning: unused variable 'read_length' [-Wunused-variable] [ 113s] unsigned char read_length; [ 113s] ^~~~~~~~~~~ [ 113s] drivers/media/radio/sc2331/fmdrv_main.c:1118:19: warning: unused variable 'aud_ctrl' [-Wunused-variable] [ 113s] unsigned char aud_ctrl; [ 113s] ^~~~~~~~ [ 113s] LD drivers/irqchip/built-in.o [ 113s] drivers/media/radio/sc2331/fmdrv_main.c: In function 'fmc_transfer_rds_from_cbuff': [ 113s] drivers/media/radio/sc2331/fmdrv_main.c:855:2: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 113s] copy_to_user(buf, &fmdev->rx.rds.cbuffer[0],fmdev->rx.rds.buf_size); [ 113s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 113s] CC drivers/net/mii.o [ 113s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_ukk_gp.o [ 113s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_ukk_core.o [ 113s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_ukk_pp.o [ 113s] In file included from drivers/media/sprd_dcam/tshark/dcam_drv.c:26:0: [ 113s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 113s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from drivers/media/sprd_dcam/tshark/dcam_drv.c:23: [ 113s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 113s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 113s] [ 113s] In file included from drivers/media/sprd_dcam/tshark/dcam_drv.c:26:0: [ 113s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 113s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from drivers/media/sprd_dcam/tshark/dcam_drv.c:23: [ 113s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 113s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 113s] [ 113s] In file included from drivers/media/sprd_dcam/tshark/dcam_drv.c:26:0: [ 113s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 113s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from drivers/media/sprd_dcam/tshark/dcam_drv.c:23: [ 113s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 113s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 113s] [ 113s] In file included from drivers/media/sprd_dcam/tshark/dcam_drv.c:26:0: [ 113s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 113s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from drivers/media/sprd_dcam/tshark/dcam_drv.c:23: [ 113s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 113s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 113s] [ 113s] In file included from drivers/media/sprd_dcam/tshark/dcam_drv.c:26:0: [ 113s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 113s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 113s] ^~~~~~~~~~~~ [ 113s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 113s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 113s] ^~~~~~~~~~~~ [ 113s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 113s] #define SCI_ADDR(x, y) \ [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from drivers/media/sprd_dcam/tshark/dcam_drv.c:23: [ 113s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 113s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 113s] [ 113s] In file included from drivers/misc/clkmon/clk_mon.c:19:0: [ 113s] include/soc/sprd/pm_debug.h: In function 'get_sys_cnt': [ 113s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 113s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 113s] ^ [ 113s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 113s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 113s] ^~~~~~~~~~ [ 113s] include/soc/sprd/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' [ 113s] val1 = __raw_readl(SYSCNT_COUNT); [ 113s] ^~~~~~~~~~~~ [ 113s] In file included from include/linux/io.h:22:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:17: [ 113s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 113s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 113s] ^~~~~~~~~~~ [ 113s] In file included from drivers/misc/clkmon/clk_mon.c:19:0: [ 113s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 113s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 113s] ^ [ 113s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 113s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 113s] ^~~~~~~~~~ [ 113s] include/soc/sprd/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' [ 113s] val2 = __raw_readl(SYSCNT_COUNT); [ 113s] ^~~~~~~~~~~~ [ 113s] In file included from include/linux/io.h:22:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:17: [ 113s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 113s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 113s] ^~~~~~~~~~~ [ 113s] In file included from drivers/misc/clkmon/clk_mon.c:19:0: [ 113s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 113s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 113s] ^ [ 113s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 113s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 113s] ^~~~~~~~~~ [ 113s] include/soc/sprd/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' [ 113s] val2 = __raw_readl(SYSCNT_COUNT); [ 113s] ^~~~~~~~~~~~ [ 113s] In file included from include/linux/io.h:22:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:17: [ 113s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 113s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 113s] ^~~~~~~~~~~ [ 113s] In file included from drivers/misc/clkmon/clk_mon_scx35.h:11:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:21: [ 113s] include/soc/sprd/sci_glb_regs.h: At top level: [ 113s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 113s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from include/soc/sprd/pm_debug.h:4, [ 113s] from drivers/misc/clkmon/clk_mon.c:19: [ 113s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 113s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 113s] [ 113s] In file included from drivers/misc/clkmon/clk_mon_scx35.h:11:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:21: [ 113s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 113s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from include/soc/sprd/pm_debug.h:4, [ 113s] from drivers/misc/clkmon/clk_mon.c:19: [ 113s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 113s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 113s] [ 113s] In file included from drivers/misc/clkmon/clk_mon_scx35.h:11:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:21: [ 113s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 113s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from include/soc/sprd/pm_debug.h:4, [ 113s] from drivers/misc/clkmon/clk_mon.c:19: [ 113s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 113s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 113s] [ 113s] In file included from drivers/misc/clkmon/clk_mon_scx35.h:11:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:21: [ 113s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 113s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from include/soc/sprd/pm_debug.h:4, [ 113s] from drivers/misc/clkmon/clk_mon.c:19: [ 113s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 113s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 113s] [ 113s] In file included from drivers/misc/clkmon/clk_mon_scx35.h:11:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:21: [ 113s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 113s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 113s] ^~~~~~~~~~~~ [ 113s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 113s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 113s] ^~~~~~~~~~~~ [ 113s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 113s] #define SCI_ADDR(x, y) \ [ 113s] [ 113s] In file included from include/soc/sprd/hardware.h:34:0, [ 113s] from include/soc/sprd/pm_debug.h:4, [ 113s] from drivers/misc/clkmon/clk_mon.c:19: [ 113s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 113s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 113s] [ 113s] drivers/misc/clkmon/clk_mon.c: In function 'clk_mon_clock_gate': [ 113s] drivers/misc/clkmon/clk_mon.c:456:24: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 113s] value = __raw_readl(clk_gate_masks[i].addr); [ 113s] ^~~~~~~~~~~~~~ [ 113s] In file included from include/linux/io.h:22:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:17: [ 113s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 113s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 113s] ^~~~~~~~~~~ [ 113s] drivers/misc/clkmon/clk_mon.c: In function 'clk_mon_get_clock_info': [ 113s] drivers/misc/clkmon/clk_mon.c:495:24: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 113s] value = __raw_readl(clk_gate_masks[i].addr); [ 113s] ^~~~~~~~~~~~~~ [ 113s] In file included from include/linux/io.h:22:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:17: [ 113s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 113s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 113s] ^~~~~~~~~~~ [ 113s] drivers/misc/clkmon/clk_mon.c:480:16: warning: unused variable 'v_addr' [-Wunused-variable] [ 113s] void __iomem *v_addr = NULL; [ 113s] ^~~~~~ [ 113s] drivers/misc/clkmon/clk_mon.c: In function 'clk_mon_show_clock_gating': [ 113s] drivers/misc/clkmon/clk_mon.c:560:24: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 113s] value = __raw_readl(clk_gate_masks[i].addr); [ 113s] ^~~~~~~~~~~~~~ [ 113s] In file included from include/linux/io.h:22:0, [ 113s] from drivers/misc/clkmon/clk_mon.c:17: [ 113s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 113s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 113s] ^~~~~~~~~~~ [ 113s] drivers/misc/clkmon/clk_mon.c: In function 'clk_mon_init': [ 113s] drivers/misc/clkmon/clk_mon.c:629:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 113s] struct clk_gate_mask clk_gate_mask_temp[] = { [ 113s] ^~~~~~ [ 113s] LD drivers/nfc/built-in.o [ 113s] CC drivers/of/base.o [ 114s] drivers/mmc/card/block-sprd.c: In function 'mmc_blk_issue_rw_rq': [ 114s] drivers/mmc/card/block-sprd.c:2112:2: warning: label 'start_new_req' defined but not used [-Wunused-label] [ 114s] start_new_req: [ 114s] ^~~~~~~~~~~~~ [ 114s] drivers/mmc/card/block-sprd.c:1939:34: warning: unused variable 'retry' [-Wunused-variable] [ 114s] int ret = 1, disable_multi = 0, retry = 0, type; [ 114s] ^~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function 'dcam_cap_cfg': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:1665:12: warning: unused variable 'zoom_mode' [-Wunused-variable] [ 114s] uint32_t zoom_mode = *(uint32_t*)param; [ 114s] ^~~~~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function 'dcam_path0_cfg': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:1830:50: warning: unused variable 'i' [-Wunused-variable] [ 114s] uint32_t base_id = *(uint32_t*)param, i; [ 114s] ^ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function 'dcam_path1_cfg': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:2121:50: warning: unused variable 'i' [-Wunused-variable] [ 114s] uint32_t base_id = *(uint32_t*)param, i; [ 114s] ^ [ 114s] In file included from include/linux/kernel.h:13:0, [ 114s] from drivers/media/sprd_dcam/tshark/dcam_drv.c:13: [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:2208:15: warning: too many arguments for format [-Wformat-extra-args] [ 114s] DCAM_TRACE("zcf dcam_path1_cfg rot:\n",path->rot_mode); [ 114s] ^ [ 114s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 114s] #define pr_fmt(fmt) fmt [ 114s] ^~~ [ 114s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 114s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 114s] ^~~~~~~~~~~~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.h:26:33: note: in expansion of macro 'pr_debug' [ 114s] #define DCAM_TRACE pr_debug [ 114s] ^~~~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:2208:4: note: in expansion of macro 'DCAM_TRACE' [ 114s] DCAM_TRACE("zcf dcam_path1_cfg rot:\n",path->rot_mode); [ 114s] ^~~~~~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function 'dcam_path2_cfg': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:2380:50: warning: unused variable 'i' [-Wunused-variable] [ 114s] uint32_t base_id = *(uint32_t*)param, i; [ 114s] ^ [ 114s] In file included from include/linux/kernel.h:13:0, [ 114s] from drivers/media/sprd_dcam/tshark/dcam_drv.c:13: [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:2469:15: warning: too many arguments for format [-Wformat-extra-args] [ 114s] DCAM_TRACE("zcf dcam_path2_cfg rot:\n",path->rot_mode); [ 114s] ^ [ 114s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 114s] #define pr_fmt(fmt) fmt [ 114s] ^~~ [ 114s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 114s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 114s] ^~~~~~~~~~~~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.h:26:33: note: in expansion of macro 'pr_debug' [ 114s] #define DCAM_TRACE pr_debug [ 114s] ^~~~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:2469:4: note: in expansion of macro 'DCAM_TRACE' [ 114s] DCAM_TRACE("zcf dcam_path2_cfg rot:\n",path->rot_mode); [ 114s] ^~~~~~~~~~ [ 114s] In file included from drivers/media/sprd_dcam/tshark/dcam_drv.c:30:0: [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function '_dcam_buf_queue_write': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.h:29:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] [ 114s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 114s] ^ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:3086:3: note: in expansion of macro 'printk' [ 114s] printk("DCAM: warning, queue is full, cannot write 0x%lx \n", frame->yaddr); [ 114s] ^~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function '_dcam_frm_clear': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:3185:26: warning: unused variable 'i' [-Wunused-variable] [ 114s] uint32_t i = 0; [ 114s] ^ [ 114s] CC drivers/hid/hid-a4tech.o [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function '_dcam_path_set_next_frm': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:3302:26: warning: unused variable 'flag' [-Wunused-variable] [ 114s] uint32_t flag = 0; [ 114s] ^~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:3298:27: warning: unused variable 'orig_frame' [-Wunused-variable] [ 114s] struct dcam_frame *orig_frame = NULL; [ 114s] ^~~~~~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function '_dcam_path0_sof': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:4220:27: warning: unused variable 'sc_coeff' [-Wunused-variable] [ 114s] struct dcam_sc_coeff *sc_coeff; [ 114s] ^~~~~~~~ [ 114s] In file included from drivers/media/sprd_dcam/tshark/dcam_drv.c:30:0: [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: In function 'mm_clk_register_trace': [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.h:29:35: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 114s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 114s] ^ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:4637:3: note: in expansion of macro 'printk' [ 114s] printk("MMAHB: %x val:%x \b\n", [ 114s] ^~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.h:29:35: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 114s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 114s] ^ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:4644:3: note: in expansion of macro 'printk' [ 114s] printk("MMCKG: %x val:%x \b\n", [ 114s] ^~~~~~ [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c: At top level: [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:284:19: warning: '_dcam_sensor_sof' declared 'static' but never defined [-Wunused-function] [ 114s] LOCAL void _dcam_sensor_sof(void); [ 114s] ^~~~~~~~~~~~~~~~ [ 114s] CC drivers/leds/led-class.o [ 114s] drivers/media/sprd_dcam/tshark/dcam_drv.c:3207:12: warning: '_dcam_frm_pop' defined but not used [-Wunused-function] [ 114s] LOCAL void _dcam_frm_pop(enum dcam_path_index path_index) [ 114s] ^~~~~~~~~~~~~ [ 114s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_ukk_soft_job.o [ 114s] CC drivers/hid/hid-axff.o [ 114s] CC drivers/mfd/sm5701_core.o [ 114s] CC drivers/media/radio/sc2331/fmdrv_v4l2.o [ 114s] CC drivers/hid/hid-apple.o [ 114s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_ukk_timeline.o [ 114s] CC drivers/input/ff-core.o [ 114s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_kernel_core.o [ 114s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_kernel_linux.o [ 114s] CC drivers/gpu/drm/drm_gem.o [ 114s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_session.o [ 114s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_device_pause_resume.o [ 114s] drivers/mfd/sm5701_core.c: In function 'SM5701_operation_mode_function_control': [ 114s] drivers/mfd/sm5701_core.c:257:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct i2c_client *' [-Wformat=] [ 114s] printk("client:%x\n", client); [ 114s] ^ [ 114s] drivers/mfd/sm5701_core.c:258:24: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct device' [-Wformat=] [ 114s] printk("client->dev:%x\n", client->dev); [ 114s] ^ [ 114s] drivers/mfd/sm5701_core.c:259:46: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 114s] printk("pdata = client->dev.platform_data:%x\n", client->dev.platform_data); [ 114s] ^ [ 114s] drivers/mfd/sm5701_core.c:260:32: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct SM5701_charger_data *' [-Wformat=] [ 114s] printk("pdata->charger_data:%x\n", pdata->charger_data); [ 114s] ^ [ 114s] CC drivers/hid/hid-belkin.o [ 114s] CC drivers/mfd/sm5701_irq.o [ 114s] drivers/misc/clkmon/clk_mon.c:794:1: warning: the frame size of 5056 bytes is larger than 1024 bytes [-Wframe-larger-than=] [ 114s] } [ 114s] ^ [ 114s] LD drivers/iio/accel/built-in.o [ 114s] CC drivers/input/ff-memless.o [ 115s] LD drivers/iio/adc/built-in.o [ 115s] CC drivers/hid/hid-cherry.o [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_kernel_vsync.o [ 115s] LD drivers/iio/amplifiers/built-in.o [ 115s] drivers/mfd/sm5701_irq.c:29:28: warning: 'struct sm5701_dev' declared inside parameter list will not be visible outside of this definition or declaration [ 115s] int sm5701_irq_init(struct sm5701_dev *sm5701) [ 115s] ^~~~~~~~~~ [ 115s] drivers/mfd/sm5701_irq.c:38:29: warning: 'struct sm5701_dev' declared inside parameter list will not be visible outside of this definition or declaration [ 115s] void sm5701_irq_exit(struct sm5701_dev *sm5701) [ 115s] ^~~~~~~~~~ [ 115s] drivers/mfd/sm5701_irq.c:21:20: warning: 'sm5701_irq_thread' defined but not used [-Wunused-function] [ 115s] static irqreturn_t sm5701_irq_thread(int irq, void *data) [ 115s] ^~~~~~~~~~~~~~~~~ [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_ukk_vsync.o [ 115s] LD drivers/iio/common/hid-sensors/built-in.o [ 115s] LD drivers/iio/common/st_sensors/built-in.o [ 115s] LD drivers/iio/common/built-in.o [ 115s] LD drivers/iio/dac/built-in.o [ 115s] LD drivers/iio/frequency/built-in.o [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_kernel_sysfs.o [ 115s] CC drivers/i2c/i2c-dev.o [ 115s] LD drivers/iio/imu/inv_mpu/built-in.o [ 115s] LD drivers/iio/gyro/built-in.o [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_mmu.o [ 115s] CC drivers/hid/hid-chicony.o [ 115s] LD drivers/iio/imu/built-in.o [ 115s] LD drivers/iio/inv_test/built-in.o [ 115s] LD drivers/iio/light/built-in.o [ 115s] LD drivers/iio/industrialio.o [ 115s] LD drivers/iio/magnetometer/inv_compass/built-in.o [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_mmu_page_directory.o [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_mem_validation.o [ 115s] LD drivers/iio/magnetometer/built-in.o [ 115s] CC drivers/hid/hid-cypress.o [ 115s] LD drivers/iio/built-in.o [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_hw_core.o [ 115s] LD drivers/misc/clkmon/built-in.o [ 115s] LD drivers/pinctrl/built-in.o [ 115s] LD drivers/misc/eeprom/built-in.o [ 115s] CC drivers/platform/sprd/arch_init.o [ 115s] LD drivers/misc/lis3lv02d/built-in.o [ 115s] CC drivers/gpu/drm/drm_ioctl.o [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_gp.o [ 115s] CC drivers/misc/mdbg/mdbg_ring.o [ 115s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 115s] from drivers/platform/sprd/arch_init.c:16: [ 115s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 115s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 115s] ^~~~~~~~~~~~ [ 115s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 115s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 115s] ^~~~~~~~~~~~ [ 115s] CC drivers/hid/hid-dr.o [ 115s] CC drivers/mmc/card/queue-sprd.o [ 115s] In file included from drivers/platform/sprd/arch_init.c:16:0: [ 115s] include/soc/sprd/arch_lock.h:169:13: warning: '__arch_default_unlock' defined but not used [-Wunused-function] [ 115s] static void __arch_default_unlock(unsigned int lock_id, unsigned long *flags) [ 115s] ^~~~~~~~~~~~~~~~~~~~~ [ 115s] include/soc/sprd/arch_lock.h:156:13: warning: '__arch_default_lock' defined but not used [-Wunused-function] [ 115s] static void __arch_default_lock(unsigned int lock_id, unsigned long *flags) [ 115s] ^~~~~~~~~~~~~~~~~~~ [ 115s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_pp.o [ 115s] CC drivers/hid/hid-emsff.o [ 116s] CC drivers/leds/torch_sec.o [ 116s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_pp_job.o [ 116s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_gp_job.o [ 116s] CC drivers/platform/sprd/arch_misc.o [ 116s] CC drivers/hid/hid-elecom.o [ 116s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 116s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 116s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 116s] [ 116s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 116s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 116s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 116s] [ 116s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 116s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 116s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 116s] [ 116s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 116s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 116s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 116s] [ 116s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 116s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 116s] ^~~~~~~~~~~~ [ 116s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 116s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 116s] ^~~~~~~~~~~~ [ 116s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 116s] #define SCI_ADDR(x, y) \ [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 116s] from drivers/misc/mdbg/mdbg_type.h:27, [ 116s] from drivers/misc/mdbg/mdbg_ring.h:15, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 116s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 116s] [ 116s] LD net/core/built-in.o [ 116s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_soft_job.o [ 116s] In file included from drivers/misc/mdbg/mdbg_ring.h:15:0, [ 116s] from drivers/misc/mdbg/mdbg_ring.c:12: [ 116s] drivers/misc/mdbg/mdbg_ring.c: In function 'mdbg_ring': [ 116s] drivers/misc/mdbg/mdbg_type.h:33:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'MDBG_SIZE_T {aka long int}' [-Wformat=] [ 116s] #define MDBG_HEADER_ERR "MDBG_ERR: " [ 116s] ^ [ 116s] drivers/misc/mdbg/mdbg_type.h:36:40: note: in expansion of macro 'MDBG_HEADER_ERR' [ 116s] #define MDBG_ERR(fmt,args...) printk(MDBG_HEADER_ERR "%s:" fmt "\n", __func__, ## args) [ 116s] ^~~~~~~~~~~~~~~ [ 116s] drivers/misc/mdbg/mdbg_ring.c:38:4: note: in expansion of macro 'MDBG_ERR' [ 116s] MDBG_ERR("size error:%d",size); [ 116s] ^~~~~~~~ [ 116s] CC drivers/media/radio/sc2331/fmdrv_rx.o [ 116s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_scheduler.o [ 116s] drivers/mmc/card/queue-sprd.c: In function 'mmc_queue_suspend': [ 116s] drivers/mmc/card/queue-sprd.c:456:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] [ 116s] printk("%s: mq->flags: %ld, q->queue_flags: 0x%x, \ [ 116s] ^ [ 116s] drivers/mmc/card/queue-sprd.c:456:51: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 116s] printk("%s: mq->flags: %ld, q->queue_flags: 0x%x, \ [ 116s] ^ [ 116s] CC drivers/of/fdt.o [ 116s] CC drivers/hid/hid-ezkey.o [ 116s] CC drivers/i2c/algos/i2c-algo-bit.o [ 116s] In file included from drivers/platform/sprd/arch_misc.c:39:0: [ 116s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 116s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/platform/sprd/arch_misc.c:36: [ 116s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 116s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 116s] [ 116s] In file included from drivers/platform/sprd/arch_misc.c:39:0: [ 116s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 116s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/platform/sprd/arch_misc.c:36: [ 116s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 116s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 116s] [ 116s] In file included from drivers/platform/sprd/arch_misc.c:39:0: [ 116s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 116s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/platform/sprd/arch_misc.c:36: [ 116s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 116s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 116s] [ 116s] In file included from drivers/platform/sprd/arch_misc.c:39:0: [ 116s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 116s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/platform/sprd/arch_misc.c:36: [ 116s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 116s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 116s] [ 116s] In file included from drivers/platform/sprd/arch_misc.c:39:0: [ 116s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 116s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 116s] ^~~~~~~~~~~~ [ 116s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 116s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 116s] ^~~~~~~~~~~~ [ 116s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 116s] #define SCI_ADDR(x, y) \ [ 116s] [ 116s] In file included from include/soc/sprd/hardware.h:34:0, [ 116s] from drivers/platform/sprd/arch_misc.c:36: [ 116s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 116s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 116s] [ 116s] CC net/ipv4/route.o [ 116s] In file included from include/linux/printk.h:6:0, [ 116s] from include/linux/kernel.h:13, [ 116s] from drivers/platform/sprd/arch_misc.c:15: [ 116s] drivers/platform/sprd/arch_misc.c: In function 'set_section_ro': [ 116s] include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'pmd_t {aka unsigned int}' [-Wformat=] [ 116s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 116s] ^ [ 116s] include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' [ 116s] #define KERN_ERR KERN_SOH "3" /* error conditions */ [ 116s] ^~~~~~~~ [ 116s] include/linux/printk.h:220:9: note: in expansion of macro 'KERN_ERR' [ 116s] printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) [ 116s] ^~~~~~~~ [ 116s] drivers/platform/sprd/arch_misc.c:97:4: note: in expansion of macro 'pr_err' [ 116s] pr_err("%s: pmd %p=%08lx for %08lx not section map\n", [ 116s] ^~~~~~ [ 116s] In file included from include/linux/kernel.h:13:0, [ 116s] from drivers/platform/sprd/arch_misc.c:15: [ 116s] drivers/platform/sprd/arch_misc.c:107:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'pmd_t {aka unsigned int}' [-Wformat=] [ 116s] pr_debug("%s: pmd %p=%08lx for %08lx ok\n", [ 116s] ^ [ 116s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 116s] #define pr_fmt(fmt) fmt [ 116s] ^~~ [ 116s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 116s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 116s] ^~~~~~~~~~~~~~~~ [ 116s] drivers/platform/sprd/arch_misc.c:107:3: note: in expansion of macro 'pr_debug' [ 116s] pr_debug("%s: pmd %p=%08lx for %08lx ok\n", [ 116s] ^~~~~~~~ [ 116s] drivers/platform/sprd/arch_misc.c:86:16: warning: unused variable 'pmd_end' [-Wunused-variable] [ 116s] unsigned long pmd_end; [ 116s] ^~~~~~~ [ 116s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_executor.o [ 116s] CC drivers/hid/hid-gyration.o [ 116s] CC drivers/hid/hid-kensington.o [ 116s] CC drivers/gpu/drm/drm_irq.o [ 116s] CC drivers/leds/leds-sm5701.o [ 116s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_group.o [ 116s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_dlbu.o [ 116s] CC drivers/misc/mdbg/mdbg_sdio.o [ 117s] CC drivers/platform/sprd/adi.o [ 117s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_pm.o [ 117s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_broadcast.o [ 117s] CC drivers/input/matrix-keymap.o [ 117s] CC drivers/gpu/drm/drm_lock.o [ 117s] CC drivers/input/joydev.o [ 117s] In file included from include/linux/cache.h:4:0, [ 117s] from include/linux/time.h:4, [ 117s] from include/linux/stat.h:18, [ 117s] from include/linux/module.h:10, [ 117s] from drivers/leds/leds-sm5701.c:13: [ 117s] drivers/leds/leds-sm5701.c: In function 'sm5701_movie_store': [ 117s] include/linux/kernel.h:784:48: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 117s] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ [ 117s] ^ [ 117s] drivers/leds/leds-sm5701.c:426:13: note: in expansion of macro 'container_of' [ 117s] container_of(led_cdev, struct SM5701_leds_data, work_movie); [ 117s] ^~~~~~~~~~~~ [ 117s] include/linux/kernel.h:784:48: note: (near initialization for 'chip') [ 117s] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ [ 117s] ^ [ 117s] drivers/leds/leds-sm5701.c:426:13: note: in expansion of macro 'container_of' [ 117s] container_of(led_cdev, struct SM5701_leds_data, work_movie); [ 117s] ^~~~~~~~~~~~ [ 117s] drivers/leds/leds-sm5701.c: In function 'sm5701_flash_store': [ 117s] include/linux/kernel.h:784:48: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 117s] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ [ 117s] ^ [ 117s] drivers/leds/leds-sm5701.c:484:13: note: in expansion of macro 'container_of' [ 117s] container_of(led_cdev, struct SM5701_leds_data, work_flash); [ 117s] ^~~~~~~~~~~~ [ 117s] include/linux/kernel.h:784:48: note: (near initialization for 'chip') [ 117s] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ [ 117s] ^ [ 117s] drivers/leds/leds-sm5701.c:484:13: note: in expansion of macro 'container_of' [ 117s] container_of(led_cdev, struct SM5701_leds_data, work_flash); [ 117s] ^~~~~~~~~~~~ [ 117s] LD drivers/mfd/built-in.o [ 117s] CC drivers/hid/hid-keytouch.o [ 117s] CC drivers/power/power_supply_core.o [ 117s] In file included from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:353:0, [ 117s] from include/linux/io.h:22, [ 117s] from include/linux/pci.h:31, [ 117s] from include/drm/drmP.h:52, [ 117s] from drivers/gpu/drm/drm_irq.c:36: [ 117s] include/video/vga.h: In function 'vga_io_r': [ 117s] arch/arm/mach-sc/include/mach/io.h:22:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [ 117s] #define __io(a) ((void __iomem *)(a)) [ 117s] ^ [ 117s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:413:42: note: in expansion of macro '__io' [ 117s] #define inb(p) ({ __u8 __v = __raw_readb(__io(p)); __iormb(); __v; }) [ 117s] ^~~~ [ 117s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:431:22: note: in expansion of macro 'inb' [ 117s] #define inb_p(port) inb((port)) [ 117s] ^~~ [ 117s] include/video/vga.h:204:9: note: in expansion of macro 'inb_p' [ 117s] return inb_p(port); [ 117s] ^~~~~ [ 117s] include/video/vga.h: In function 'vga_io_w': [ 117s] arch/arm/mach-sc/include/mach/io.h:22:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [ 117s] #define __io(a) ((void __iomem *)(a)) [ 117s] ^ [ 117s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:407:48: note: in expansion of macro '__io' [ 117s] #define outb(v,p) ({ __iowmb(); __raw_writeb(v,__io(p)); }) [ 117s] ^~~~ [ 117s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:428:26: note: in expansion of macro 'outb' [ 117s] #define outb_p(val,port) outb((val),(port)) [ 117s] ^~~~ [ 117s] include/video/vga.h:209:2: note: in expansion of macro 'outb_p' [ 117s] outb_p(val, port); [ 117s] ^~~~~~ [ 117s] include/video/vga.h: In function 'vga_io_w_fast': [ 117s] arch/arm/mach-sc/include/mach/io.h:22:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [ 117s] #define __io(a) ((void __iomem *)(a)) [ 117s] ^ [ 117s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:409:21: note: in expansion of macro '__io' [ 117s] cpu_to_le16(v),__io(p)); }) [ 117s] ^~~~ [ 117s] include/video/vga.h:215:2: note: in expansion of macro 'outw' [ 117s] outw(VGA_OUT16VAL (val, reg), port); [ 117s] ^~~~ [ 117s] CC drivers/hid/hid-kye.o [ 117s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_pmu.o [ 117s] In file included from drivers/platform/sprd/adi.c:30:0: [ 117s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 117s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 117s] ^~~~~~~~~~~~ [ 117s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 117s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 117s] ^~~~~~~~~~~~ [ 117s] drivers/platform/sprd/adi.c: In function 'sci_adi_init': [ 117s] drivers/platform/sprd/adi.c:355:17: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 117s] sprd_adi_base = ioremap_nocache(res.start, [ 117s] ^ [ 117s] CC drivers/hid/hid-lcpower.o [ 117s] LD net/ethernet/built-in.o [ 117s] CC net/ipv6/af_inet6.o [ 117s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 117s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 117s] [ 117s] In file included from include/soc/sprd/hardware.h:34:0, [ 117s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 117s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 117s] [ 117s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 117s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 117s] [ 117s] In file included from include/soc/sprd/hardware.h:34:0, [ 117s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 117s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 117s] [ 117s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 117s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 117s] [ 117s] In file included from include/soc/sprd/hardware.h:34:0, [ 117s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 117s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 117s] [ 117s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 117s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 117s] [ 117s] In file included from include/soc/sprd/hardware.h:34:0, [ 117s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 117s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 117s] [ 117s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 117s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 117s] ^~~~~~~~~~~~ [ 117s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 117s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 117s] ^~~~~~~~~~~~ [ 117s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 117s] #define SCI_ADDR(x, y) \ [ 117s] [ 117s] In file included from include/soc/sprd/hardware.h:34:0, [ 117s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 117s] from drivers/misc/mdbg/mdbg_type.h:27, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 117s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 117s] [ 117s] In file included from drivers/misc/mdbg/mdbg_sdio.h:15:0, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] drivers/misc/mdbg/mdbg_sdio.c: In function 'mdbg_sdio_read': [ 117s] drivers/misc/mdbg/mdbg_type.h:33:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'MDBG_SIZE_T {aka long int}' [-Wformat=] [ 117s] #define MDBG_HEADER_ERR "MDBG_ERR: " [ 117s] ^ [ 117s] drivers/misc/mdbg/mdbg_type.h:36:40: note: in expansion of macro 'MDBG_HEADER_ERR' [ 117s] #define MDBG_ERR(fmt,args...) printk(MDBG_HEADER_ERR "%s:" fmt "\n", __func__, ## args) [ 117s] ^~~~~~~~~~~~~~~ [ 117s] drivers/misc/mdbg/mdbg_sdio.c:122:3: note: in expansion of macro 'MDBG_ERR' [ 117s] MDBG_ERR("[%s][%d]\n",__func__, sdio_read_len); [ 117s] ^~~~~~~~ [ 117s] drivers/misc/mdbg/mdbg_sdio.c:127:47: warning: passing argument 3 of 'sdio_dev_read' from incompatible pointer type [-Wincompatible-pointer-types] [ 117s] sdio_dev_read(MDBG_CHANNEL_READ,mdbg_rx_buff,&sdio_read_len); [ 117s] ^ [ 117s] In file included from drivers/misc/mdbg/mdbg_type.h:27:0, [ 117s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 117s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 117s] drivers/misc/mdbg/../sdiodev/sdio_dev.h:192:6: note: expected 'uint32 * {aka unsigned int *}' but argument is of type 'MDBG_SIZE_T * {aka long int *}' [ 117s] int sdio_dev_read(uint32 chn,void* read_buf,uint32 *count); [ 117s] ^~~~~~~~~~~~~ [ 117s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_user_settings_db.o [ 117s] CC drivers/input/evdev.o [ 117s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_kernel_utilization.o [ 117s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_control_timer.o [ 117s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_l2_cache.o [ 117s] LD drivers/hid/hid-logitech.o [ 117s] CC drivers/hid/hid-magicmouse.o [ 118s] CC drivers/hid/hid-microsoft.o [ 118s] CC drivers/hid/hid-monterey.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_timeline.o [ 118s] LD drivers/media/radio/sc2331/fm_drv.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_timeline_fence_wait.o [ 118s] LD drivers/media/radio/sc2331/built-in.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_timeline_sync_fence.o [ 118s] LD drivers/media/radio/built-in.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_spinlock_reentrant.o [ 118s] CC drivers/net/Space.o [ 118s] CC drivers/media/sprd_isp/isp_drv.o [ 118s] CC drivers/md/dm-table.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/common/mali_pm_domain.o [ 118s] LD drivers/input/joystick/built-in.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_osk_pm.o [ 118s] CC drivers/input/keyboard/sc_keypad.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_pmu_power_up_down.o [ 118s] CC drivers/hid/hid-multitouch.o [ 118s] CC drivers/gpu/drm/drm_memory.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/platform/sc8830/mali_platform.o [ 118s] LD drivers/i2c/algos/built-in.o [ 118s] CC drivers/hid/hid-ntrig.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_memory_dma_buf.o [ 118s] CC drivers/i2c/busses/i2c-gpio.o [ 118s] CC drivers/hid/hid-ortek.o [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_sync.o [ 118s] drivers/media/sprd_isp/isp_drv.c: In function 'isp_b4awb_switch_buf': [ 118s] drivers/media/sprd_isp/isp_drv.c:239:10: warning: unused variable 'i' [-Wunused-variable] [ 118s] int32_t i = 0; [ 118s] ^ [ 118s] drivers/media/sprd_isp/isp_drv.c: In function 'isp_ioctl': [ 118s] drivers/media/sprd_isp/isp_drv.c:934:7: warning: unused variable 'i' [-Wunused-variable] [ 118s] int i; [ 118s] ^ [ 118s] drivers/media/sprd_isp/isp_drv.c: In function 'isp_wr_addr': [ 118s] drivers/media/sprd_isp/isp_drv.c:1124:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 118s] struct isp_reg_bits *ptr_reg = ptr; [ 118s] ^~~~~~ [ 118s] CC drivers/gpu/arm/mali400/r5p2_rel0/__malidrv_build_info.o [ 118s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 118s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 118s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 118s] [ 118s] In file included from include/soc/sprd/hardware.h:34:0, [ 118s] from drivers/input/keyboard/sc_keypad.c:39: [ 118s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 118s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 118s] [ 118s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 118s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 118s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 118s] [ 118s] In file included from include/soc/sprd/hardware.h:34:0, [ 118s] from drivers/input/keyboard/sc_keypad.c:39: [ 118s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 118s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 118s] [ 118s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 118s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 118s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 118s] [ 118s] In file included from include/soc/sprd/hardware.h:34:0, [ 118s] from drivers/input/keyboard/sc_keypad.c:39: [ 118s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 118s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 118s] [ 118s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 118s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 118s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 118s] [ 118s] In file included from include/soc/sprd/hardware.h:34:0, [ 118s] from drivers/input/keyboard/sc_keypad.c:39: [ 118s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 118s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 118s] [ 118s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 118s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 118s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 118s] ^~~~~~~~~~~~ [ 118s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 118s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 118s] ^~~~~~~~~~~~ [ 118s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 118s] #define SCI_ADDR(x, y) \ [ 118s] [ 118s] In file included from include/soc/sprd/hardware.h:34:0, [ 118s] from drivers/input/keyboard/sc_keypad.c:39: [ 118s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 118s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 118s] [ 119s] drivers/input/keyboard/sc_keypad.c: In function 'key_show': [ 119s] drivers/input/keyboard/sc_keypad.c:109:34: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_KEY_STATUS (KPD_REG_BASE + 0x2C) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:218:29: note: in expansion of macro 'KPD_KEY_STATUS' [ 119s] keys_pressed = __raw_readl(KPD_KEY_STATUS); [ 119s] ^~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c: In function 'store_reset_enable': [ 119s] drivers/input/keyboard/sc_keypad.c:242:26: warning: passing argument 3 of 'kstrtoul' from incompatible pointer type [-Wincompatible-pointer-types] [ 119s] ret = kstrtoul(buf, 10, &value); [ 119s] ^ [ 119s] In file included from drivers/input/keyboard/sc_keypad.c:14:0: [ 119s] include/linux/kernel.h:242:32: note: expected 'long unsigned int *' but argument is of type 'int *' [ 119s] static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) [ 119s] ^~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_isr': [ 119s] drivers/input/keyboard/sc_keypad.c:78:34: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_INT_MASK_STATUS (KPD_REG_BASE + 0x0C) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:344:41: note: in expansion of macro 'KPD_INT_MASK_STATUS' [ 119s] unsigned long int_status = __raw_readl(KPD_INT_MASK_STATUS); [ 119s] ^~~~~~~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:109:34: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_KEY_STATUS (KPD_REG_BASE + 0x2C) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:345:41: note: in expansion of macro 'KPD_KEY_STATUS' [ 119s] unsigned long key_status = __raw_readl(KPD_KEY_STATUS); [ 119s] ^~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:95:34: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_INT_CLR (KPD_REG_BASE + 0x10) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:350:22: note: in expansion of macro 'KPD_INT_CLR' [ 119s] value = __raw_readl(KPD_INT_CLR); [ 119s] ^~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:95:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_INT_CLR (KPD_REG_BASE + 0x10) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:352:22: note: in expansion of macro 'KPD_INT_CLR' [ 119s] __raw_writel(value, KPD_INT_CLR); [ 119s] ^~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_parse_dt': [ 119s] drivers/input/keyboard/sc_keypad.c:557:9: warning: return from incompatible pointer type [-Wincompatible-pointer-types] [ 119s] return pdata; [ 119s] ^~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_probe': [ 119s] drivers/input/keyboard/sc_keypad.c:650:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 119s] pdata = sci_keypad_parse_dt(&pdev->dev); [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:95:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_INT_CLR (KPD_REG_BASE + 0x10) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:682:28: note: in expansion of macro 'KPD_INT_CLR' [ 119s] __raw_writel(KPD_INT_ALL, KPD_INT_CLR); [ 119s] ^~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:96:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_POLARITY (KPD_REG_BASE + 0x18) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:683:52: note: in expansion of macro 'KPD_POLARITY' [ 119s] __raw_writel(CFG_ROW_POLARITY | CFG_COL_POLARITY, KPD_POLARITY); [ 119s] ^~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:107:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_CLK_DIV_CNT (KPD_REG_BASE + 0x28) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:684:18: note: in expansion of macro 'KPD_CLK_DIV_CNT' [ 119s] __raw_writel(1, KPD_CLK_DIV_CNT); [ 119s] ^~~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:103:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_LONG_KEY_CNT (KPD_REG_BASE + 0x20) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:685:20: note: in expansion of macro 'KPD_LONG_KEY_CNT' [ 119s] __raw_writel(0xc, KPD_LONG_KEY_CNT); [ 119s] ^~~~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:102:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_DEBOUNCE_CNT (KPD_REG_BASE + 0x1C) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:686:20: note: in expansion of macro 'KPD_DEBOUNCE_CNT' [ 119s] __raw_writel(0x5, KPD_DEBOUNCE_CNT); [ 119s] ^~~~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:76:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_INT_EN (KPD_REG_BASE + 0x04) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:737:22: note: in expansion of macro 'KPD_INT_EN' [ 119s] __raw_writel(value, KPD_INT_EN); [ 119s] ^~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:105:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_SLEEP_CNT (KPD_REG_BASE + 0x24) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:739:22: note: in expansion of macro 'KPD_SLEEP_CNT' [ 119s] __raw_writel(value, KPD_SLEEP_CNT); [ 119s] ^~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:63:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_CTRL (KPD_REG_BASE + 0x00) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:766:22: note: in expansion of macro 'KPD_CTRL' [ 119s] __raw_writel(value, KPD_CTRL); [ 119s] ^~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:647:22: warning: unused variable 'np' [-Wunused-variable] [ 119s] struct device_node *np = pdev->dev.of_node; [ 119s] ^~ [ 119s] drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_remove': [ 119s] drivers/input/keyboard/sc_keypad.c:95:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_INT_CLR (KPD_REG_BASE + 0x10) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:813:28: note: in expansion of macro 'KPD_INT_CLR' [ 119s] __raw_writel(KPD_INT_ALL, KPD_INT_CLR); [ 119s] ^~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:63:34: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_CTRL (KPD_REG_BASE + 0x00) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:814:22: note: in expansion of macro 'KPD_CTRL' [ 119s] value = __raw_readl(KPD_CTRL); [ 119s] ^~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:63:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_CTRL (KPD_REG_BASE + 0x00) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:816:22: note: in expansion of macro 'KPD_CTRL' [ 119s] __raw_writel(value, KPD_CTRL); [ 119s] ^~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_resume': [ 119s] drivers/input/keyboard/sc_keypad.c:95:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_INT_CLR (KPD_REG_BASE + 0x10) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:844:28: note: in expansion of macro 'KPD_INT_CLR' [ 119s] __raw_writel(KPD_INT_ALL, KPD_INT_CLR); [ 119s] ^~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:96:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_POLARITY (KPD_REG_BASE + 0x18) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:845:52: note: in expansion of macro 'KPD_POLARITY' [ 119s] __raw_writel(CFG_ROW_POLARITY | CFG_COL_POLARITY, KPD_POLARITY); [ 119s] ^~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:107:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_CLK_DIV_CNT (KPD_REG_BASE + 0x28) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:846:18: note: in expansion of macro 'KPD_CLK_DIV_CNT' [ 119s] __raw_writel(1, KPD_CLK_DIV_CNT); [ 119s] ^~~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:103:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_LONG_KEY_CNT (KPD_REG_BASE + 0x20) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:847:20: note: in expansion of macro 'KPD_LONG_KEY_CNT' [ 119s] __raw_writel(0xc, KPD_LONG_KEY_CNT); [ 119s] ^~~~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:102:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_DEBOUNCE_CNT (KPD_REG_BASE + 0x1C) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:848:20: note: in expansion of macro 'KPD_DEBOUNCE_CNT' [ 119s] __raw_writel(0x5, KPD_DEBOUNCE_CNT); [ 119s] ^~~~~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:76:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_INT_EN (KPD_REG_BASE + 0x04) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:853:22: note: in expansion of macro 'KPD_INT_EN' [ 119s] __raw_writel(value, KPD_INT_EN); [ 119s] ^~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:105:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_SLEEP_CNT (KPD_REG_BASE + 0x24) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:855:22: note: in expansion of macro 'KPD_SLEEP_CNT' [ 119s] __raw_writel(value, KPD_SLEEP_CNT); [ 119s] ^~~~~~~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] drivers/input/keyboard/sc_keypad.c:63:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 119s] #define KPD_CTRL (KPD_REG_BASE + 0x00) [ 119s] ^ [ 119s] drivers/input/keyboard/sc_keypad.c:862:22: note: in expansion of macro 'KPD_CTRL' [ 119s] __raw_writel(value, KPD_CTRL); [ 119s] ^~~~~~~~ [ 119s] In file included from include/linux/io.h:22:0, [ 119s] from drivers/input/keyboard/sc_keypad.c:15: [ 119s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 119s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 119s] ^~~~~~~~~~~~ [ 119s] CC drivers/i2c/busses/i2c-sprd.o [ 119s] CC drivers/hid/hid-prodikeys.o [ 119s] CC drivers/input/misc/gpio_event.o [ 119s] CC drivers/input/misc/gpio_matrix.o [ 119s] drivers/hid/hid-ntrig.c:1026:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 119s] .input_configured = ntrig_input_configured, [ 119s] ^~~~~~~~~~~~~~~~~~~~~~ [ 119s] drivers/hid/hid-ntrig.c:1026:22: note: (near initialization for 'ntrig_driver.input_configured') [ 119s] CC drivers/input/touchscreen/imagis_30xxc/ist30xxc.o [ 119s] In file included from drivers/gpu/arm/mali400/r5p2_rel0/platform/sc8830/mali_platform.c:45:0: [ 119s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 119s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 119s] ^~~~~~~~~~~~ [ 119s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 119s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 119s] ^~~~~~~~~~~~ [ 119s] CC drivers/input/touchscreen/imagis_30xxc/ist30xxc_misc.o [ 119s] LD drivers/input/input-core.o [ 119s] In file included from drivers/i2c/busses/i2c-sprd.c:34:0: [ 119s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 119s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 119s] ^~~~~~~~~~~~ [ 119s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 119s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 119s] ^~~~~~~~~~~~ [ 119s] CC drivers/input/touchscreen/imagis_30xxc/ist30xxc_sys.o [ 119s] CC drivers/net/loopback.o [ 119s] CC drivers/power/power_supply_sysfs.o [ 119s] CC drivers/media/sprd_dcam/common/dcam_img.o [ 119s] CC drivers/hid/hid-pl.o [ 119s] CC drivers/gpu/drm/drm_proc.o [ 119s] CC drivers/hid/hid-petalynx.o [ 119s] CC drivers/input/misc/gpio_input.o [ 119s] LD drivers/hid/hid-picolcd.o [ 119s] CC drivers/hid/hid-roccat.o [ 119s] LD drivers/leds/built-in.o [ 119s] LD drivers/pwm/built-in.o [ 119s] CC drivers/hid/hid-roccat-common.o [ 119s] CC drivers/regulator/core.o [ 119s] CC drivers/hid/hid-roccat-arvo.o [ 119s] CC drivers/mmc/card/sdio_card.o [ 119s] CC drivers/platform/sprd/adc.o [ 120s] CC drivers/hid/hid-roccat-isku.o [ 120s] CC drivers/of/address.o [ 120s] CC drivers/of/irq.o [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:63:5: warning: "CONFIG_SC_FPGA" is not defined, evaluates to 0 [-Wundef] [ 120s] #if CONFIG_SC_FPGA [ 120s] ^~~~~~~~~~~~~~ [ 120s] CC drivers/hid/hid-roccat-kone.o [ 120s] CC drivers/hid/hid-roccat-koneplus.o [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_tx_done': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1243:27: warning: unused variable 'buf_addr' [-Wunused-variable] [ 120s] struct dcam_img_buf_addr buf_addr; [ 120s] ^~~~~~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1242:27: warning: unused variable 'fmr_index' [-Wunused-variable] [ 120s] uint32_t fmr_index; [ 120s] ^~~~~~~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_tx_error': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1321:27: warning: unused variable 'buf_addr' [-Wunused-variable] [ 120s] struct dcam_img_buf_addr buf_addr; [ 120s] ^~~~~~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1319:28: warning: unused variable 'path' [-Wunused-variable] [ 120s] struct dcam_path_spec *path; [ 120s] ^~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_no_mem': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1366:27: warning: unused variable 'buf_addr' [-Wunused-variable] [ 120s] struct dcam_img_buf_addr buf_addr; [ 120s] ^~~~~~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1364:28: warning: unused variable 'path' [-Wunused-variable] [ 120s] struct dcam_path_spec *path; [ 120s] ^~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_path0_cfg': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1473:34: warning: unused variable 'i' [-Wunused-variable] [ 120s] uint32_t param, i; [ 120s] ^ [ 120s] CC drivers/input/misc/gpio_output.o [ 120s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 120s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 120s] [ 120s] In file included from include/soc/sprd/hardware.h:34:0, [ 120s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 120s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 120s] [ 120s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 120s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 120s] [ 120s] In file included from include/soc/sprd/hardware.h:34:0, [ 120s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 120s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 120s] [ 120s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 120s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 120s] [ 120s] In file included from include/soc/sprd/hardware.h:34:0, [ 120s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 120s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 120s] [ 120s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 120s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 120s] [ 120s] In file included from include/soc/sprd/hardware.h:34:0, [ 120s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 120s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 120s] [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_path_cfg': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1526:34: warning: unused variable 'i' [-Wunused-variable] [ 120s] uint32_t param, i; [ 120s] ^ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_local_clear_path_buffer': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1624:42: warning: unused variable 'ret' [-Wunused-variable] [ 120s] int ret = 0; [ 120s] ^~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_queue_write': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1702:32: warning: unused variable 'lock_flag' [-Wunused-variable] [ 120s] unsigned long lock_flag; [ 120s] ^~~~~~~~~ [ 120s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 120s] #define SCI_ADDR(x, y) \ [ 120s] [ 120s] In file included from include/soc/sprd/hardware.h:34:0, [ 120s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 120s] from drivers/misc/mdbg/mdbg_type.h:27, [ 120s] from drivers/misc/mdbg/mdbg_sdio.h:15, [ 120s] from drivers/misc/mdbg/mdbg_sdio.c:12: [ 120s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 120s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 120s] [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_queue_enable': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:1777:31: warning: unused variable 'cur_node' [-Wunused-variable] [ 120s] struct dcam_node *cur_node; [ 120s] ^~~~~~~~ [ 120s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_cfg_param.o [ 120s] In file included from drivers/platform/sprd/adc.c:28:0: [ 120s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 120s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 120s] ^~~~~~~~~~~~ [ 120s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 120s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 120s] ^~~~~~~~~~~~ [ 120s] In file included from include/linux/kernel.h:13:0, [ 120s] from include/linux/cache.h:4, [ 120s] from include/linux/time.h:4, [ 120s] from include/linux/stat.h:18, [ 120s] from include/linux/module.h:10, [ 120s] from drivers/media/sprd_dcam/common/dcam_img.c:13: [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_read': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3382:13: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] [ 120s] DCAM_TRACE("SPRD_IMG: sprd_img_read %ld, dev %p \n", cnt, dev); [ 120s] ^ [ 120s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 120s] #define pr_fmt(fmt) fmt [ 120s] ^~~ [ 120s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 120s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 120s] ^~~~~~~~~~~~~~~~ [ 120s] drivers/media/sprd_dcam/tshark/dcam_drv.h:26:33: note: in expansion of macro 'pr_debug' [ 120s] #define DCAM_TRACE pr_debug [ 120s] ^~~~~~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3382:2: note: in expansion of macro 'DCAM_TRACE' [ 120s] DCAM_TRACE("SPRD_IMG: sprd_img_read %ld, dev %p \n", cnt, dev); [ 120s] ^~~~~~~~~~ [ 120s] In file included from drivers/media/sprd_dcam/common/dcam_img.c:42:0: [ 120s] drivers/media/sprd_dcam/tshark/dcam_drv.h:29:35: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] [ 120s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 120s] ^ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3388:3: note: in expansion of macro 'printk' [ 120s] printk("sprd_img_read: error, cnt %ld read_op %ld \n", cnt, sizeof(struct sprd_img_read_op)); [ 120s] ^~~~~~ [ 120s] drivers/media/sprd_dcam/tshark/dcam_drv.h:29:35: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] [ 120s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 120s] ^ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3388:3: note: in expansion of macro 'printk' [ 120s] printk("sprd_img_read: error, cnt %ld read_op %ld \n", cnt, sizeof(struct sprd_img_read_op)); [ 120s] ^~~~~~ [ 120s] In file included from include/linux/kernel.h:13:0, [ 120s] from include/linux/cache.h:4, [ 120s] from include/linux/time.h:4, [ 120s] from include/linux/stat.h:18, [ 120s] from include/linux/module.h:10, [ 120s] from drivers/media/sprd_dcam/common/dcam_img.c:13: [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3448:15: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct dcam_node' [-Wformat=] [ 120s] DCAM_TRACE("SPRD_IMG: node, 0x%x %d %d \n", node, node.index, path->frm_id_base); [ 120s] ^ [ 120s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 120s] #define pr_fmt(fmt) fmt [ 120s] ^~~ [ 120s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 120s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 120s] ^~~~~~~~~~~~~~~~ [ 120s] drivers/media/sprd_dcam/tshark/dcam_drv.h:26:33: note: in expansion of macro 'pr_debug' [ 120s] #define DCAM_TRACE pr_debug [ 120s] ^~~~~~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3448:4: note: in expansion of macro 'DCAM_TRACE' [ 120s] DCAM_TRACE("SPRD_IMG: node, 0x%x %d %d \n", node, node.index, path->frm_id_base); [ 120s] ^~~~~~~~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c: In function 'sprd_img_write': [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3520:13: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] [ 120s] DCAM_TRACE("SPRD_IMG: sprd_img_write %ld, dev %p \n", cnt, dev); [ 120s] ^ [ 120s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 120s] #define pr_fmt(fmt) fmt [ 120s] ^~~ [ 120s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 120s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 120s] ^~~~~~~~~~~~~~~~ [ 120s] drivers/media/sprd_dcam/tshark/dcam_drv.h:26:33: note: in expansion of macro 'pr_debug' [ 120s] #define DCAM_TRACE pr_debug [ 120s] ^~~~~~~~ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3520:2: note: in expansion of macro 'DCAM_TRACE' [ 120s] DCAM_TRACE("SPRD_IMG: sprd_img_write %ld, dev %p \n", cnt, dev); [ 120s] ^~~~~~~~~~ [ 120s] In file included from drivers/media/sprd_dcam/common/dcam_img.c:42:0: [ 120s] drivers/media/sprd_dcam/tshark/dcam_drv.h:29:35: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] [ 120s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 120s] ^ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3526:3: note: in expansion of macro 'printk' [ 120s] printk("sprd_img_write: error, cnt %ld read_op %ld \n", cnt, sizeof(struct sprd_img_write_op)); [ 120s] ^~~~~~ [ 120s] drivers/media/sprd_dcam/tshark/dcam_drv.h:29:35: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] [ 120s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 120s] ^ [ 120s] drivers/media/sprd_dcam/common/dcam_img.c:3526:3: note: in expansion of macro 'printk' [ 120s] printk("sprd_img_write: error, cnt %ld read_op %ld \n", cnt, sizeof(struct sprd_img_write_op)); [ 120s] ^~~~~~ [ 120s] In file included from drivers/platform/sprd/adc.c:29:0: [ 120s] include/soc/sprd/arch_lock.h:169:13: warning: '__arch_default_unlock' defined but not used [-Wunused-function] [ 120s] static void __arch_default_unlock(unsigned int lock_id, unsigned long *flags) [ 120s] ^~~~~~~~~~~~~~~~~~~~~ [ 120s] include/soc/sprd/arch_lock.h:156:13: warning: '__arch_default_lock' defined but not used [-Wunused-function] [ 120s] static void __arch_default_lock(unsigned int lock_id, unsigned long *flags) [ 120s] ^~~~~~~~~~~~~~~~~~~ [ 120s] CC drivers/power/suspend_wakeup_test.o [ 120s] CC drivers/hid/hid-roccat-konepure.o [ 120s] CC drivers/input/touchscreen/imagis_30xxc/ist30xxc_update.o [ 120s] CC drivers/input/misc/gpio_axis.o [ 120s] drivers/regulator/core.c:4019:19: warning: 'regulator_init_complete' defined but not used [-Wunused-function] [ 120s] static int __init regulator_init_complete(void) [ 120s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 120s] CC drivers/gpu/drm/drm_stub.o [ 120s] LD drivers/gpu/arm/mali400/r5p2_rel0/mali.o [ 120s] LD drivers/mmc/card/mmc_block.o [ 120s] LD drivers/mmc/card/built-in.o [ 120s] CC drivers/mmc/core/core-sprd.o [ 120s] LD drivers/gpu/arm/mali400/r5p2_rel0/built-in.o [ 120s] LD drivers/gpu/arm/mali400/built-in.o [ 120s] CC drivers/input/touchscreen/imagis_30xxc/ist30xxc_tracking.o [ 120s] LD drivers/net/ethernet/8390/built-in.o [ 120s] CC drivers/input/misc/ff-haptic.o [ 120s] LD drivers/gpu/arm/built-in.o [ 120s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_capability.o [ 120s] LD drivers/net/ethernet/broadcom/built-in.o [ 120s] CC drivers/hid/hid-roccat-kovaplus.o [ 120s] CC drivers/hid/hid-roccat-lua.o [ 121s] CC drivers/gpu/sprd_iommu/sprd_iommu_sysfs.o [ 121s] CC drivers/misc/mdbg/mdbg.o [ 121s] LD drivers/net/ethernet/cadence/built-in.o [ 121s] LD drivers/net/ethernet/cirrus/built-in.o [ 121s] LD drivers/net/ethernet/faraday/built-in.o [ 121s] In file included from drivers/input/misc/ff-haptic.c:32:0: [ 121s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 121s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/misc/ff-haptic.c:25: [ 121s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 121s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 121s] [ 121s] In file included from drivers/input/misc/ff-haptic.c:32:0: [ 121s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 121s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/misc/ff-haptic.c:25: [ 121s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 121s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 121s] [ 121s] In file included from drivers/input/misc/ff-haptic.c:32:0: [ 121s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 121s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/misc/ff-haptic.c:25: [ 121s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 121s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 121s] [ 121s] In file included from drivers/input/misc/ff-haptic.c:32:0: [ 121s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 121s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/misc/ff-haptic.c:25: [ 121s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 121s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 121s] [ 121s] In file included from drivers/input/misc/ff-haptic.c:32:0: [ 121s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 121s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 121s] ^~~~~~~~~~~~ [ 121s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 121s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 121s] ^~~~~~~~~~~~ [ 121s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 121s] #define SCI_ADDR(x, y) \ [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/misc/ff-haptic.c:25: [ 121s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 121s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 121s] [ 121s] LD drivers/net/ethernet/i825xx/built-in.o [ 121s] CC drivers/power/sleep_monitor.o [ 121s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 121s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 121s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/keyboard/sc_keypad.c:39: [ 121s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 121s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 121s] [ 121s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 121s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 121s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/keyboard/sc_keypad.c:39: [ 121s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 121s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 121s] [ 121s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 121s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 121s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/keyboard/sc_keypad.c:39: [ 121s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 121s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 121s] [ 121s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 121s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 121s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/keyboard/sc_keypad.c:39: [ 121s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 121s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 121s] [ 121s] In file included from drivers/input/keyboard/sc_keypad.c:45:0: [ 121s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 121s] #define SCI_ADDR(x, y) \ [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/input/keyboard/sc_keypad.c:39: [ 121s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 121s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 121s] [ 121s] LD drivers/net/ethernet/intel/built-in.o [ 121s] CC drivers/input/misc/uinput.o [ 121s] CC drivers/hid/hid-roccat-pyra.o [ 121s] LD drivers/net/ethernet/marvell/built-in.o [ 121s] CC drivers/hid/hid-roccat-savu.o [ 121s] LD drivers/net/ethernet/micrel/built-in.o [ 121s] LD drivers/net/ethernet/microchip/built-in.o [ 121s] drivers/gpu/sprd_iommu/sprd_iommu_sysfs.c: In function 'iova_dump_chunk_bitmap': [ 121s] drivers/gpu/sprd_iommu/sprd_iommu_sysfs.c:26:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'phys_addr_t {aka unsigned int}' [-Wformat=] [ 121s] seq_printf(s,"chunk phys_addr:0x%lx start_addr:0x%lx end_addr:0x%lx\n", [ 121s] ^ [ 121s] LD drivers/net/ethernet/natsemi/built-in.o [ 121s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 121s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 121s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 121s] [ 121s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 121s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 121s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 121s] [ 121s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 121s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 121s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 121s] [ 121s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 121s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 121s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 121s] [ 121s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 121s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 121s] ^~~~~~~~~~~~ [ 121s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 121s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 121s] ^~~~~~~~~~~~ [ 121s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 121s] #define SCI_ADDR(x, y) \ [ 121s] [ 121s] In file included from include/soc/sprd/hardware.h:34:0, [ 121s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 121s] from drivers/misc/mdbg/mdbg_type.h:27, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 121s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 121s] [ 121s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_isr.o [ 121s] LD drivers/net/ethernet/seeq/built-in.o [ 121s] CC drivers/hid/hid-samsung.o [ 121s] CC drivers/input/touchscreen/imagis_30xxc/ist30xxc_sec.o [ 121s] In file included from include/linux/printk.h:6:0, [ 121s] from include/linux/kernel.h:13, [ 121s] from include/asm-generic/bug.h:13, [ 121s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bug.h:61, [ 121s] from include/linux/bug.h:4, [ 121s] from include/linux/thread_info.h:11, [ 121s] from include/linux/preempt.h:9, [ 121s] from include/linux/spinlock.h:50, [ 121s] from include/linux/wait.h:7, [ 121s] from include/linux/fs.h:6, [ 121s] from drivers/misc/mdbg/mdbg_type.h:12, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] drivers/misc/mdbg/mdbg.c: In function 'mdbg_assert_read': [ 121s] include/linux/kern_levels.h:4:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] [ 121s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 121s] ^ [ 121s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 121s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 121s] ^~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c:70:9: note: in expansion of macro 'KERN_INFO' [ 121s] printk(KERN_INFO "mdbg_assert_read:%s\n",mdbg_proc->assert.buf); [ 121s] ^~~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c: In function 'mdbg_wdtirq_read': [ 121s] include/linux/kern_levels.h:4:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] [ 121s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 121s] ^ [ 121s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 121s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 121s] ^~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c:91:9: note: in expansion of macro 'KERN_INFO' [ 121s] printk(KERN_INFO "mdbg_wdtirq_read:%s\n",mdbg_proc->wdtirq.buf); [ 121s] ^~~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c: In function 'mdbg_loopcheck_read': [ 121s] include/linux/kern_levels.h:4:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] [ 121s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 121s] ^ [ 121s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 121s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 121s] ^~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c:113:9: note: in expansion of macro 'KERN_INFO' [ 121s] printk(KERN_INFO "mdbg_loopcheck_read:%s\n",mdbg_proc->loopcheck.buf); [ 121s] ^~~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c: In function 'mdbg_at_cmd_read': [ 121s] include/linux/kern_levels.h:4:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] [ 121s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 121s] ^ [ 121s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 121s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 121s] ^~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c:136:9: note: in expansion of macro 'KERN_INFO' [ 121s] printk(KERN_INFO "mdbg_at_cmd_read:%s\n",mdbg_proc->at_cmd.buf); [ 121s] ^~~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c: In function 'mdbg_proc_open': [ 121s] drivers/misc/mdbg/mdbg.c:146:8: warning: unused variable 'type' [-Wunused-variable] [ 121s] char *type = entry->name; [ 121s] ^~~~ [ 121s] drivers/misc/mdbg/mdbg.c: In function 'mdbg_proc_release': [ 121s] drivers/misc/mdbg/mdbg.c:157:8: warning: unused variable 'type' [-Wunused-variable] [ 121s] char *type = entry->name; [ 121s] ^~~~ [ 121s] drivers/misc/mdbg/mdbg.c: In function 'mdbg_read': [ 121s] drivers/misc/mdbg/mdbg.c:429:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 121s] int timeout = -1; [ 121s] ^~~ [ 121s] In file included from include/linux/kernel.h:13:0, [ 121s] from include/asm-generic/bug.h:13, [ 121s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bug.h:61, [ 121s] from include/linux/bug.h:4, [ 121s] from include/linux/thread_info.h:11, [ 121s] from include/linux/preempt.h:9, [ 121s] from include/linux/spinlock.h:50, [ 121s] from include/linux/wait.h:7, [ 121s] from include/linux/fs.h:6, [ 121s] from drivers/misc/mdbg/mdbg_type.h:12, [ 121s] from drivers/misc/mdbg/mdbg.h:13, [ 121s] from drivers/misc/mdbg/mdbg.c:9: [ 121s] include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'MDBG_SIZE_T {aka long int}' [-Wformat=] [ 121s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 121s] ^ [ 121s] include/linux/printk.h:318:10: note: in definition of macro 'printk_ratelimited' [ 121s] printk(fmt, ##__VA_ARGS__); \ [ 121s] ^~~ [ 121s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 121s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 121s] ^~~~~~~~ [ 121s] drivers/misc/mdbg/mdbg.c:458:21: note: in expansion of macro 'KERN_INFO' [ 121s] printk_ratelimited(KERN_INFO "%s read_size: %d mdbg_read_count:%d\n",__func__,read_size,mdbg_read_count); [ 121s] ^~~~~~~~~ [ 121s] CC drivers/net/ethernet/smsc/smc91x.o [ 121s] CC drivers/input/misc/headset_sprd_sc2723.o [ 121s] CC drivers/gpu/drm/drm_vm.o [ 121s] CC drivers/input/keyboard/sprd_eic_keys.o [ 121s] CC drivers/hid/hid-sjoy.o [ 121s] CC drivers/gpu/sprd_iommu/sprd_iommu_drv.o [ 121s] CC drivers/gpu/drm/drm_agpsupport.o [ 122s] CC drivers/input/touchscreen/imagis_30xxc/ist30xxc_cmcs.o [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 122s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 122s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 122s] [ 122s] In file included from include/soc/sprd/hardware.h:34:0, [ 122s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 122s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 122s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 122s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 122s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 122s] [ 122s] In file included from include/soc/sprd/hardware.h:34:0, [ 122s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 122s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 122s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 122s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 122s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 122s] [ 122s] In file included from include/soc/sprd/hardware.h:34:0, [ 122s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 122s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 122s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 122s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 122s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 122s] [ 122s] In file included from include/soc/sprd/hardware.h:34:0, [ 122s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 122s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 122s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 122s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 122s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 122s] ^~~~~~~~~~~~ [ 122s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 122s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 122s] ^~~~~~~~~~~~ [ 122s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 122s] #define SCI_ADDR(x, y) \ [ 122s] [ 122s] In file included from include/soc/sprd/hardware.h:34:0, [ 122s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 122s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 122s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 122s] [ 122s] CC drivers/hid/hid-sony.o [ 122s] drivers/input/misc/headset_sprd_sc2723.c:114:0: warning: "ANA_PMU0" redefined [ 122s] #define ANA_PMU0 (0x0000) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:548:0: note: this is the location of the previous definition [ 122s] #define ANA_PMU0 (SPRD_CODEC_AP_BASE + 0x0000) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:115:0: warning: "ANA_CDC1" redefined [ 122s] #define ANA_CDC1 (0x0020) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:556:0: note: this is the location of the previous definition [ 122s] #define ANA_CDC1 (SPRD_CODEC_AP_BASE + 0x0020) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:116:0: warning: "ANA_CDC3" redefined [ 122s] #define ANA_CDC3 (0x0028) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:558:0: note: this is the location of the previous definition [ 122s] #define ANA_CDC3 (SPRD_CODEC_AP_BASE + 0x0028) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:117:0: warning: "ANA_HDT0" redefined [ 122s] #define ANA_HDT0 (0x0068) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:574:0: note: this is the location of the previous definition [ 122s] #define ANA_HDT0 (SPRD_CODEC_AP_BASE + 0x0068) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:118:0: warning: "ANA_HDT2" redefined [ 122s] #define ANA_HDT2 (0x0070) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:576:0: note: this is the location of the previous definition [ 122s] #define ANA_HDT2 (SPRD_CODEC_AP_BASE + 0x0070) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:119:0: warning: "ANA_HDT1" redefined [ 122s] #define ANA_HDT1 (0x006C) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:575:0: note: this is the location of the previous definition [ 122s] #define ANA_HDT1 (SPRD_CODEC_AP_BASE + 0x006C) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:120:0: warning: "ANA_STS0" redefined [ 122s] #define ANA_STS0 (0x0074) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:577:0: note: this is the location of the previous definition [ 122s] #define ANA_STS0 (SPRD_CODEC_AP_BASE + 0x0074) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:121:0: warning: "DIG_STS0" redefined [ 122s] #define DIG_STS0 (0x00A0) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:588:0: note: this is the location of the previous definition [ 122s] #define DIG_STS0 (SPRD_CODEC_AP_BASE + 0x00A0) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:122:0: warning: "DIG_STS1" redefined [ 122s] #define DIG_STS1 (0x00A4) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:589:0: note: this is the location of the previous definition [ 122s] #define DIG_STS1 (SPRD_CODEC_AP_BASE + 0x00A4) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:123:0: warning: "DIG_CFG3" redefined [ 122s] #define DIG_CFG3 (0x0098) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:586:0: note: this is the location of the previous definition [ 122s] #define DIG_CFG3 (SPRD_CODEC_AP_BASE + 0x0098) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:124:0: warning: "DIG_CFG4" redefined [ 122s] #define DIG_CFG4 (0x009C) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:587:0: note: this is the location of the previous definition [ 122s] #define DIG_CFG4 (SPRD_CODEC_AP_BASE + 0x009C) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:169:0: warning: "ANA_PMU1" redefined [ 122s] #define ANA_PMU1 (0x0004) [ 122s] [ 122s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 122s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:549:0: note: this is the location of the previous definition [ 122s] #define ANA_PMU1 (SPRD_CODEC_AP_BASE + 0x0004) [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c: In function 'headset_impd_int': [ 122s] drivers/input/misc/headset_sprd_sc2723.c:397:1: warning: no return statement in function returning non-void [-Wreturn-type] [ 122s] } [ 122s] ^ [ 122s] drivers/input/misc/headset_sprd_sc2723.c: In function '__sprd_codec_impd_mcu_test': [ 122s] drivers/input/misc/headset_sprd_sc2723.c:488:3: warning: "/*" within comment [-Wcomment] [ 122s] /*for avoidig overflow*//* [ 122s] [ 122s] drivers/input/misc/headset_sprd_sc2723.c:404:11: warning: unused variable 'test_cnt' [-Wunused-variable] [ 122s] uint32_t test_cnt; [ 122s] ^~~~~~~~ [ 122s] drivers/input/misc/headset_sprd_sc2723.c:401:6: warning: unused variable 'i' [-Wunused-variable] [ 122s] int i; [ 122s] ^ [ 122s] drivers/input/misc/headset_sprd_sc2723.c: In function 'headset_detect_work_func': [ 122s] drivers/input/misc/headset_sprd_sc2723.c:1300:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 122s] int i=0; [ 122s] ^~~ [ 122s] drivers/input/misc/headset_sprd_sc2723.c:1300:7: warning: unused variable 'i' [-Wunused-variable] [ 122s] int i=0; [ 122s] ^ [ 122s] CC drivers/hid/hid-sunplus.o [ 122s] drivers/input/misc/headset_sprd_sc2723.c: In function 'headset_detect_probe': [ 122s] drivers/input/misc/headset_sprd_sc2723.c:1896:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 122s] struct sprd_headset_platform_data *pdata = pdev->dev.platform_data; [ 122s] ^~~~~~ [ 122s] drivers/input/keyboard/sprd_eic_keys.c: In function 'sprd_eic_keys_get_devtree_pdata': [ 122s] drivers/input/keyboard/sprd_eic_keys.c:229:52: warning: passing argument 3 of 'of_property_read_string' from incompatible pointer type [-Wincompatible-pointer-types] [ 122s] ret = of_property_read_string(node, "input-name", &input_name); [ 122s] ^ [ 122s] In file included from include/asm-generic/gpio.h:7:0, [ 122s] from arch/arm/mach-sc/include/mach/gpio.h:63, [ 122s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/gpio.h:10, [ 122s] from include/linux/gpio.h:45, [ 122s] from drivers/input/keyboard/sprd_eic_keys.c:30: [ 122s] include/linux/of.h:252:12: note: expected 'const char **' but argument is of type 'char **' [ 122s] extern int of_property_read_string(struct device_node *np, [ 122s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 122s] drivers/input/misc/headset_sprd_sc2723.c: In function 'adc_get_ideal': [ 122s] drivers/input/misc/headset_sprd_sc2723.c:2205:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 122s] u32 a = adc_cal_headset.A; [ 122s] ^~~ [ 122s] drivers/input/keyboard/sprd_eic_keys.c: In function 'sprd_eic_keys_init': [ 122s] drivers/input/keyboard/sprd_eic_keys.c:443:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 122s] struct device_node *node = of_find_compatible_node(NULL, NULL, "sprd,sprd-eic-keys"); [ 122s] ^~~~~~ [ 122s] drivers/input/keyboard/sprd_eic_keys.c:447:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 122s] struct platform_device *dev = of_find_device_by_node(node); [ 122s] ^~~~~~ [ 122s] At top level: [ 122s] drivers/input/keyboard/sprd_eic_keys.c:415:12: warning: 'sprd_eic_keys_resume' defined but not used [-Wunused-function] [ 122s] static int sprd_eic_keys_resume(struct platform_device *dev) [ 122s] ^~~~~~~~~~~~~~~~~~~~ [ 122s] drivers/input/keyboard/sprd_eic_keys.c:410:12: warning: 'sprd_eic_keys_suspend' defined but not used [-Wunused-function] [ 122s] static int sprd_eic_keys_suspend(struct platform_device *dev, pm_message_t state) [ 122s] ^~~~~~~~~~~~~~~~~~~~~ [ 122s] At top level: [ 122s] drivers/input/misc/headset_sprd_sc2723.c:2187:12: warning: 'headset_resume' defined but not used [-Wunused-function] [ 122s] static int headset_resume(struct platform_device *dev) [ 122s] ^~~~~~~~~~~~~~ [ 122s] drivers/input/misc/headset_sprd_sc2723.c:2180:12: warning: 'headset_suspend' defined but not used [-Wunused-function] [ 122s] static int headset_suspend(struct platform_device *dev, pm_message_t state) [ 122s] ^~~~~~~~~~~~~~~ [ 122s] drivers/input/misc/headset_sprd_sc2723.c:1688:20: warning: 'headset_detect_mic_irq_handler' defined but not used [-Wunused-function] [ 122s] static irqreturn_t headset_detect_mic_irq_handler(int irq, void *dev) [ 122s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 122s] drivers/input/misc/headset_sprd_sc2723.c:378:17: warning: 's_ana_int_done' defined but not used [-Wunused-variable] [ 122s] static uint32_t s_ana_int_done=0; [ 122s] ^~~~~~~~~~~~~~ [ 122s] CC drivers/of/device.o [ 122s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_pgg.o [ 122s] drivers/gpu/sprd_iommu/sprd_iommu_drv.c: In function 'sprd_iommu_get_resource': [ 122s] drivers/gpu/sprd_iommu/sprd_iommu_drv.c:262:12: warning: unused variable 'i' [-Wunused-variable] [ 122s] uint32_t i; [ 122s] ^ [ 122s] CC drivers/hid/hid-gaff.o [ 122s] CC drivers/of/platform.o [ 122s] CC drivers/hid/hid-topseed.o [ 122s] CC drivers/hid/hid-tmff.o [ 122s] CC drivers/input/misc/sec-input-bridge.o [ 122s] CC drivers/hid/hid-twinhan.o [ 122s] CC drivers/gpu/drm/drm_scatter.o [ 122s] CC drivers/platform/sprd/glb.o [ 122s] CC drivers/input/keyboard/coreriver/tc350-touchkey.o [ 122s] CC drivers/gpu/drm/drm_pci.o [ 122s] CC drivers/hid/hid-uclogic.o [ 122s] CC drivers/hid/hid-zpff.o [ 122s] LD drivers/i2c/busses/built-in.o [ 122s] CC drivers/hid/hid-wacom.o [ 122s] CC drivers/md/dm-target.o [ 123s] LD drivers/i2c/muxes/built-in.o [ 123s] CC drivers/gpu/sprd_iommu/sprd_iommu_common.o [ 123s] In file included from drivers/platform/sprd/glb.c:23:0: [ 123s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 123s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 123s] ^~~~~~~~~~~~ [ 123s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 123s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 123s] ^~~~~~~~~~~~ [ 123s] LD drivers/i2c/built-in.o [ 123s] CC drivers/input/touchscreen/imagis_30xxc/ist30xxc_cmcs_jit.o [ 123s] CC drivers/hid/hid-waltop.o [ 123s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_blc.o [ 123s] CC drivers/rtc/rtc-lib.o [ 123s] CC drivers/media/sprd_dcam/common/parse_hwinfo.o [ 123s] CC drivers/hid/usbhid/hid-core.o [ 123s] drivers/input/keyboard/coreriver/tc350-touchkey.c: In function 'tc300k_get_sleep_monitor_cb': [ 123s] drivers/input/keyboard/coreriver/tc350-touchkey.c:2024:6: warning: unused variable 'pwr_mode' [-Wunused-variable] [ 123s] int pwr_mode; [ 123s] ^~~~~~~~ [ 123s] LD drivers/hid/hid.o [ 123s] CC drivers/media/sprd_dcam/common/gen_scale_coef.o [ 123s] drivers/gpu/sprd_iommu/sprd_iommu_common.c: In function 'sprd_iommu_reg_init': [ 123s] drivers/gpu/sprd_iommu/sprd_iommu_common.c:85:31: warning: right shift count >= width of type [-Wshift-count-overflow] [ 123s] (u32)(data->re_route_page >> 32), [ 123s] ^~ [ 123s] drivers/gpu/sprd_iommu/sprd_iommu_common.c:97:27: warning: right shift count >= width of type [-Wshift-count-overflow] [ 123s] (u32)(data->iova_base >> 32), [ 123s] ^~ [ 123s] In file included from drivers/media/sprd_dcam/common/parse_hwinfo.c:27:0: [ 123s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 123s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 123s] [ 123s] In file included from include/soc/sprd/hardware.h:34:0, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:20: [ 123s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 123s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 123s] [ 123s] In file included from drivers/media/sprd_dcam/common/parse_hwinfo.c:27:0: [ 123s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 123s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 123s] [ 123s] In file included from include/soc/sprd/hardware.h:34:0, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:20: [ 123s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 123s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 123s] [ 123s] In file included from drivers/media/sprd_dcam/common/parse_hwinfo.c:27:0: [ 123s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 123s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 123s] [ 123s] In file included from include/soc/sprd/hardware.h:34:0, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:20: [ 123s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 123s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 123s] [ 123s] In file included from drivers/media/sprd_dcam/common/parse_hwinfo.c:27:0: [ 123s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 123s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 123s] [ 123s] In file included from include/soc/sprd/hardware.h:34:0, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:20: [ 123s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 123s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 123s] [ 123s] In file included from drivers/media/sprd_dcam/common/parse_hwinfo.c:27:0: [ 123s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 123s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 123s] ^~~~~~~~~~~~ [ 123s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 123s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 123s] ^~~~~~~~~~~~ [ 123s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 123s] #define SCI_ADDR(x, y) \ [ 123s] [ 123s] In file included from include/soc/sprd/hardware.h:34:0, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:20: [ 123s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 123s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 123s] [ 123s] CC drivers/rtc/hctosys.o [ 123s] CC drivers/media/sprd_dcam/common/sin_cos.o [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c: In function 'parse_baseaddress': [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:69:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 123s] dcam_regbase = ioremap_nocache(r.start, resource_size(&r)); [ 123s] ^ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:72:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 123s] isp_regbase = ioremap_nocache(r.start, resource_size(&r)); [ 123s] ^ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:75:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 123s] csi_regbase = ioremap_nocache(r.start, resource_size(&r)); [ 123s] ^ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c: In function 'get_regulator_name': [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:307:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 123s] *name = ldostr; [ 123s] ^ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:317:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 123s] *name = ldostr; [ 123s] ^ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:327:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 123s] *name = ldostr; [ 123s] ^ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:337:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 123s] *name = ldostr; [ 123s] ^ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:348:12: warning: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types] [ 123s] if(strcmp(name, "vddcammot")==0) { [ 123s] ^~~~ [ 123s] In file included from include/linux/bitmap.h:8:0, [ 123s] from include/linux/nodemask.h:95, [ 123s] from include/linux/mmzone.h:16, [ 123s] from include/linux/gfp.h:4, [ 123s] from include/linux/slab.h:12, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:14: [ 123s] include/linux/string.h:38:12: note: expected 'const char *' but argument is of type 'char **' [ 123s] extern int strcmp(const char *,const char *); [ 123s] ^~~~~~ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:350:19: warning: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types] [ 123s] } else if(strcmp(name, "vddcama")==0){ [ 123s] ^~~~ [ 123s] In file included from include/linux/bitmap.h:8:0, [ 123s] from include/linux/nodemask.h:95, [ 123s] from include/linux/mmzone.h:16, [ 123s] from include/linux/gfp.h:4, [ 123s] from include/linux/slab.h:12, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:14: [ 123s] include/linux/string.h:38:12: note: expected 'const char *' but argument is of type 'char **' [ 123s] extern int strcmp(const char *,const char *); [ 123s] ^~~~~~ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:352:19: warning: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types] [ 123s] } else if(strcmp(name, "vddcamd")==0){ [ 123s] ^~~~ [ 123s] In file included from include/linux/bitmap.h:8:0, [ 123s] from include/linux/nodemask.h:95, [ 123s] from include/linux/mmzone.h:16, [ 123s] from include/linux/gfp.h:4, [ 123s] from include/linux/slab.h:12, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:14: [ 123s] include/linux/string.h:38:12: note: expected 'const char *' but argument is of type 'char **' [ 123s] extern int strcmp(const char *,const char *); [ 123s] ^~~~~~ [ 123s] drivers/media/sprd_dcam/common/parse_hwinfo.c:354:19: warning: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types] [ 123s] } else if(strcmp(name, "vddcamio")==0){ [ 123s] ^~~~ [ 123s] In file included from include/linux/bitmap.h:8:0, [ 123s] from include/linux/nodemask.h:95, [ 123s] from include/linux/mmzone.h:16, [ 123s] from include/linux/gfp.h:4, [ 123s] from include/linux/slab.h:12, [ 123s] from drivers/media/sprd_dcam/common/parse_hwinfo.c:14: [ 123s] include/linux/string.h:38:12: note: expected 'const char *' but argument is of type 'char **' [ 123s] extern int strcmp(const char *,const char *); [ 123s] ^~~~~~ [ 123s] CC drivers/rtc/class.o [ 123s] CC drivers/rtc/systohc.o [ 123s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_rgb_gain.o [ 123s] CC drivers/media/sprd_dcam/common/flash_test.o [ 123s] CC drivers/rtc/interface.o [ 123s] CC drivers/gpu/drm/drm_platform.o [ 124s] CC drivers/rtc/rtc-dev.o [ 124s] CC drivers/rtc/rtc-proc.o [ 124s] CC drivers/media/sprd_dcam/flash/flash_sm5701.o [ 124s] CC drivers/rtc/rtc-sysfs.o [ 124s] CC drivers/gpu/drm/drm_sysfs.o [ 124s] CC net/ipv6/anycast.o [ 124s] CC net/ipv6/ip6_output.o [ 124s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_pwd.o [ 124s] CC drivers/gpu/sprd_iommu/gsp/sprd_iommu_gsp.o [ 124s] CC drivers/of/of_i2c.o [ 124s] CC net/ipv4/inetpeer.o [ 124s] LD drivers/media/sprd_dcam/sprd_dcam.o [ 124s] CC net/ipv4/protocol.o [ 124s] CC net/ipv6/ip6_input.o [ 124s] CC drivers/rtc/rtc-sprd.o [ 124s] CC net/ipv6/addrconf.o [ 124s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 124s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 124s] [ 124s] In file included from include/soc/sprd/hardware.h:34:0, [ 124s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 124s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 124s] [ 124s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 124s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 124s] [ 124s] In file included from include/soc/sprd/hardware.h:34:0, [ 124s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 124s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 124s] [ 124s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 124s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 124s] [ 124s] In file included from include/soc/sprd/hardware.h:34:0, [ 124s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 124s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 124s] [ 124s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 124s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 124s] [ 124s] In file included from include/soc/sprd/hardware.h:34:0, [ 124s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 124s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 124s] [ 124s] In file included from drivers/misc/mdbg/../sdiodev/sdio_dev.h:42:0, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 124s] #define SCI_ADDR(x, y) \ [ 124s] [ 124s] In file included from include/soc/sprd/hardware.h:34:0, [ 124s] from drivers/misc/mdbg/../sdiodev/sdio_dev.h:41, [ 124s] from drivers/misc/mdbg/mdbg_type.h:27, [ 124s] from drivers/misc/mdbg/mdbg.h:13, [ 124s] from drivers/misc/mdbg/mdbg.c:9: [ 124s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 124s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 124s] [ 124s] LD drivers/media/sprd_dcam/flash/built-in.o [ 124s] LD drivers/media/sprd_dcam/built-in.o [ 125s] CC drivers/gpu/drm/drm_hashtab.o [ 125s] CC drivers/media/sprd_rotation/rot_drv.o [ 125s] CC drivers/platform/sprd/boot_mode.o [ 125s] CC drivers/platform/sprd/pin_switch.o [ 125s] LD drivers/input/keyboard/coreriver/built-in.o [ 125s] LD drivers/input/keyboard/built-in.o [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 125s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 125s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 125s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 125s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 125s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 125s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 125s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 125s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 125s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 125s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 125s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 125s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 125s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 125s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 125s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 125s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:31:0: [ 125s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 125s] #define SCI_ADDR(x, y) \ [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/input/misc/headset_sprd_sc2723.c:24: [ 125s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 125s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 125s] [ 125s] In file included from drivers/rtc/rtc-sprd.c:28:0: [ 125s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 125s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 125s] ^~~~~~~~~~~~ [ 125s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 125s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 125s] ^~~~~~~~~~~~ [ 125s] CC drivers/media/sprd_scale/common/sin_cos.o [ 125s] In file included from drivers/rtc/rtc-sprd.c:29:0: [ 125s] include/soc/sprd/arch_lock.h:169:13: warning: '__arch_default_unlock' defined but not used [-Wunused-function] [ 125s] static void __arch_default_unlock(unsigned int lock_id, unsigned long *flags) [ 125s] ^~~~~~~~~~~~~~~~~~~~~ [ 125s] include/soc/sprd/arch_lock.h:156:13: warning: '__arch_default_lock' defined but not used [-Wunused-function] [ 125s] static void __arch_default_lock(unsigned int lock_id, unsigned long *flags) [ 125s] ^~~~~~~~~~~~~~~~~~~ [ 125s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_nlc.o [ 125s] drivers/input/misc/headset_sprd_sc2723.c:114:0: warning: "ANA_PMU0" redefined [ 125s] #define ANA_PMU0 (0x0000) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:548:0: note: this is the location of the previous definition [ 125s] #define ANA_PMU0 (SPRD_CODEC_AP_BASE + 0x0000) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:115:0: warning: "ANA_CDC1" redefined [ 125s] #define ANA_CDC1 (0x0020) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:556:0: note: this is the location of the previous definition [ 125s] #define ANA_CDC1 (SPRD_CODEC_AP_BASE + 0x0020) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:116:0: warning: "ANA_CDC3" redefined [ 125s] #define ANA_CDC3 (0x0028) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:558:0: note: this is the location of the previous definition [ 125s] #define ANA_CDC3 (SPRD_CODEC_AP_BASE + 0x0028) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:117:0: warning: "ANA_HDT0" redefined [ 125s] #define ANA_HDT0 (0x0068) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:574:0: note: this is the location of the previous definition [ 125s] #define ANA_HDT0 (SPRD_CODEC_AP_BASE + 0x0068) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:118:0: warning: "ANA_HDT2" redefined [ 125s] #define ANA_HDT2 (0x0070) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:576:0: note: this is the location of the previous definition [ 125s] #define ANA_HDT2 (SPRD_CODEC_AP_BASE + 0x0070) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:119:0: warning: "ANA_HDT1" redefined [ 125s] #define ANA_HDT1 (0x006C) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:575:0: note: this is the location of the previous definition [ 125s] #define ANA_HDT1 (SPRD_CODEC_AP_BASE + 0x006C) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:120:0: warning: "ANA_STS0" redefined [ 125s] #define ANA_STS0 (0x0074) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:577:0: note: this is the location of the previous definition [ 125s] #define ANA_STS0 (SPRD_CODEC_AP_BASE + 0x0074) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:121:0: warning: "DIG_STS0" redefined [ 125s] #define DIG_STS0 (0x00A0) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:588:0: note: this is the location of the previous definition [ 125s] #define DIG_STS0 (SPRD_CODEC_AP_BASE + 0x00A0) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:122:0: warning: "DIG_STS1" redefined [ 125s] #define DIG_STS1 (0x00A4) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:589:0: note: this is the location of the previous definition [ 125s] #define DIG_STS1 (SPRD_CODEC_AP_BASE + 0x00A4) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:123:0: warning: "DIG_CFG3" redefined [ 125s] #define DIG_CFG3 (0x0098) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:586:0: note: this is the location of the previous definition [ 125s] #define DIG_CFG3 (SPRD_CODEC_AP_BASE + 0x0098) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:124:0: warning: "DIG_CFG4" redefined [ 125s] #define DIG_CFG4 (0x009C) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:587:0: note: this is the location of the previous definition [ 125s] #define DIG_CFG4 (SPRD_CODEC_AP_BASE + 0x009C) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:169:0: warning: "ANA_PMU1" redefined [ 125s] #define ANA_PMU1 (0x0004) [ 125s] [ 125s] In file included from drivers/input/misc/headset_sprd_sc2723.c:43:0: [ 125s] include/../sound/soc/sprd/codec/sprd/v4/sprd-codec.h:549:0: note: this is the location of the previous definition [ 125s] #define ANA_PMU1 (SPRD_CODEC_AP_BASE + 0x0004) [ 125s] [ 125s] drivers/input/misc/headset_sprd_sc2723.c:488:3: warning: "/*" within comment [-Wcomment] [ 125s] /*for avoidig overflow*//* [ 125s] [ 125s] CC drivers/power/load_analyzer_main.o [ 125s] LD drivers/gpu/sprd_iommu/gsp/built-in.o [ 125s] CC drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.o [ 125s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 125s] from drivers/platform/sprd/pin_switch.c:12: [ 125s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 125s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/platform/sprd/pin_switch.c:11: [ 125s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 125s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 125s] [ 125s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 125s] from drivers/platform/sprd/pin_switch.c:12: [ 125s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 125s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/platform/sprd/pin_switch.c:11: [ 125s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 125s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 125s] [ 125s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 125s] from drivers/platform/sprd/pin_switch.c:12: [ 125s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 125s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/platform/sprd/pin_switch.c:11: [ 125s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 125s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 125s] [ 125s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 125s] from drivers/platform/sprd/pin_switch.c:12: [ 125s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 125s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/platform/sprd/pin_switch.c:11: [ 125s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 125s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 125s] [ 125s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 125s] from drivers/platform/sprd/pin_switch.c:12: [ 125s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 125s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 125s] ^~~~~~~~~~~~ [ 125s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 125s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 125s] ^~~~~~~~~~~~ [ 125s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 125s] #define SCI_ADDR(x, y) \ [ 125s] [ 125s] In file included from include/soc/sprd/hardware.h:34:0, [ 125s] from drivers/platform/sprd/pin_switch.c:11: [ 125s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 125s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 125s] [ 125s] CC drivers/gpu/sprd_iommu/v2/sprd_iommu_vsp.o [ 125s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 125s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 125s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:27, [ 125s] from include/linux/io.h:22, [ 125s] from drivers/platform/sprd/pin_switch.c:4: [ 125s] drivers/platform/sprd/pin_switch.c: In function 'pinmap_get': [ 125s] drivers/platform/sprd/pin_switch.c:174:15: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 125s] return readl(SPRD_PIN_BASE + offset); [ 125s] ^ [ 125s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 125s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 125s] ^ [ 125s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 125s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 125s] ^~~~~~~~~~~~~ [ 125s] drivers/platform/sprd/pin_switch.c:174:9: note: in expansion of macro 'readl' [ 125s] return readl(SPRD_PIN_BASE + offset); [ 125s] ^~~~~ [ 125s] In file included from include/linux/io.h:22:0, [ 125s] from drivers/platform/sprd/pin_switch.c:4: [ 125s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 125s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 125s] ^~~~~~~~~~~ [ 125s] In file included from include/linux/io.h:22:0, [ 125s] from drivers/platform/sprd/pin_switch.c:4: [ 125s] drivers/platform/sprd/pin_switch.c: In function 'pinmap_set': [ 125s] drivers/platform/sprd/pin_switch.c:182:16: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 125s] writel(value, SPRD_PIN_BASE + offset); [ 125s] ^ [ 125s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 125s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 125s] ^ [ 125s] drivers/platform/sprd/pin_switch.c:182:2: note: in expansion of macro 'writel' [ 125s] writel(value, SPRD_PIN_BASE + offset); [ 125s] ^~~~~~ [ 125s] In file included from include/linux/io.h:22:0, [ 125s] from drivers/platform/sprd/pin_switch.c:4: [ 125s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 125s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 125s] ^~~~~~~~~~~~ [ 125s] drivers/platform/sprd/pin_switch.c: In function 'pin_switch_dir_proc_write': [ 125s] drivers/platform/sprd/pin_switch.c:285:44: warning: passing argument 4 of 'kstrtol_from_user' from incompatible pointer type [-Wincompatible-pointer-types] [ 125s] ret = kstrtol_from_user(buffer, count, 0, &val); [ 125s] ^ [ 125s] In file included from include/linux/cpumask.h:9:0, [ 125s] from include/linux/smp.h:12, [ 125s] from include/linux/regs_debug.h:4, [ 125s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:31, [ 125s] from include/linux/io.h:22, [ 125s] from drivers/platform/sprd/pin_switch.c:4: [ 125s] include/linux/kernel.h:315:18: note: expected 'long int *' but argument is of type 'int *' [ 125s] int __must_check kstrtol_from_user(const char __user *s, size_t count, unsigned int base, long *res); [ 125s] ^~~~~~~~~~~~~~~~~ [ 125s] drivers/platform/sprd/pin_switch.c: In function 'sc271x_regulator_event': [ 125s] drivers/platform/sprd/pin_switch.c:355:28: warning: initialization makes integer from pointer without a cast [-Wint-conversion] [ 125s] unsigned long best_data = (unsigned long *)data; [ 125s] ^ [ 125s] In file included from include/linux/printk.h:6:0, [ 125s] from include/linux/kernel.h:13, [ 125s] from include/linux/cpumask.h:9, [ 125s] from include/linux/smp.h:12, [ 125s] from include/linux/regs_debug.h:4, [ 125s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:31, [ 125s] from include/linux/io.h:22, [ 125s] from drivers/platform/sprd/pin_switch.c:4: [ 125s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] [ 125s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 125s] ^ [ 125s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 125s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 125s] ^~~~~~~~ [ 125s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 125s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 125s] ^~~~~~~~~ [ 125s] drivers/platform/sprd/pin_switch.c:366:2: note: in expansion of macro 'pr_info' [ 125s] pr_info("event:0x%x, best_data:0x%x\n", event, best_data); [ 125s] ^~~~~~~ [ 125s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 125s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 125s] ^ [ 125s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 125s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 125s] ^~~~~~~~ [ 125s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 125s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 125s] ^~~~~~~~~ [ 125s] drivers/platform/sprd/pin_switch.c:366:2: note: in expansion of macro 'pr_info' [ 125s] pr_info("event:0x%x, best_data:0x%x\n", event, best_data); [ 125s] ^~~~~~~ [ 125s] drivers/platform/sprd/pin_switch.c:352:16: warning: unused variable 'flags' [-Wunused-variable] [ 125s] unsigned long flags; [ 125s] ^~~~~ [ 125s] In file included from include/linux/printk.h:6:0, [ 125s] from include/linux/kernel.h:13, [ 125s] from include/linux/cpumask.h:9, [ 125s] from include/linux/smp.h:12, [ 125s] from include/linux/regs_debug.h:4, [ 125s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:31, [ 125s] from include/linux/io.h:22, [ 125s] from drivers/platform/sprd/pin_switch.c:4: [ 125s] drivers/platform/sprd/pin_switch.c: In function 'sprd_pin_switch_probe': [ 125s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] [ 125s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 125s] ^ [ 125s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 125s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 125s] ^~~~~~~~ [ 125s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 125s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 125s] ^~~~~~~~~ [ 125s] drivers/platform/sprd/pin_switch.c:461:2: note: in expansion of macro 'pr_info' [ 125s] pr_info("-----SPRD_PIN_BASE:0x%x-----\n", SPRD_PIN_BASE); [ 125s] ^~~~~~~ [ 125s] CC drivers/media/sprd_scale/common/gen_scale_coef.o [ 125s] In file included from drivers/power/load_analyzer_main.c:41:0: [ 125s] include/linux/clk_mon.h:6:0: warning: "CLK_GATES_NUM" redefined [ 125s] #define CLK_GATES_NUM 5 [ 125s] [ 125s] In file included from drivers/power/load_analyzer_main.c:37:0: [ 125s] include/linux/load_analyzer.h:55:0: note: this is the location of the previous definition [ 125s] #define CLK_GATES_NUM 4 [ 125s] [ 125s] In file included from drivers/power/load_analyzer_main.c:41:0: [ 125s] include/linux/clk_mon.h:7:0: warning: "PWR_DOMAINS_NUM" redefined [ 125s] #define PWR_DOMAINS_NUM 3 [ 125s] [ 125s] In file included from drivers/power/load_analyzer_main.c:37:0: [ 125s] include/linux/load_analyzer.h:54:0: note: this is the location of the previous definition [ 125s] #define PWR_DOMAINS_NUM 1 [ 125s] [ 125s] CC net/ipv6/addrlabel.o [ 125s] In file included from drivers/power/load_analyzer_main.c:55:0: [ 125s] drivers/power/load_analyzer_sc7730.c: In function 'cpu_load_checking': [ 125s] drivers/power/load_analyzer_sc7730.c:654:29: warning: unused variable 'high_usage' [-Wunused-variable] [ 125s] unsigned int high_cpufreq, high_usage, amount_usage = 0; [ 125s] ^~~~~~~~~~ [ 125s] drivers/power/load_analyzer_sc7730.c:654:15: warning: unused variable 'high_cpufreq' [-Wunused-variable] [ 125s] unsigned int high_cpufreq, high_usage, amount_usage = 0; [ 125s] ^~~~~~~~~~~~ [ 125s] In file included from drivers/power/load_analyzer_main.c:59:0: [ 125s] At top level: [ 125s] drivers/power/load_analyzer_current.c:6:22: warning: 'current_boot_completed' defined but not used [-Wunused-variable] [ 125s] static unsigned long current_boot_completed; [ 125s] ^~~~~~~~~~~~~~~~~~~~~~ [ 125s] LD drivers/misc/mdbg/mdbgdrv.o [ 125s] CC drivers/of/of_net.o [ 125s] LD drivers/misc/mdbg/built-in.o [ 126s] CC net/ipv6/route.o [ 126s] CC drivers/media/sprd_rotation/img_rot.o [ 126s] CC drivers/misc/sdiodev/sdio_dev.o [ 126s] CC drivers/regulator/dummy.o [ 126s] CC net/ipv6/ip6_fib.o [ 126s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_2d_lsc.o [ 126s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_1d_lsc.o [ 126s] CC drivers/gpu/drm/drm_mm.o [ 126s] LD drivers/input/misc/built-in.o [ 126s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_binning4awb.o [ 126s] CC drivers/md/dm-linear.o [ 126s] LD drivers/input/touchscreen/imagis_30xxc/built-in.o [ 126s] CC drivers/gpu/sprd_iommu/v2/sprd_iommu_dcam.o [ 126s] LD drivers/input/touchscreen/built-in.o [ 126s] LD drivers/gpu/sprd_iommu/mm/built-in.o [ 126s] LD drivers/input/built-in.o [ 126s] CC drivers/gpu/sprd_iommu/v2/sprd_iommu_dispc.o [ 126s] CC drivers/mmc/core/bus.o [ 126s] CC drivers/scsi/scsi.o [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_2d_lsc.c: In function 'isp_k_2d_lsc_param_load': [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_2d_lsc.c:322:11: warning: unused variable 'addr' [-Wunused-variable] [ 126s] uint32_t addr = 0, reg_value = 0; [ 126s] ^~~~ [ 126s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 126s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 126s] [ 126s] In file included from include/soc/sprd/hardware.h:34:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 126s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 126s] [ 126s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 126s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 126s] [ 126s] In file included from include/soc/sprd/hardware.h:34:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 126s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 126s] [ 126s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 126s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 126s] [ 126s] In file included from include/soc/sprd/hardware.h:34:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 126s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 126s] [ 126s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 126s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 126s] [ 126s] In file included from include/soc/sprd/hardware.h:34:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 126s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 126s] [ 126s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 126s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 126s] ^~~~~~~~~~~~ [ 126s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 126s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 126s] ^~~~~~~~~~~~ [ 126s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 126s] #define SCI_ADDR(x, y) \ [ 126s] [ 126s] In file included from include/soc/sprd/hardware.h:34:0, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 126s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 126s] [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_binning4awb.c: In function 'isp_k_binning_block': [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_binning4awb.c:49:10: warning: unused variable 'i' [-Wunused-variable] [ 126s] int32_t i = 0; [ 126s] ^ [ 126s] In file included from drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_binning4awb.c:19:0: [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_binning4awb.c: In function 'isp_k_binning_buffaddr': [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/inc/isp_drv.h:23:35: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_binning4awb.c:172:2: note: in expansion of macro 'printk' [ 126s] printk("eric phys_addr 0x%x, 0x%x\n",phys_addr[0], phys_addr[1]); [ 126s] ^~~~~~ [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/inc/isp_drv.h:23:35: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_binning4awb.c:172:2: note: in expansion of macro 'printk' [ 126s] printk("eric phys_addr 0x%x, 0x%x\n",phys_addr[0], phys_addr[1]); [ 126s] ^~~~~~ [ 126s] At top level: [ 126s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_binning4awb.c:21:16: warning: 'isp_k_binging_param_update' defined but not used [-Wunused-function] [ 126s] static int32_t isp_k_binging_param_update(struct isp_k_private *isp_private) [ 126s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 126s] CC drivers/net/ethernet/smsc/smsc911x.o [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'mgr_suspend_init': [ 126s] drivers/misc/sdiodev/sdio_dev.c:163:6: warning: unused variable 'ret' [-Wunused-variable] [ 126s] int ret; [ 126s] ^~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'set_sprd_download_fin': [ 126s] drivers/misc/sdiodev/sdio_dev.c:249:24: warning: 'return' with a value, in function returning void [ 126s] return fwdownload_fin = dl_tag; [ 126s] ~~~~~~~~~~~~~~~^~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:247:6: note: declared here [ 126s] void set_sprd_download_fin(int dl_tag) [ 126s] ^~~~~~~~~~~~~~~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'get_screen_status': [ 126s] drivers/misc/sdiodev/sdio_dev.c:303:6: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 126s] buf = (int *)kzalloc(4,GFP_KERNEL); [ 126s] ^ [ 126s] In file included from include/linux/irqflags.h:14:0, [ 126s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:27, [ 126s] from include/linux/bitops.h:30, [ 126s] from include/linux/kernel.h:10, [ 126s] from include/linux/cache.h:4, [ 126s] from include/linux/time.h:4, [ 126s] from include/linux/stat.h:18, [ 126s] from include/linux/module.h:10, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:22, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'set_marlin_wakeup': [ 126s] include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [ 126s] (void)(&__dummy == &__dummy2); \ [ 126s] ^ [ 126s] include/linux/spinlock.h:198:3: note: in expansion of macro 'typecheck' [ 126s] typecheck(unsigned long, flags); \ [ 126s] ^~~~~~~~~ [ 126s] include/linux/spinlock.h:323:2: note: in expansion of macro 'raw_spin_lock_irqsave' [ 126s] raw_spin_lock_irqsave(spinlock_check(lock), flags); \ [ 126s] ^~~~~~~~~~~~~~~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:359:5: note: in expansion of macro 'spin_lock_irqsave' [ 126s] spin_lock_irqsave(&sleep_spinlock, flags); [ 126s] ^~~~~~~~~~~~~~~~~ [ 126s] In file included from include/linux/printk.h:6:0, [ 126s] from include/linux/kernel.h:13, [ 126s] from include/linux/cache.h:4, [ 126s] from include/linux/time.h:4, [ 126s] from include/linux/stat.h:18, [ 126s] from include/linux/module.h:10, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:22, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] include/linux/kern_levels.h:4:18: warning: too many arguments for format [-Wformat-extra-args] [ 126s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 126s] ^ [ 126s] include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' [ 126s] #define KERN_ERR KERN_SOH "3" /* error conditions */ [ 126s] ^~~~~~~~ [ 126s] include/linux/printk.h:220:9: note: in expansion of macro 'KERN_ERR' [ 126s] printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) [ 126s] ^~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.h:143:2: note: in expansion of macro 'pr_err' [ 126s] pr_err(SDIOTRAN_HEADER "%s:" fmt "\n", __func__, ## args) [ 126s] ^~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:372:4: note: in expansion of macro 'SDIOTRAN_ERR' [ 126s] SDIOTRAN_ERR("ack_gpio_status-%d", ack_gpio_status,user_id); [ 126s] ^~~~~~~~~~~~ [ 126s] include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'atomic_t {aka struct }' [-Wformat=] [ 126s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 126s] ^ [ 126s] include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' [ 126s] #define KERN_ERR KERN_SOH "3" /* error conditions */ [ 126s] ^~~~~~~~ [ 126s] include/linux/printk.h:220:9: note: in expansion of macro 'KERN_ERR' [ 126s] printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) [ 126s] ^~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.h:143:2: note: in expansion of macro 'pr_err' [ 126s] pr_err(SDIOTRAN_HEADER "%s:" fmt "\n", __func__, ## args) [ 126s] ^~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:378:4: note: in expansion of macro 'SDIOTRAN_ERR' [ 126s] SDIOTRAN_ERR("set_marlin_complete -%d", set_marlin_cmplete); [ 126s] ^~~~~~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:333:6: warning: unused variable 'bt_state' [-Wunused-variable] [ 126s] int bt_state ; [ 126s] ^~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:332:6: warning: unused variable 'screen_status' [-Wunused-variable] [ 126s] int screen_status = 1; [ 126s] ^~~~~~~~~~~~~ [ 126s] CC drivers/media/sprd_scale/common/img_scale.o [ 126s] In file included from include/linux/srcu.h:34:0, [ 126s] from include/linux/notifier.h:15, [ 126s] from include/linux/memory_hotplug.h:6, [ 126s] from include/linux/mmzone.h:785, [ 126s] from include/linux/gfp.h:4, [ 126s] from include/linux/kmod.h:22, [ 126s] from include/linux/module.h:13, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:22, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'sdio_dev_intr_init': [ 126s] include/linux/workqueue.h:193:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 126s] (_work)->func = (_func); \ [ 126s] ^ [ 126s] include/linux/workqueue.h:236:3: note: in expansion of macro 'PREPARE_WORK' [ 126s] PREPARE_WORK((_work), (_func)); \ [ 126s] ^~~~~~~~~~~~ [ 126s] include/linux/workqueue.h:242:3: note: in expansion of macro '__INIT_WORK' [ 126s] __INIT_WORK((_work), (_func), 0); \ [ 126s] ^~~~~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:1085:2: note: in expansion of macro 'INIT_WORK' [ 126s] INIT_WORK(&marlin_wq, marlin_workq); [ 126s] ^~~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'marlinack_workq': [ 126s] drivers/misc/sdiodev/sdio_dev.c:1206:6: warning: unused variable 'ret' [-Wunused-variable] [ 126s] int ret = 0; [ 126s] ^~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:1205:6: warning: unused variable 'read_chn' [-Wunused-variable] [ 126s] int read_chn; [ 126s] ^~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'marlinwake_irq_handler': [ 126s] drivers/misc/sdiodev/sdio_dev.c:1222:31: warning: unused variable 'usec' [-Wunused-variable] [ 126s] uint32 gpio_wake_status = 0, usec; [ 126s] ^~~~ [ 126s] In file included from include/linux/srcu.h:34:0, [ 126s] from include/linux/notifier.h:15, [ 126s] from include/linux/memory_hotplug.h:6, [ 126s] from include/linux/mmzone.h:785, [ 126s] from include/linux/gfp.h:4, [ 126s] from include/linux/kmod.h:22, [ 126s] from include/linux/module.h:13, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:22, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'marlin_wake_intr_init': [ 126s] include/linux/workqueue.h:193:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 126s] (_work)->func = (_func); \ [ 126s] ^ [ 126s] include/linux/workqueue.h:236:3: note: in expansion of macro 'PREPARE_WORK' [ 126s] PREPARE_WORK((_work), (_func)); \ [ 126s] ^~~~~~~~~~~~ [ 126s] include/linux/workqueue.h:242:3: note: in expansion of macro '__INIT_WORK' [ 126s] __INIT_WORK((_work), (_func), 0); \ [ 126s] ^~~~~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:1308:2: note: in expansion of macro 'INIT_WORK' [ 126s] INIT_WORK(&marlinwake_wq, marlinack_workq); [ 126s] ^~~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'sdio_tran_sync': [ 126s] drivers/misc/sdiodev/sdio_dev.c:1384:10: warning: 'return' with a value, in function returning void [ 126s] return -1; [ 126s] ^ [ 126s] drivers/misc/sdiodev/sdio_dev.c:1352:13: note: declared here [ 126s] static void sdio_tran_sync(void) [ 126s] ^~~~~~~~~~~~~~ [ 126s] drivers/misc/sdiodev/sdio_dev.c:1355:16: warning: unused variable 'j' [-Wunused-variable] [ 126s] int datalen,i,j; [ 126s] ^ [ 126s] In file included from include/linux/cache.h:4:0, [ 126s] from include/linux/time.h:4, [ 126s] from include/linux/stat.h:18, [ 126s] from include/linux/module.h:10, [ 126s] from drivers/misc/sdiodev/sdio_dev.h:22, [ 126s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 126s] drivers/misc/sdiodev/sdio_dev.c: In function 'sdio_dev_get_host': [ 126s] include/linux/kernel.h:784:48: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 126s] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ [ 126s] ^ [ 126s] drivers/misc/sdiodev/sdio_dev.c:1574:9: note: in expansion of macro 'container_of' [ 126s] return container_of(host, struct mmc_host, private); [ 126s] ^~~~~~~~~~~~ [ 126s] At top level: [ 126s] drivers/misc/sdiodev/sdio_dev.c:1352:13: warning: 'sdio_tran_sync' defined but not used [-Wunused-function] [ 126s] static void sdio_tran_sync(void) [ 126s] ^~~~~~~~~~~~~~ [ 126s] CC drivers/platform/sprd/sys_reset.o [ 126s] LD drivers/rtc/rtc-core.o [ 126s] LD drivers/rtc/built-in.o [ 126s] CC drivers/of/of_mdio.o [ 126s] CC drivers/regulator/fixed-helper.o [ 126s] CC drivers/sensors/sensors_core.o [ 126s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 126s] from drivers/platform/sprd/sys_reset.c:14: [ 126s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 126s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 126s] ^~~~~~~~~~~~ [ 126s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 126s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 126s] ^~~~~~~~~~~~ [ 126s] In file included from include/soc/sprd/hardware.h:34:0, [ 126s] from include/soc/sprd/sys_reset.h:21, [ 126s] from drivers/platform/sprd/sys_reset.c:14: [ 126s] include/soc/sprd/__hardware-sc7731.h:122:0: warning: "SPRD_MISC_BASE" redefined [ 126s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 126s] [ 126s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 126s] from drivers/platform/sprd/sys_reset.c:14: [ 126s] include/soc/sprd/sci_glb_regs.h:51:0: note: this is the location of the previous definition [ 126s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 126s] [ 127s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_awb.o [ 127s] In file included from drivers/media/sprd_scale/common/img_scale.c:29:0: [ 127s] drivers/media/sprd_scale/common/img_scale.c: In function 'scale_k_read': [ 127s] drivers/media/sprd_dcam/tshark/dcam_drv.h:29:35: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] [ 127s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 127s] ^ [ 127s] drivers/media/sprd_scale/common/img_scale.c:110:3: note: in expansion of macro 'printk' [ 127s] printk("scale_k_read error: wrong size of u_data: %ld \n", cnt); [ 127s] ^~~~~~ [ 127s] CC drivers/gpu/drm/drm_crtc.o [ 127s] LD drivers/media/sprd_rotation/sprd_rotation.o [ 127s] LD drivers/media/sprd_rotation/built-in.o [ 127s] CC drivers/gpu/sprd_iommu/v2/sprd_iommu_gsp0.o [ 127s] CC net/ipv6/ipv6_sockglue.o [ 127s] CC drivers/media/sprd_sensor/csi2/csi_api.o [ 127s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_raw_aem.o [ 127s] CC drivers/platform/sprd/busmonitor.o [ 127s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_bpc.o [ 127s] CC drivers/sensors/ims1911.o [ 127s] CC drivers/gpu/sprd_iommu/v2/sprd_iommu_gsp1.o [ 127s] In file included from drivers/media/sprd_sensor/csi2/csi_api.c:7:0: [ 127s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 127s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 127s] ^~~~~~~~~~~~ [ 127s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 127s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 127s] ^~~~~~~~~~~~ [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/media/sprd_sensor/csi2/csi_api.c:12: [ 127s] include/soc/sprd/__hardware-sc7731.h:122:0: warning: "SPRD_MISC_BASE" redefined [ 127s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 127s] [ 127s] In file included from drivers/media/sprd_sensor/csi2/csi_api.c:7:0: [ 127s] include/soc/sprd/sci_glb_regs.h:51:0: note: this is the location of the previous definition [ 127s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 127s] [ 127s] CC drivers/md/dm-stripe.o [ 127s] drivers/media/sprd_sensor/csi2/csi_api.c: In function 'csi_read_registers': [ 127s] drivers/media/sprd_sensor/csi2/csi_api.c:722:34: warning: comparison between pointer and integer [ 127s] while (buf_len != 0 && reg_addr < (u64)(CSI2_BASE + SPRD_CSI2_REG_SIZE)) { [ 127s] ^ [ 127s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 127s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 127s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/busmonitor.c:32: [ 127s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 127s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 127s] [ 127s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 127s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 127s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/busmonitor.c:32: [ 127s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 127s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 127s] [ 127s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 127s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 127s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/busmonitor.c:32: [ 127s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 127s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 127s] [ 127s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 127s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 127s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/busmonitor.c:32: [ 127s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 127s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 127s] [ 127s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 127s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 127s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 127s] ^~~~~~~~~~~~ [ 127s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 127s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 127s] ^~~~~~~~~~~~ [ 127s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 127s] #define SCI_ADDR(x, y) \ [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/busmonitor.c:32: [ 127s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 127s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 127s] [ 127s] In file included from drivers/platform/sprd/busmonitor.c:37:0: [ 127s] include/soc/sprd/pm_debug.h: In function 'get_sys_cnt': [ 127s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 127s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 127s] ^ [ 127s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 127s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 127s] ^~~~~~~~~~ [ 127s] include/soc/sprd/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' [ 127s] val1 = __raw_readl(SYSCNT_COUNT); [ 127s] ^~~~~~~~~~~~ [ 127s] In file included from include/linux/io.h:22:0, [ 127s] from include/soc/sprd/pm_debug.h:5, [ 127s] from drivers/platform/sprd/busmonitor.c:37: [ 127s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 127s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 127s] ^~~~~~~~~~~ [ 127s] In file included from drivers/platform/sprd/busmonitor.c:37:0: [ 127s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 127s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 127s] ^ [ 127s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 127s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 127s] ^~~~~~~~~~ [ 127s] include/soc/sprd/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' [ 127s] val2 = __raw_readl(SYSCNT_COUNT); [ 127s] ^~~~~~~~~~~~ [ 127s] In file included from include/linux/io.h:22:0, [ 127s] from include/soc/sprd/pm_debug.h:5, [ 127s] from drivers/platform/sprd/busmonitor.c:37: [ 127s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 127s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 127s] ^~~~~~~~~~~ [ 127s] In file included from drivers/platform/sprd/busmonitor.c:37:0: [ 127s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 127s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 127s] ^ [ 127s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 127s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 127s] ^~~~~~~~~~ [ 127s] include/soc/sprd/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' [ 127s] val2 = __raw_readl(SYSCNT_COUNT); [ 127s] ^~~~~~~~~~~~ [ 127s] In file included from include/linux/io.h:22:0, [ 127s] from include/soc/sprd/pm_debug.h:5, [ 127s] from drivers/platform/sprd/busmonitor.c:37: [ 127s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 127s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 127s] ^~~~~~~~~~~ [ 127s] CC drivers/media/sprd_scale/scale_drv.o [ 127s] CC drivers/regulator/of_regulator.o [ 127s] drivers/platform/sprd/busmonitor.c: In function 'sci_bm_set_point': [ 127s] drivers/platform/sprd/busmonitor.c:669:49: warning: comparison of distinct pointer types lacks a cast [ 127s] if(cfg->addr_min >= 0x80000000 && "ERROR_NAME" != bm_chn_name[bm_index].chn_name){ [ 127s] ^~ [ 127s] drivers/platform/sprd/busmonitor.c:669:49: warning: comparison with string literal results in unspecified behavior [-Waddress] [ 127s] drivers/platform/sprd/busmonitor.c:680:19: warning: comparison of distinct pointer types lacks a cast [ 127s] if ("ERROR_NAME" != bm_chn_name[bm_index].chn_name){ [ 127s] ^~ [ 127s] drivers/platform/sprd/busmonitor.c:680:19: warning: comparison with string literal results in unspecified behavior [-Waddress] [ 127s] drivers/platform/sprd/busmonitor.c: In function 'sci_bm_axi_dbg_store': [ 127s] drivers/platform/sprd/busmonitor.c:919:47: warning: unused variable 'bm_index' [-Wunused-variable] [ 127s] unsigned long start_addr, end_addr, channel, bm_index; [ 127s] ^~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c: In function 'sci_bm_ahb_dbg_store': [ 127s] drivers/platform/sprd/busmonitor.c:1009:76: warning: unused variable 'bm_index' [-Wunused-variable] [ 127s] unsigned long start_addr, end_addr, min_data, max_data, channel, chn_sel, bm_index; [ 127s] ^~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c: In function 'sci_bm_bus_status_show': [ 127s] drivers/platform/sprd/busmonitor.c:1281:17: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 127s] return sprintf(buf, "%s\n", axi_buf); [ 127s] ^~~ [ 127s] In file included from drivers/platform/sprd/busmonitor.c:13:0: [ 127s] include/linux/kernel.h:358:27: note: expected 'char *' but argument is of type 'const char *' [ 127s] extern __printf(2, 3) int sprintf(char *buf, const char * fmt, ...); [ 127s] ^~~~~~~ [ 127s] In file included from include/linux/kobject.h:21:0, [ 127s] from include/linux/module.h:16, [ 127s] from drivers/platform/sprd/busmonitor.c:15: [ 127s] drivers/platform/sprd/busmonitor.c: At top level: [ 127s] drivers/platform/sprd/busmonitor.c:1318:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 127s] sci_bm_bus_status_show, NULL); [ 127s] ^ [ 127s] include/linux/sysfs.h:74:10: note: in definition of macro '__ATTR' [ 127s] .show = _show, \ [ 127s] ^~~~~ [ 127s] drivers/platform/sprd/busmonitor.c:1317:8: note: in expansion of macro 'DEVICE_ATTR' [ 127s] static DEVICE_ATTR(bus_status, S_IRUGO | S_IWUSR, [ 127s] ^~~~~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c:1318:2: note: (near initialization for 'dev_attr_bus_status.show') [ 127s] sci_bm_bus_status_show, NULL); [ 127s] ^ [ 127s] include/linux/sysfs.h:74:10: note: in definition of macro '__ATTR' [ 127s] .show = _show, \ [ 127s] ^~~~~ [ 127s] drivers/platform/sprd/busmonitor.c:1317:8: note: in expansion of macro 'DEVICE_ATTR' [ 127s] static DEVICE_ATTR(bus_status, S_IRUGO | S_IWUSR, [ 127s] ^~~~~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c: In function 'sci_bm_init_name_info': [ 127s] drivers/platform/sprd/busmonitor.c:1477:19: warning: comparison of distinct pointer types lacks a cast [ 127s] if("ERROR_NAME" == bm_chn_name[bm_chn - bm_no_name].chn_name){ [ 127s] ^~ [ 127s] drivers/platform/sprd/busmonitor.c:1477:19: warning: comparison with string literal results in unspecified behavior [-Waddress] [ 127s] drivers/platform/sprd/busmonitor.c: In function 'sci_bm_ioctl': [ 127s] drivers/platform/sprd/busmonitor.c:1853:18: warning: unused variable 'tm' [-Wunused-variable] [ 127s] struct rtc_time tm; [ 127s] ^~ [ 127s] drivers/platform/sprd/busmonitor.c:2002:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result] [ 127s] copy_from_user(&bm_user, (unsigned long __user *)args, sizeof(unsigned long)); [ 127s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c:2009:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result] [ 127s] copy_from_user(&bm_user, (unsigned long __user *)args, sizeof(unsigned long)); [ 127s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c:2016:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result] [ 127s] copy_from_user(&bm_user, (unsigned long __user *)args, sizeof(unsigned long)); [ 127s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c:2023:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result] [ 127s] copy_from_user(&bm_user, (unsigned long __user *)args, sizeof(unsigned long)); [ 127s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c:2030:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result] [ 127s] copy_from_user(&bm_user, (unsigned long __user *)args, sizeof(unsigned long)); [ 127s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] drivers/platform/sprd/busmonitor.c:2037:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result] [ 127s] copy_from_user(&bm_user, (unsigned long __user *)args, sizeof(unsigned long)); [ 127s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 127s] from drivers/platform/sprd/pin_switch.c:12: [ 127s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 127s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/pin_switch.c:11: [ 127s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 127s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 127s] [ 127s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 127s] from drivers/platform/sprd/pin_switch.c:12: [ 127s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 127s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/pin_switch.c:11: [ 127s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 127s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 127s] [ 127s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 127s] from drivers/platform/sprd/pin_switch.c:12: [ 127s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 127s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/pin_switch.c:11: [ 127s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 127s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 127s] [ 127s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 127s] from drivers/platform/sprd/pin_switch.c:12: [ 127s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 127s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/pin_switch.c:11: [ 127s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 127s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 127s] [ 127s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 127s] from drivers/platform/sprd/pin_switch.c:12: [ 127s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 127s] #define SCI_ADDR(x, y) \ [ 127s] [ 127s] In file included from include/soc/sprd/hardware.h:34:0, [ 127s] from drivers/platform/sprd/pin_switch.c:11: [ 127s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 127s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 127s] [ 127s] At top level: [ 127s] drivers/platform/sprd/busmonitor.c:810:13: warning: 'sci_bm_def_val_set' defined but not used [-Wunused-function] [ 127s] static void sci_bm_def_val_set(void) [ 127s] ^~~~~~~~~~~~~~~~~~ [ 127s] CC drivers/gpu/sprd_iommu/v2/sprd_iommu_vpp.o [ 128s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_bdn.o [ 128s] CC drivers/media/sprd_sensor/sensor_drv_k.o [ 128s] CC net/ipv6/ndisc.o [ 128s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_grgb.o [ 128s] CC drivers/gpu/drm/drm_modes.o [ 128s] CC drivers/platform/sprd/sec_debug.o [ 128s] CC drivers/hid/usbhid/hid-quirks.o [ 128s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_rgb_gain2.o [ 128s] CC drivers/platform/sprd/sec_gaf.o [ 128s] drivers/platform/sprd/busmonitor.c: In function 'sci_bm_continue_show': [ 128s] drivers/platform/sprd/busmonitor.c:1152:1: warning: the frame size of 4904 bytes is larger than 1024 bytes [-Wframe-larger-than=] [ 128s] } [ 128s] ^ [ 128s] drivers/platform/sprd/busmonitor.c: In function 'sci_bm_occur_show': [ 128s] drivers/platform/sprd/busmonitor.c:1127:1: warning: the frame size of 2560 bytes is larger than 1024 bytes [-Wframe-larger-than=] [ 128s] } [ 128s] ^ [ 128s] CC drivers/sensors/cm36672p.o [ 128s] In file included from drivers/media/sprd_sensor/sensor_drv_k.c:56:0: [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_release': [ 128s] drivers/media/sprd_sensor/sensor_drv_sprd.h:16:35: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'void *' [-Wformat=] [ 128s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 128s] ^ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1320:4: note: in expansion of macro 'printk' [ 128s] printk("check !! free size = %d, ptr=0x%x \n", p_file->sensor_mem.size, p_file->sensor_mem.buf_ptr); [ 128s] ^~~~~~ [ 128s] In file included from include/linux/kernel.h:13:0, [ 128s] from include/linux/cache.h:4, [ 128s] from include/linux/time.h:4, [ 128s] from include/linux/stat.h:18, [ 128s] from include/linux/module.h:10, [ 128s] from drivers/media/sprd_sensor/sensor_drv_k.c:13: [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_write': [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1359:15: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] [ 128s] SENSOR_PRINT("sensor w cnt %ld, buf %ld\n", cnt, sizeof(buf)); [ 128s] ^ [ 128s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 128s] #define pr_fmt(fmt) fmt [ 128s] ^~~ [ 128s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 128s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 128s] ^~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:74:43: note: in expansion of macro 'pr_debug' [ 128s] #define SENSOR_PRINT pr_debug [ 128s] ^~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1359:2: note: in expansion of macro 'SENSOR_PRINT' [ 128s] SENSOR_PRINT("sensor w cnt %ld, buf %ld\n", cnt, sizeof(buf)); [ 128s] ^~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1359:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] [ 128s] SENSOR_PRINT("sensor w cnt %ld, buf %ld\n", cnt, sizeof(buf)); [ 128s] ^ [ 128s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 128s] #define pr_fmt(fmt) fmt [ 128s] ^~~ [ 128s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 128s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 128s] ^~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:74:43: note: in expansion of macro 'pr_debug' [ 128s] #define SENSOR_PRINT pr_debug [ 128s] ^~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1359:2: note: in expansion of macro 'SENSOR_PRINT' [ 128s] SENSOR_PRINT("sensor w cnt %ld, buf %ld\n", cnt, sizeof(buf)); [ 128s] ^~~~~~~~~~~~ [ 128s] In file included from drivers/media/sprd_sensor/sensor_drv_k.c:56:0: [ 128s] drivers/media/sprd_sensor/sensor_drv_sprd.h:16:35: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] [ 128s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 128s] ^ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:78:43: note: in expansion of macro 'printk' [ 128s] #define SENSOR_PRINT_ERR printk [ 128s] ^~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1367:4: note: in expansion of macro 'SENSOR_PRINT_ERR' [ 128s] SENSOR_PRINT_ERR("sensor w ERR: alloc fail, size %ld \n", cnt); [ 128s] ^~~~~~~~~~~~~~~~ [ 128s] In file included from include/linux/kernel.h:13:0, [ 128s] from include/linux/cache.h:4, [ 128s] from include/linux/time.h:4, [ 128s] from include/linux/stat.h:18, [ 128s] from include/linux/module.h:10, [ 128s] from drivers/media/sprd_sensor/sensor_drv_k.c:13: [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1370:17: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] [ 128s] SENSOR_PRINT("sensor w: alloc success, size %ld \n", cnt); [ 128s] ^ [ 128s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 128s] #define pr_fmt(fmt) fmt [ 128s] ^~~ [ 128s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 128s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 128s] ^~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:74:43: note: in expansion of macro 'pr_debug' [ 128s] #define SENSOR_PRINT pr_debug [ 128s] ^~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1370:4: note: in expansion of macro 'SENSOR_PRINT' [ 128s] SENSOR_PRINT("sensor w: alloc success, size %ld \n", cnt); [ 128s] ^~~~~~~~~~~~ [ 128s] In file included from drivers/media/sprd_sensor/sensor_drv_k.c:56:0: [ 128s] drivers/media/sprd_sensor/sensor_drv_sprd.h:16:35: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] [ 128s] #define printk(fmt, ...) printk("[CAMERA] %s:%d:" fmt , __func__, __LINE__, ##__VA_ARGS__) [ 128s] ^ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:78:43: note: in expansion of macro 'printk' [ 128s] #define SENSOR_PRINT_ERR printk [ 128s] ^~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1375:3: note: in expansion of macro 'SENSOR_PRINT_ERR' [ 128s] SENSOR_PRINT_ERR("sensor w ERR: copy user fail, size %ld\n", cnt); [ 128s] ^~~~~~~~~~~~~~~~ [ 128s] In file included from include/linux/kernel.h:13:0, [ 128s] from include/linux/cache.h:4, [ 128s] from include/linux/time.h:4, [ 128s] from include/linux/stat.h:18, [ 128s] from include/linux/module.h:10, [ 128s] from drivers/media/sprd_sensor/sensor_drv_k.c:13: [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_ioctl': [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1894:17: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'long unsigned int' [-Wformat=] [ 128s] SENSOR_PRINT("SENSOR: ioctl SENSOR_IO_READ_OTPDATA %p type %d\n", arg, para->type); [ 128s] ^ [ 128s] include/linux/printk.h:210:21: note: in definition of macro 'pr_fmt' [ 128s] #define pr_fmt(fmt) fmt [ 128s] ^~~ [ 128s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 128s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 128s] ^~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:74:43: note: in expansion of macro 'pr_debug' [ 128s] #define SENSOR_PRINT pr_debug [ 128s] ^~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1894:4: note: in expansion of macro 'SENSOR_PRINT' [ 128s] SENSOR_PRINT("SENSOR: ioctl SENSOR_IO_READ_OTPDATA %p type %d\n", arg, para->type); [ 128s] ^~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c: At top level: [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2213:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 128s] .suspend = sensor_k_suspend, [ 128s] ^~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2213:13: note: (near initialization for 'sensor_dev_driver.suspend') [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c: In function 'Rear_Cam_show_flash': [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2427:17: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 128s] return sprintf(buf, "%d", flash_torch_status); [ 128s] ^~~ [ 128s] In file included from include/linux/cache.h:4:0, [ 128s] from include/linux/time.h:4, [ 128s] from include/linux/stat.h:18, [ 128s] from include/linux/module.h:10, [ 128s] from drivers/media/sprd_sensor/sensor_drv_k.c:13: [ 128s] include/linux/kernel.h:358:27: note: expected 'char *' but argument is of type 'const char *' [ 128s] extern __printf(2, 3) int sprintf(char *buf, const char * fmt, ...); [ 128s] ^~~~~~~ [ 128s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 128s] from include/soc/sprd/system.h:18, [ 128s] from drivers/platform/sprd/sec_debug.c:40: [ 128s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 128s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 128s] [ 128s] In file included from include/soc/sprd/hardware.h:34:0, [ 128s] from drivers/platform/sprd/sec_debug.c:39: [ 128s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 128s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 128s] [ 128s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 128s] from include/soc/sprd/system.h:18, [ 128s] from drivers/platform/sprd/sec_debug.c:40: [ 128s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 128s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 128s] [ 128s] In file included from include/soc/sprd/hardware.h:34:0, [ 128s] from drivers/platform/sprd/sec_debug.c:39: [ 128s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 128s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 128s] [ 128s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 128s] from include/soc/sprd/system.h:18, [ 128s] from drivers/platform/sprd/sec_debug.c:40: [ 128s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 128s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 128s] [ 128s] In file included from include/soc/sprd/hardware.h:34:0, [ 128s] from drivers/platform/sprd/sec_debug.c:39: [ 128s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 128s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 128s] [ 128s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 128s] from include/soc/sprd/system.h:18, [ 128s] from drivers/platform/sprd/sec_debug.c:40: [ 128s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 128s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 128s] [ 128s] In file included from include/soc/sprd/hardware.h:34:0, [ 128s] from drivers/platform/sprd/sec_debug.c:39: [ 128s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 128s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 128s] [ 128s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 128s] from include/soc/sprd/system.h:18, [ 128s] from drivers/platform/sprd/sec_debug.c:40: [ 128s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 128s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 128s] ^~~~~~~~~~~~ [ 128s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 128s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 128s] ^~~~~~~~~~~~ [ 128s] In file included from include/linux/kobject.h:21:0, [ 128s] from include/linux/module.h:16, [ 128s] from drivers/media/sprd_sensor/sensor_drv_k.c:13: [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c: At top level: [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2471:71: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 128s] static DEVICE_ATTR(rear_flash, S_IRUGO | S_IWUSR | S_IWGRP | S_IXOTH, Rear_Cam_show_flash, Rear_Cam_store_flash); // Read(User, Group, Other), Write(User, Group), Execute(Other) [ 128s] ^ [ 128s] include/linux/sysfs.h:74:10: note: in definition of macro '__ATTR' [ 128s] .show = _show, \ [ 128s] ^~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2471:8: note: in expansion of macro 'DEVICE_ATTR' [ 128s] static DEVICE_ATTR(rear_flash, S_IRUGO | S_IWUSR | S_IWGRP | S_IXOTH, Rear_Cam_show_flash, Rear_Cam_store_flash); // Read(User, Group, Other), Write(User, Group), Execute(Other) [ 128s] ^~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2471:71: note: (near initialization for 'dev_attr_rear_flash.show') [ 128s] static DEVICE_ATTR(rear_flash, S_IRUGO | S_IWUSR | S_IWGRP | S_IXOTH, Rear_Cam_show_flash, Rear_Cam_store_flash); // Read(User, Group, Other), Write(User, Group), Execute(Other) [ 128s] ^ [ 128s] include/linux/sysfs.h:74:10: note: in definition of macro '__ATTR' [ 128s] .show = _show, \ [ 128s] ^~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2471:8: note: in expansion of macro 'DEVICE_ATTR' [ 128s] static DEVICE_ATTR(rear_flash, S_IRUGO | S_IWUSR | S_IWGRP | S_IXOTH, Rear_Cam_show_flash, Rear_Cam_store_flash); // Read(User, Group, Other), Write(User, Group), Execute(Other) [ 128s] ^~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_init': [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2684:32: warning: passing argument 2 of 'device_destroy' makes integer from pointer without a cast [-Wint-conversion] [ 128s] device_destroy(camera_class, dev_t_front); [ 128s] ^~~~~~~~~~~ [ 128s] In file included from include/linux/platform_device.h:14:0, [ 128s] from drivers/media/sprd_sensor/sensor_drv_k.c:21: [ 128s] include/linux/device.h:937:13: note: expected 'dev_t {aka unsigned int}' but argument is of type 'struct device *' [ 128s] extern void device_destroy(struct class *cls, dev_t devt); [ 128s] ^~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2690:32: warning: passing argument 2 of 'device_destroy' makes integer from pointer without a cast [-Wint-conversion] [ 128s] device_destroy(camera_class, dev_t_flash); [ 128s] ^~~~~~~~~~~ [ 128s] In file included from include/linux/platform_device.h:14:0, [ 128s] from drivers/media/sprd_sensor/sensor_drv_k.c:21: [ 128s] include/linux/device.h:937:13: note: expected 'dev_t {aka unsigned int}' but argument is of type 'struct device *' [ 128s] extern void device_destroy(struct class *cls, dev_t devt); [ 128s] ^~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:2710:31: warning: passing argument 2 of 'device_destroy' makes integer from pointer without a cast [-Wint-conversion] [ 128s] device_destroy(camera_class,dev_t_rear); [ 128s] ^~~~~~~~~~ [ 128s] In file included from include/linux/platform_device.h:14:0, [ 128s] from drivers/media/sprd_sensor/sensor_drv_k.c:21: [ 128s] include/linux/device.h:937:13: note: expected 'dev_t {aka unsigned int}' but argument is of type 'struct device *' [ 128s] extern void device_destroy(struct class *cls, dev_t devt); [ 128s] ^~~~~~~~~~~~~~ [ 128s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 128s] #define SCI_ADDR(x, y) \ [ 128s] [ 128s] In file included from include/soc/sprd/hardware.h:34:0, [ 128s] from drivers/platform/sprd/sec_debug.c:39: [ 128s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 128s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 128s] [ 128s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_nlm.o [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_ioctl': [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1893:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_from_user(&type, ¶->type, sizeof(uint32_t)); [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1899:6: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_to_user(para->buff, chksum->data_ptr, chksum->size); [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1900:6: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_to_user(¶->len, &chksum->size, sizeof(uint32_t)); [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1908:6: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_to_user(para->buff, p_mod->otp_param[p_file->sensor_id].buff, [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] p_mod->otp_param[p_file->sensor_id].len); [ 128s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1910:6: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_to_user(¶->len, &p_mod->otp_param[p_file->sensor_id].len, [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] sizeof(uint32_t)); [ 128s] ~~~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1914:6: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_to_user(para->awb.data_ptr, awb->data_ptr, awb->size); [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1915:6: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_to_user(¶->awb.size, &awb->size, sizeof(uint32_t)); [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1918:6: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_to_user(para->lsc.data_ptr, lsc->data_ptr, lsc->size); [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] drivers/media/sprd_sensor/sensor_drv_k.c:1919:6: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result] [ 128s] copy_to_user(¶->lsc.size, &lsc->size, sizeof(uint32_t)); [ 128s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 128s] In file included from include/linux/printk.h:6:0, [ 128s] from include/linux/kernel.h:13, [ 128s] from include/linux/rwsem.h:13, [ 128s] from include/linux/notifier.h:14, [ 128s] from drivers/platform/sprd/sec_debug.c:18: [ 128s] drivers/platform/sprd/sec_debug.c: In function 'simulate_bus_hang': [ 128s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 128s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 128s] ^ [ 128s] include/linux/kern_levels.h:7:20: note: in expansion of macro 'KERN_SOH' [ 128s] #define KERN_EMERG KERN_SOH "0" /* system is unusable */ [ 128s] ^~~~~~~~ [ 128s] include/linux/printk.h:214:9: note: in expansion of macro 'KERN_EMERG' [ 128s] printk(KERN_EMERG pr_fmt(fmt), ##__VA_ARGS__) [ 128s] ^~~~~~~~~~ [ 128s] drivers/platform/sprd/sec_debug.c:799:2: note: in expansion of macro 'pr_emerg' [ 128s] pr_emerg("Simulating bus hang. addr=0x%x time=%lu\n", hang_address, jiffies); [ 128s] ^~~~~~~~ [ 128s] drivers/platform/sprd/sec_debug.c: In function 'sec_debug_init': [ 128s] drivers/platform/sprd/sec_debug.c:1178:15: warning: unused variable 'addr' [-Wunused-variable] [ 128s] unsigned int addr; [ 128s] ^~~~ [ 128s] CC drivers/md/dm-ioctl.o [ 128s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_cfa.o [ 128s] CC drivers/mmc/core/host.o [ 128s] LD drivers/gpu/sprd_iommu/v2/built-in.o [ 128s] LD drivers/gpu/sprd_iommu/built-in.o [ 128s] LD drivers/gpu/vga/built-in.o [ 129s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_cmc10.o [ 129s] CC drivers/gpu/drm/drm_edid.o [ 129s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_gamma.o [ 129s] CC drivers/gpu/drm/drm_info.o [ 129s] LD drivers/media/sprd_scale/sprd_scale.o [ 129s] LD drivers/media/sprd_scale/built-in.o [ 129s] CC drivers/media/tuners/tuner-xc2028.o [ 129s] LD drivers/power/power_supply.o [ 129s] LD drivers/power/built-in.o [ 129s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_cmc8.o [ 129s] CC drivers/sipc/sipc.o [ 129s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_ct.o [ 129s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_cce.o [ 129s] LD drivers/net/ethernet/smsc/built-in.o [ 129s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 129s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 129s] [ 129s] In file included from include/soc/sprd/hardware.h:34:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 129s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 129s] [ 129s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 129s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 129s] [ 129s] In file included from include/soc/sprd/hardware.h:34:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 129s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 129s] [ 129s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 129s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 129s] [ 129s] In file included from include/soc/sprd/hardware.h:34:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 129s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 129s] [ 129s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 129s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 129s] [ 129s] In file included from include/soc/sprd/hardware.h:34:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 129s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 129s] [ 129s] In file included from drivers/misc/sdiodev/sdio_dev.h:42:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 129s] #define SCI_ADDR(x, y) \ [ 129s] [ 129s] In file included from include/soc/sprd/hardware.h:34:0, [ 129s] from drivers/misc/sdiodev/sdio_dev.h:41, [ 129s] from drivers/misc/sdiodev/sdio_dev.c:19: [ 129s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 129s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 129s] [ 129s] LD drivers/net/ethernet/stmicro/built-in.o [ 129s] LD drivers/net/ethernet/wiznet/built-in.o [ 129s] drivers/media/sprd_sensor/sensor_drv_k.c: In function '_sensor_burst_write_init': [ 129s] drivers/media/sprd_sensor/sensor_drv_k.c:1498:1: warning: the frame size of 3016 bytes is larger than 1024 bytes [-Wframe-larger-than=] [ 129s] } [ 129s] ^ [ 130s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_hsv.o [ 130s] LD drivers/net/ethernet/built-in.o [ 130s] CC drivers/sensors/k2hh.o [ 130s] CC drivers/net/phy/phy.o [ 130s] CC net/ipv4/ip_input.o [ 130s] In file included from drivers/sipc/sipc.c:27:0: [ 130s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 130s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 130s] ^~~~~~~~~~~~ [ 130s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 130s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 130s] ^~~~~~~~~~~~ [ 130s] CC net/ipv4/ip_fragment.o [ 130s] drivers/sipc/sipc.c: In function 'sipc_create': [ 130s] drivers/sipc/sipc.c:192:11: warning: comparison between pointer and integer [ 130s] if(base == NULL){ [ 130s] ^~ [ 130s] In file included from include/linux/printk.h:6:0, [ 130s] from include/linux/kernel.h:13, [ 130s] from drivers/sipc/sipc.c:14: [ 130s] include/linux/kern_levels.h:4:18: warning: format '%d' expects a matching 'int' argument [-Wformat=] [ 130s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 130s] ^ [ 130s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 130s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 130s] ^~~~~~~~ [ 130s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 130s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 130s] ^~~~~~~~~ [ 130s] drivers/sipc/sipc.c:193:4: note: in expansion of macro 'pr_info' [ 130s] pr_info("sipc:[%d] ioremap return NULL\n"); [ 130s] ^~~~~~~ [ 130s] include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] [ 130s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 130s] ^ [ 130s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 130s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 130s] ^~~~~~~~ [ 130s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 130s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 130s] ^~~~~~~~~ [ 130s] drivers/sipc/sipc.c:196:3: note: in expansion of macro 'pr_info' [ 130s] pr_info("sipc:[%d] after ioremap vbase=0x%lx, pbase=0x%x, size=0x%x\n", [ 130s] ^~~~~~~ [ 130s] drivers/sipc/sipc.c: In function 'sipc_parse_dt': [ 130s] include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] [ 130s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 130s] ^ [ 130s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 130s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 130s] ^~~~~~~~ [ 130s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 130s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 130s] ^~~~~~~~~ [ 130s] drivers/sipc/sipc.c:279:3: note: in expansion of macro 'pr_info' [ 130s] pr_info("sipc:[%d] ap2cp_int_ctrl=0x%lx, ap2cp_ctrl_phy=0x%x, cp2ap_int_ctrl=0x%lx, cp2ap_ctrl_phy=0x%x\n", [ 130s] ^~~~~~~ [ 130s] include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] [ 130s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 130s] ^ [ 130s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 130s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 130s] ^~~~~~~~ [ 130s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 130s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 130s] ^~~~~~~~~ [ 130s] drivers/sipc/sipc.c:279:3: note: in expansion of macro 'pr_info' [ 130s] pr_info("sipc:[%d] ap2cp_int_ctrl=0x%lx, ap2cp_ctrl_phy=0x%x, cp2ap_int_ctrl=0x%lx, cp2ap_ctrl_phy=0x%x\n", [ 130s] ^~~~~~~ [ 130s] drivers/sipc/sipc.c: In function 'sipc_destroy_pdata': [ 130s] drivers/sipc/sipc.c:348:36: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 130s] struct sipc_init_data *pdata = ppdata; [ 130s] ^~~~~~ [ 130s] CC drivers/gpu/drm/drm_debugfs.o [ 130s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_csc.o [ 130s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_pre_cdn_rgb.o [ 130s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_pstrz.o [ 130s] CC drivers/md/dm-io.o [ 130s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_raw_afm.o [ 130s] LD drivers/hid/usbhid/usbhid.o [ 130s] CC net/ipv4/ip_forward.o [ 130s] LD drivers/hid/usbhid/built-in.o [ 130s] LD drivers/misc/sdiodev/sdiodevhal.o [ 130s] LD drivers/hid/built-in.o [ 130s] LD drivers/misc/sdiodev/built-in.o [ 130s] LD drivers/misc/sprd_2351/built-in.o [ 130s] CC drivers/gpu/drm/drm_encoder_slave.o [ 130s] CC drivers/spi/spi.o [ 130s] CC drivers/sipc/smsg.o [ 130s] CC drivers/misc/sprd_coda7l/vpu.o [ 130s] In file included from include/linux/printk.h:6:0, [ 130s] from include/linux/kernel.h:13, [ 130s] from include/linux/cache.h:4, [ 130s] from include/linux/time.h:4, [ 130s] from include/linux/stat.h:18, [ 130s] from include/linux/module.h:10, [ 130s] from net/ipv4/ip_input.c:118: [ 130s] net/ipv4/ip_input.c: In function 'ip_rcv': [ 130s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct sk_buff *' [-Wformat=] [ 130s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 130s] ^ [ 130s] include/linux/kern_levels.h:11:22: note: in expansion of macro 'KERN_SOH' [ 130s] #define KERN_WARNING KERN_SOH "4" /* warning conditions */ [ 130s] ^~~~~~~~ [ 130s] net/ipv4/ip_input.c:385:10: note: in expansion of macro 'KERN_WARNING' [ 130s] printk(KERN_WARNING "ip_rcv skb 0x%x type PACKET_OTHERHOST dev %s adjust to PACKET_HOST\n", skb, dev->name); [ 130s] ^~~~~~~~~~~~ [ 131s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_yiq_aem.o [ 131s] CC drivers/platform/sprd/sec_getlog.o [ 131s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.o [ 131s] CC drivers/media/sprd_sensor/csi2/csi_access.o [ 131s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_yiq_afm.o [ 131s] CC drivers/regulator/sc2723-regulator_dt.o [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c: In function 'smsg_irq_handler': [ 131s] drivers/sipc/smsg.c:54:15: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] while (readl(ipc->rxbuf_wrptr) != readl(ipc->rxbuf_rdptr)) { [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:54:9: note: in expansion of macro 'readl' [ 131s] while (readl(ipc->rxbuf_wrptr) != readl(ipc->rxbuf_rdptr)) { [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:54:42: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] while (readl(ipc->rxbuf_wrptr) != readl(ipc->rxbuf_rdptr)) { [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:54:36: note: in expansion of macro 'readl' [ 131s] while (readl(ipc->rxbuf_wrptr) != readl(ipc->rxbuf_rdptr)) { [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:55:18: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] rxpos = (readl(ipc->rxbuf_rdptr) & (ipc->rxbuf_size - 1)) * [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:55:12: note: in expansion of macro 'readl' [ 131s] rxpos = (readl(ipc->rxbuf_rdptr) & (ipc->rxbuf_size - 1)) * [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:60:10: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] readl(ipc->rxbuf_wrptr), readl(ipc->rxbuf_rdptr), rxpos); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'readl' [ 131s] ##__VA_ARGS__); \ [ 131s] ^~~~~~~~~~~ [ 131s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 131s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 131s] ^~~~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:59:3: note: in expansion of macro 'pr_debug' [ 131s] pr_debug("irq get smsg: wrptr=%u, rdptr=%u, rxpos=0x%lx\n", [ 131s] ^~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:60:35: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] readl(ipc->rxbuf_wrptr), readl(ipc->rxbuf_rdptr), rxpos); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'readl' [ 131s] ##__VA_ARGS__); \ [ 131s] ^~~~~~~~~~~ [ 131s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 131s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 131s] ^~~~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:59:3: note: in expansion of macro 'pr_debug' [ 131s] pr_debug("irq get smsg: wrptr=%u, rdptr=%u, rxpos=0x%lx\n", [ 131s] ^~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:68:18: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' [ 131s] #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:478:36: note: in expansion of macro 'writel_relaxed' [ 131s] #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) [ 131s] ^~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:68:5: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~~ [ 131s] include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' [ 131s] #define le32_to_cpu __le32_to_cpu [ 131s] ^~~~~~~~~~~~~ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:68:12: note: in expansion of macro 'readl' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] drivers/sipc/smsg.c:68:41: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 131s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 131s] ^ [ 131s] drivers/sipc/smsg.c:68:5: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:79:17: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' [ 131s] #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:478:36: note: in expansion of macro 'writel_relaxed' [ 131s] #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) [ 131s] ^~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:79:4: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~~ [ 131s] include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' [ 131s] #define le32_to_cpu __le32_to_cpu [ 131s] ^~~~~~~~~~~~~ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:79:11: note: in expansion of macro 'readl' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] drivers/sipc/smsg.c:79:40: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 131s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 131s] ^ [ 131s] drivers/sipc/smsg.c:79:4: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:98:17: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' [ 131s] #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:478:36: note: in expansion of macro 'writel_relaxed' [ 131s] #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) [ 131s] ^~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:98:4: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~~ [ 131s] include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' [ 131s] #define le32_to_cpu __le32_to_cpu [ 131s] ^~~~~~~~~~~~~ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:98:11: note: in expansion of macro 'readl' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] drivers/sipc/smsg.c:98:40: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 131s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 131s] ^ [ 131s] drivers/sipc/smsg.c:98:4: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:118:16: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' [ 131s] #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:478:36: note: in expansion of macro 'writel_relaxed' [ 131s] #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) [ 131s] ^~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:118:3: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~~ [ 131s] include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' [ 131s] #define le32_to_cpu __le32_to_cpu [ 131s] ^~~~~~~~~~~~~ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:118:10: note: in expansion of macro 'readl' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] drivers/sipc/smsg.c:118:39: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 131s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 131s] ^ [ 131s] drivers/sipc/smsg.c:118:3: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); [ 131s] ^~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c: In function 'smsg_send': [ 131s] drivers/sipc/smsg.c:326:18: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] if ((int)(readl(ipc->txbuf_wrptr) - [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:326:12: note: in expansion of macro 'readl' [ 131s] if ((int)(readl(ipc->txbuf_wrptr) - [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:327:9: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] readl(ipc->txbuf_rdptr)) >= ipc->txbuf_size) { [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:327:3: note: in expansion of macro 'readl' [ 131s] readl(ipc->txbuf_rdptr)) >= ipc->txbuf_size) { [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:334:17: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] txpos = (readl(ipc->txbuf_wrptr) & (ipc->txbuf_size - 1)) * [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:334:11: note: in expansion of macro 'readl' [ 131s] txpos = (readl(ipc->txbuf_wrptr) & (ipc->txbuf_size - 1)) * [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:339:10: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] readl(ipc->txbuf_wrptr), [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'readl' [ 131s] ##__VA_ARGS__); \ [ 131s] ^~~~~~~~~~~ [ 131s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 131s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 131s] ^~~~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:338:2: note: in expansion of macro 'pr_debug' [ 131s] pr_debug("write smsg: wrptr=%u, rdptr=%u, txpos=0x%lx\n", [ 131s] ^~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:340:10: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] readl(ipc->txbuf_rdptr), txpos); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'readl' [ 131s] ##__VA_ARGS__); \ [ 131s] ^~~~~~~~~~~ [ 131s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 131s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 131s] ^~~~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:338:2: note: in expansion of macro 'pr_debug' [ 131s] pr_debug("write smsg: wrptr=%u, rdptr=%u, txpos=0x%lx\n", [ 131s] ^~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:343:15: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' [ 131s] #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:478:36: note: in expansion of macro 'writel_relaxed' [ 131s] #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) [ 131s] ^~~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:343:2: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); [ 131s] ^~~~~~ [ 131s] include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' [ 131s] #define le32_to_cpu __le32_to_cpu [ 131s] ^~~~~~~~~~~~~ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:343:9: note: in expansion of macro 'readl' [ 131s] writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] drivers/sipc/smsg.c:343:38: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 131s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 131s] ^ [ 131s] drivers/sipc/smsg.c:343:2: note: in expansion of macro 'writel' [ 131s] writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); [ 131s] ^~~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 131s] ^~~~~~~~~~~~ [ 131s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c: In function 'smsg_debug_show': [ 131s] drivers/sipc/smsg.c:467:83: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] smsg_sipc->txbuf_addr, smsg_sipc->txbuf_size, smsg_sipc->txbuf_rdptr, readl(smsg_sipc->txbuf_rdptr), smsg_sipc->txbuf_wrptr, readl(smsg_sipc->txbuf_wrptr)); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:467:77: note: in expansion of macro 'readl' [ 131s] smsg_sipc->txbuf_addr, smsg_sipc->txbuf_size, smsg_sipc->txbuf_rdptr, readl(smsg_sipc->txbuf_rdptr), smsg_sipc->txbuf_wrptr, readl(smsg_sipc->txbuf_wrptr)); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:467:138: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] smsg_sipc->txbuf_addr, smsg_sipc->txbuf_size, smsg_sipc->txbuf_rdptr, readl(smsg_sipc->txbuf_rdptr), smsg_sipc->txbuf_wrptr, readl(smsg_sipc->txbuf_wrptr)); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:467:132: note: in expansion of macro 'readl' [ 131s] smsg_sipc->txbuf_addr, smsg_sipc->txbuf_size, smsg_sipc->txbuf_rdptr, readl(smsg_sipc->txbuf_rdptr), smsg_sipc->txbuf_wrptr, readl(smsg_sipc->txbuf_wrptr)); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:466:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uintptr_t {aka long unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "txbufAddr: 0x%0x, txbufsize: 0x%0x, txbufrdptr: [0x%0x]=%lu, txbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/sipc/smsg.c:466:71: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'uintptr_t {aka long unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "txbufAddr: 0x%0x, txbufsize: 0x%0x, txbufrdptr: [0x%0x]=%lu, txbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/sipc/smsg.c:466:76: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'u32 {aka unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "txbufAddr: 0x%0x, txbufsize: 0x%0x, txbufrdptr: [0x%0x]=%lu, txbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/sipc/smsg.c:466:96: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'uintptr_t {aka long unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "txbufAddr: 0x%0x, txbufsize: 0x%0x, txbufrdptr: [0x%0x]=%lu, txbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/sipc/smsg.c:466:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'u32 {aka unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "txbufAddr: 0x%0x, txbufsize: 0x%0x, txbufrdptr: [0x%0x]=%lu, txbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:469:83: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] smsg_sipc->rxbuf_addr, smsg_sipc->rxbuf_size, smsg_sipc->rxbuf_rdptr, readl(smsg_sipc->rxbuf_rdptr), smsg_sipc->rxbuf_wrptr, readl(smsg_sipc->rxbuf_wrptr)); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:469:77: note: in expansion of macro 'readl' [ 131s] smsg_sipc->rxbuf_addr, smsg_sipc->rxbuf_size, smsg_sipc->rxbuf_rdptr, readl(smsg_sipc->rxbuf_rdptr), smsg_sipc->rxbuf_wrptr, readl(smsg_sipc->rxbuf_wrptr)); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 131s] from include/asm-generic/bitops/le.h:5, [ 131s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 131s] from include/linux/bitops.h:30, [ 131s] from include/linux/kernel.h:10, [ 131s] from drivers/sipc/smsg.c:14: [ 131s] drivers/sipc/smsg.c:469:138: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] smsg_sipc->rxbuf_addr, smsg_sipc->rxbuf_size, smsg_sipc->rxbuf_rdptr, readl(smsg_sipc->rxbuf_rdptr), smsg_sipc->rxbuf_wrptr, readl(smsg_sipc->rxbuf_wrptr)); [ 131s] ^ [ 131s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 131s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 131s] ^ [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 131s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 131s] ^~~~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:469:132: note: in expansion of macro 'readl' [ 131s] smsg_sipc->rxbuf_addr, smsg_sipc->rxbuf_size, smsg_sipc->rxbuf_rdptr, readl(smsg_sipc->rxbuf_rdptr), smsg_sipc->rxbuf_wrptr, readl(smsg_sipc->rxbuf_wrptr)); [ 131s] ^~~~~ [ 131s] In file included from include/linux/io.h:22:0, [ 131s] from drivers/sipc/smsg.c:22: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'uintptr_t {aka long unsigned int}' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] drivers/sipc/smsg.c:468:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uintptr_t {aka long unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "rxbufAddr: 0x%0x, rxbufsize: 0x%0x, rxbufrdptr: [0x%0x]=%lu, rxbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/sipc/smsg.c:468:71: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'uintptr_t {aka long unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "rxbufAddr: 0x%0x, rxbufsize: 0x%0x, rxbufrdptr: [0x%0x]=%lu, rxbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/sipc/smsg.c:468:76: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'u32 {aka unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "rxbufAddr: 0x%0x, rxbufsize: 0x%0x, rxbufrdptr: [0x%0x]=%lu, rxbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/sipc/smsg.c:468:96: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'uintptr_t {aka long unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "rxbufAddr: 0x%0x, rxbufsize: 0x%0x, rxbufrdptr: [0x%0x]=%lu, rxbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/sipc/smsg.c:468:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'u32 {aka unsigned int}' [-Wformat=] [ 131s] seq_printf(m, "rxbufAddr: 0x%0x, rxbufsize: 0x%0x, rxbufrdptr: [0x%0x]=%lu, rxbufwrptr: [0x%0x]=%lu\n", [ 131s] ^ [ 131s] drivers/misc/sprd_coda7l/vpu.c:239:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static int vpu_power_on(); [ 131s] ^~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:240:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static int vpu_power_shutdown(); [ 131s] ^~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:299:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static int vpu_power_on() [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] drivers/misc/sprd_coda7l/vpu.c: In function 'vpu_power_on': [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:116:40: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_PMU_APB_PD_CODEC_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0154)/*PD_CODEC_TOP_CFG*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:222:31: note: in expansion of macro 'REG_PMU_APB_PD_CODEC_TOP_CFG' [ 131s] #define REG_PMU_APB_CODEC_CFG REG_PMU_APB_PD_CODEC_TOP_CFG [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:301:49: note: in expansion of macro 'REG_PMU_APB_CODEC_CFG' [ 131s] __raw_writel(AUTO_SHUTDOWN_EN | __raw_readl(REG_PMU_APB_CODEC_CFG), REG_PMU_APB_CODEC_CFG); [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:116:40: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_PMU_APB_PD_CODEC_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0154)/*PD_CODEC_TOP_CFG*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:222:31: note: in expansion of macro 'REG_PMU_APB_PD_CODEC_TOP_CFG' [ 131s] #define REG_PMU_APB_CODEC_CFG REG_PMU_APB_PD_CODEC_TOP_CFG [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:301:73: note: in expansion of macro 'REG_PMU_APB_CODEC_CFG' [ 131s] __raw_writel(AUTO_SHUTDOWN_EN | __raw_readl(REG_PMU_APB_CODEC_CFG), REG_PMU_APB_CODEC_CFG); [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:116:40: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_PMU_APB_PD_CODEC_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0154)/*PD_CODEC_TOP_CFG*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:222:31: note: in expansion of macro 'REG_PMU_APB_PD_CODEC_TOP_CFG' [ 131s] #define REG_PMU_APB_CODEC_CFG REG_PMU_APB_PD_CODEC_TOP_CFG [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:302:50: note: in expansion of macro 'REG_PMU_APB_CODEC_CFG' [ 131s] __raw_writel((~FORCE_SHUTDOWN) & __raw_readl(REG_PMU_APB_CODEC_CFG), REG_PMU_APB_CODEC_CFG); [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:116:40: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_PMU_APB_PD_CODEC_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0154)/*PD_CODEC_TOP_CFG*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:222:31: note: in expansion of macro 'REG_PMU_APB_PD_CODEC_TOP_CFG' [ 131s] #define REG_PMU_APB_CODEC_CFG REG_PMU_APB_PD_CODEC_TOP_CFG [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:302:74: note: in expansion of macro 'REG_PMU_APB_CODEC_CFG' [ 131s] __raw_writel((~FORCE_SHUTDOWN) & __raw_readl(REG_PMU_APB_CODEC_CFG), REG_PMU_APB_CODEC_CFG); [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c: At top level: [ 131s] drivers/misc/sprd_coda7l/vpu.c:306:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static int vpu_power_shutdown() [ 131s] ^~~~~~~~~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] drivers/misc/sprd_coda7l/vpu.c: In function 'vpu_power_shutdown': [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:116:40: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_PMU_APB_PD_CODEC_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0154)/*PD_CODEC_TOP_CFG*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:222:31: note: in expansion of macro 'REG_PMU_APB_PD_CODEC_TOP_CFG' [ 131s] #define REG_PMU_APB_CODEC_CFG REG_PMU_APB_PD_CODEC_TOP_CFG [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:308:47: note: in expansion of macro 'REG_PMU_APB_CODEC_CFG' [ 131s] __raw_writel(FORCE_SHUTDOWN | __raw_readl(REG_PMU_APB_CODEC_CFG), REG_PMU_APB_CODEC_CFG); [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:116:40: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_PMU_APB_PD_CODEC_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0154)/*PD_CODEC_TOP_CFG*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:222:31: note: in expansion of macro 'REG_PMU_APB_PD_CODEC_TOP_CFG' [ 131s] #define REG_PMU_APB_CODEC_CFG REG_PMU_APB_PD_CODEC_TOP_CFG [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:308:71: note: in expansion of macro 'REG_PMU_APB_CODEC_CFG' [ 131s] __raw_writel(FORCE_SHUTDOWN | __raw_readl(REG_PMU_APB_CODEC_CFG), REG_PMU_APB_CODEC_CFG); [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:116:40: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_PMU_APB_PD_CODEC_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0154)/*PD_CODEC_TOP_CFG*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:222:31: note: in expansion of macro 'REG_PMU_APB_PD_CODEC_TOP_CFG' [ 131s] #define REG_PMU_APB_CODEC_CFG REG_PMU_APB_PD_CODEC_TOP_CFG [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:309:52: note: in expansion of macro 'REG_PMU_APB_CODEC_CFG' [ 131s] __raw_writel((~AUTO_SHUTDOWN_EN) & __raw_readl(REG_PMU_APB_CODEC_CFG), REG_PMU_APB_CODEC_CFG); [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:116:40: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_PMU_APB_PD_CODEC_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0154)/*PD_CODEC_TOP_CFG*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:222:31: note: in expansion of macro 'REG_PMU_APB_PD_CODEC_TOP_CFG' [ 131s] #define REG_PMU_APB_CODEC_CFG REG_PMU_APB_PD_CODEC_TOP_CFG [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:309:76: note: in expansion of macro 'REG_PMU_APB_CODEC_CFG' [ 131s] __raw_writel((~AUTO_SHUTDOWN_EN) & __raw_readl(REG_PMU_APB_CODEC_CFG), REG_PMU_APB_CODEC_CFG); [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 131s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c: In function 'vpu_release': [ 131s] drivers/misc/sprd_coda7l/vpu.c:841:9: warning: unused variable 'reg_addr' [-Wunused-variable] [ 131s] int reg_addr; [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c: In function 'vpu_probe': [ 131s] drivers/misc/sprd_coda7l/vpu.c:1008:9: warning: unused variable 'reg_addr' [-Wunused-variable] [ 131s] int reg_addr; [ 131s] ^~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] drivers/misc/sprd_coda7l/vpu.c: In function 'vpu_init': [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:73:34: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_AON_APB_BOND_OPT0 SCI_ADDR(REGS_AON_APB_BASE, 0x3060)/*BOND_OPT0*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.h:107:116: note: in expansion of macro 'REG_AON_APB_BOND_OPT0' [ 131s] #define vpu_logd(fmt, ...) printk(KERN_WARNING "[DEBUG][" LOG_TAG "]" "[F:%s-L:%d]" fmt, __FUNCTION__, __LINE__, ##__VA_ARGS__) [ 131s] ^~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:1166:5: note: in expansion of macro 'vpu_logd' [ 131s] vpu_logd("vpu_init, REG_AON_APB_BOND_OPT0 = 0x%x\n", __raw_readl(REG_AON_APB_BOND_OPT0)); [ 131s] ^~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:73:34: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_AON_APB_BOND_OPT0 SCI_ADDR(REGS_AON_APB_BASE, 0x3060)/*BOND_OPT0*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:1168:20: note: in expansion of macro 'REG_AON_APB_BOND_OPT0' [ 131s] if(__raw_readl(REG_AON_APB_BOND_OPT0) & (1<<12)) { [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] In file included from drivers/misc/sprd_coda7l/vpu.c:49:0: [ 131s] drivers/misc/sprd_coda7l/vpu.c: In function 'vpu_exit': [ 131s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 131s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 131s] ^ [ 131s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:73:34: note: in expansion of macro 'SCI_ADDR' [ 131s] #define REG_AON_APB_BOND_OPT0 SCI_ADDR(REGS_AON_APB_BASE, 0x3060)/*BOND_OPT0*/ [ 131s] ^~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:1192:20: note: in expansion of macro 'REG_AON_APB_BOND_OPT0' [ 131s] if(__raw_readl(REG_AON_APB_BOND_OPT0) & (1<<12)) { [ 131s] ^~~~~~~~~~~~~~~~~~~~~ [ 131s] In file included from include/linux/scatterlist.h:10:0, [ 131s] from include/linux/dma-mapping.h:9, [ 131s] from drivers/misc/sprd_coda7l/vpu.c:31: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 131s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 131s] ^~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c: At top level: [ 131s] drivers/misc/sprd_coda7l/vpu.c:1302:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static int vpu_set_parent_for_coda7l_clk() [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:237:12: warning: 'vpu_set_clk_by_register' declared 'static' but never defined [-Wunused-function] [ 131s] static int vpu_set_clk_by_register(void); [ 131s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:1563:6: warning: 'vpu_clk_disable' defined but not used [-Wunused-function] [ 131s] void vpu_clk_disable(struct clk *clk) [ 131s] ^~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:1532:5: warning: 'vpu_clk_enable' defined but not used [-Wunused-function] [ 131s] int vpu_clk_enable(struct clk *clk) [ 131s] ^~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:1523:13: warning: 'vpu_clk_get' defined but not used [-Wunused-function] [ 131s] struct clk *vpu_clk_get(struct device *dev) [ 131s] ^~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:286:12: warning: 'find_vpu_freq_level' defined but not used [-Wunused-function] [ 131s] static int find_vpu_freq_level(unsigned long freq, struct clock_name_map_t clk_map[]) [ 131s] ^~~~~~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:231:12: warning: 's_run_codstd' defined but not used [-Wunused-variable] [ 131s] static u32 s_run_codstd; [ 131s] ^~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:230:12: warning: 's_run_index' defined but not used [-Wunused-variable] [ 131s] static u32 s_run_index; [ 131s] ^~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:229:12: warning: 's_vpu_reg_store' defined but not used [-Wunused-variable] [ 131s] static u32 s_vpu_reg_store[MAX_NUM_VPU_CORE][64]; [ 131s] ^~~~~~~~~~~~~~~ [ 131s] drivers/misc/sprd_coda7l/vpu.c:200:23: warning: 'vpu_hw_dev' defined but not used [-Wunused-variable] [ 131s] static struct vpu_dev vpu_hw_dev; [ 131s] ^~~~~~~~~~ [ 131s] drivers/platform/sprd/sec_getlog.c: In function 'sec_getlog_supply_kloginfo': [ 131s] drivers/platform/sprd/sec_getlog.c:129:27: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 131s] kernel_log_mark.klog_buf = 0xC6B00010; [ 131s] ^ [ 131s] CC drivers/media/sprd_sensor/csi2/csi_driver.o [ 131s] drivers/media/sprd_sensor/csi2/csi_driver.c:33:18: warning: extra tokens at end of #ifdef directive [ 131s] #ifdef IS_ENABLED(VERSION3T) || IS_ENABLED(VERSION3D) [ 131s] ^ [ 131s] drivers/media/sprd_sensor/csi2/csi_driver.c:107:7: warning: extra tokens at end of #else directive [-Wendif-labels] [ 131s] #else IS_ENABLED(VERSION3L) [ 131s] ^~~~~~~~~~ [ 131s] drivers/media/sprd_sensor/csi2/csi_driver.c: In function 'csi_init': [ 131s] drivers/media/sprd_sensor/csi2/csi_driver.c:282:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [ 131s] access_init((u32*)base_address); [ 131s] ^ [ 131s] In file included from drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:19:0: [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c: In function 'isp_k_afl_param_update': [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/inc/isp_drv.h:23:35: warning: use of 'l' length modifier with 'p' type character has either no effect or undefined behavior [-Wformat=] [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:42:3: note: in expansion of macro 'printk' [ 131s] printk("$$LHC:addr %lp yiq_antiflicker_buf_addr %lp\n", addr, (int *)isp_private->yiq_antiflicker_buf_addr); [ 131s] ^~~~~~ [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/inc/isp_drv.h:23:35: warning: use of 'l' length modifier with 'p' type character has either no effect or undefined behavior [-Wformat=] [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:42:3: note: in expansion of macro 'printk' [ 131s] printk("$$LHC:addr %lp yiq_antiflicker_buf_addr %lp\n", addr, (int *)isp_private->yiq_antiflicker_buf_addr); [ 131s] ^~~~~~ [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c: In function 'isp_k_afl_statistic': [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:57:45: warning: passing argument 2 of 'copy_to_user' makes pointer from integer without a cast [-Wint-conversion] [ 131s] ret = copy_to_user(param->property_param, isp_private->yiq_antiflicker_buf_addr, isp_private->yiq_antiflicker_len); [ 131s] ^~~~~~~~~~~ [ 131s] In file included from include/linux/uaccess.h:5:0, [ 131s] from drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:14: [ 131s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/uaccess.h:442:42: note: expected 'const void *' but argument is of type 'long unsigned int' [ 131s] static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n) [ 131s] ^~~~~~~~~~~~ [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:62:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 131s] addr = isp_private->yiq_antiflicker_buf_addr; [ 131s] ^ [ 131s] In file included from drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:19:0: [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/inc/isp_drv.h:23:35: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:69:3: note: in expansion of macro 'printk' [ 131s] printk("$$LHC 0x%x, 0x%x, %d\n", isp_private->yiq_antiflicker_buf_addr, param->property_param, isp_private->yiq_antiflicker_len); [ 131s] ^~~~~~ [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/inc/isp_drv.h:23:35: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'void *' [-Wformat=] [ 131s] drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_anti_flicker.c:69:3: note: in expansion of macro 'printk' [ 131s] printk("$$LHC 0x%x, 0x%x, %d\n", isp_private->yiq_antiflicker_buf_addr, param->property_param, isp_private->yiq_antiflicker_len); [ 131s] ^~~~~~ [ 131s] net/ipv4/ip_forward.c:48:13: warning: 'ip_exceeds_mtu' defined but not used [-Wunused-function] [ 131s] static bool ip_exceeds_mtu(const struct sk_buff *skb, unsigned int mtu) [ 131s] ^~~~~~~~~~~~~~ [ 131s] net/ipv4/ip_forward.c:42:13: warning: 'ip_may_fragment' defined but not used [-Wunused-function] [ 131s] static bool ip_may_fragment(const struct sk_buff *skb) [ 131s] ^~~~~~~~~~~~~~~ [ 131s] LD drivers/of/built-in.o [ 131s] In file included from drivers/regulator/sc2723-regulator_dt.c:44:0: [ 131s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 131s] ^~~~~~~~~~~~ [ 131s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 131s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 131s] ^~~~~~~~~~~~ [ 131s] LD drivers/sensors/built-in.o [ 131s] CC drivers/staging/staging.o [ 131s] CC net/ipv6/udp.o [ 131s] CC drivers/switch/switch_class.o [ 131s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 131s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 131s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 131s] [ 131s] In file included from include/soc/sprd/hardware.h:34:0, [ 131s] from drivers/platform/sprd/busmonitor.c:32: [ 131s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 131s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 131s] [ 131s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 131s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 131s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 131s] [ 131s] In file included from include/soc/sprd/hardware.h:34:0, [ 131s] from drivers/platform/sprd/busmonitor.c:32: [ 131s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 131s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 131s] [ 131s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 131s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 131s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 131s] [ 131s] In file included from include/soc/sprd/hardware.h:34:0, [ 131s] from drivers/platform/sprd/busmonitor.c:32: [ 131s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 131s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 131s] [ 131s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 131s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 131s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 131s] [ 131s] In file included from include/soc/sprd/hardware.h:34:0, [ 131s] from drivers/platform/sprd/busmonitor.c:32: [ 131s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 131s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 131s] [ 131s] In file included from drivers/platform/sprd/busmonitor.c:33:0: [ 131s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 131s] #define SCI_ADDR(x, y) \ [ 131s] [ 131s] In file included from include/soc/sprd/hardware.h:34:0, [ 131s] from drivers/platform/sprd/busmonitor.c:32: [ 131s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 131s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 131s] [ 131s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_pre_cdn.o [ 132s] CC drivers/media/sprd_sensor/csi2/csi_log.o [ 132s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_prefilter.o [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec_debug.c:40: [ 132s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 132s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/platform/sprd/sec_debug.c:39: [ 132s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 132s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 132s] [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec_debug.c:40: [ 132s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 132s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/platform/sprd/sec_debug.c:39: [ 132s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 132s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 132s] [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec_debug.c:40: [ 132s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 132s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/platform/sprd/sec_debug.c:39: [ 132s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 132s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 132s] [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec_debug.c:40: [ 132s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 132s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/platform/sprd/sec_debug.c:39: [ 132s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 132s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 132s] [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec_debug.c:40: [ 132s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 132s] #define SCI_ADDR(x, y) \ [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/platform/sprd/sec_debug.c:39: [ 132s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 132s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 132s] [ 132s] CC net/ipv4/ip_options.o [ 132s] CC drivers/staging/android/ion/ion.o [ 132s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_brightness.o [ 132s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_contrast.o [ 132s] CC drivers/gpu/drm/drm_trace_points.o [ 132s] CC drivers/scsi/hosts.o [ 132s] LD drivers/misc/sprd_coda7l/built-in.o [ 132s] CC drivers/misc/sprd_cproc/sprd_cproc.o [ 132s] CC drivers/media/sprd_sensor/csi2/csi_system.o [ 132s] CC drivers/mmc/core/mmc.o [ 132s] CC drivers/platform/sprd/sec-reboot.o [ 132s] CC drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.o [ 132s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_hist.o [ 132s] CC drivers/platform/sprd/sec_log.o [ 132s] In file included from drivers/misc/sprd_cproc/sprd_cproc.c:38:0: [ 132s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 132s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/misc/sprd_cproc/sprd_cproc.c:34: [ 132s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 132s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 132s] [ 132s] In file included from drivers/misc/sprd_cproc/sprd_cproc.c:38:0: [ 132s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 132s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/misc/sprd_cproc/sprd_cproc.c:34: [ 132s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 132s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 132s] [ 132s] In file included from drivers/misc/sprd_cproc/sprd_cproc.c:38:0: [ 132s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 132s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/misc/sprd_cproc/sprd_cproc.c:34: [ 132s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 132s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 132s] [ 132s] In file included from drivers/misc/sprd_cproc/sprd_cproc.c:38:0: [ 132s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 132s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/misc/sprd_cproc/sprd_cproc.c:34: [ 132s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 132s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 132s] [ 132s] In file included from drivers/misc/sprd_cproc/sprd_cproc.c:38:0: [ 132s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 132s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 132s] ^~~~~~~~~~~~ [ 132s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 132s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 132s] ^~~~~~~~~~~~ [ 132s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 132s] #define SCI_ADDR(x, y) \ [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from drivers/misc/sprd_cproc/sprd_cproc.c:34: [ 132s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 132s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 132s] [ 132s] In file included from include/linux/printk.h:6:0, [ 132s] from include/linux/kernel.h:13, [ 132s] from drivers/misc/sprd_cproc/sprd_cproc.c:15: [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c: In function 'cproc_proc_read': [ 132s] include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t {aka unsigned int}' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_ERR KERN_SOH "3" /* error conditions */ [ 132s] ^~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:207:12: note: in expansion of macro 'KERN_ERR' [ 132s] printk(KERN_ERR "Unable to map cproc base: 0x%lx\n", addr); [ 132s] ^~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c: In function 'cproc_proc_write': [ 132s] include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t {aka unsigned int}' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_ERR KERN_SOH "3" /* error conditions */ [ 132s] ^~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:331:11: note: in expansion of macro 'KERN_ERR' [ 132s] printk(KERN_ERR "Unable to map cproc base: 0x%lx\n", addr); [ 132s] ^~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c: In function 'sprd_cproc_native_cp_start': [ 132s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 132s] ^~~~~~~~ [ 132s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 132s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 132s] ^~~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:521:9: note: in expansion of macro 'pr_info' [ 132s] pr_info("deep sllep reg =0x%x, reset reg =0x%x\n", ctrl->ctrl_reg[CPROC_CTRL_DEEP_SLEEP], ctrl->ctrl_reg[CPROC_CTRL_RESET]); [ 132s] ^~~~~~~ [ 132s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 132s] ^~~~~~~~ [ 132s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 132s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 132s] ^~~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:521:9: note: in expansion of macro 'pr_info' [ 132s] pr_info("deep sllep reg =0x%x, reset reg =0x%x\n", ctrl->ctrl_reg[CPROC_CTRL_DEEP_SLEEP], ctrl->ctrl_reg[CPROC_CTRL_RESET]); [ 132s] ^~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:491:11: warning: unused variable 'value' [-Wunused-variable] [ 132s] uint32_t value, state; [ 132s] ^~~~~ [ 132s] In file included from include/linux/printk.h:6:0, [ 132s] from include/linux/kernel.h:13, [ 132s] from drivers/misc/sprd_cproc/sprd_cproc.c:15: [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c: In function 'sprd_cproc_parse_dt': [ 132s] include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t {aka unsigned int}' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 132s] ^~~~~~~~ [ 132s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 132s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 132s] ^~~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:724:2: note: in expansion of macro 'pr_info' [ 132s] pr_info("sprd_cproc: base 0x%lx\n", reg_base[i]); [ 132s] ^~~~~~~ [ 132s] include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 132s] ^~~~~~~~ [ 132s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 132s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 132s] ^~~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:732:17: note: in expansion of macro 'pr_info' [ 132s] pr_info("sprd_cproc before p2v: ctrl_reg[%d] = 0x%lx\n", i, ctrl_reg[i]); [ 132s] ^~~~~~~ [ 132s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 132s] ^~~~~~~~ [ 132s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 132s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 132s] ^~~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:776:2: note: in expansion of macro 'pr_info' [ 132s] pr_info("sprd_cproc: iram_addr=0x%x\n", ctrl->iram_addr); [ 132s] ^~~~~~~ [ 132s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'int (*)(void *)' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 132s] ^~~~~~~~ [ 132s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 132s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 132s] ^~~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:803:2: note: in expansion of macro 'pr_info' [ 132s] pr_info("sprd_cproc: stop callback 0x%x, start callback 0x%x\n", [ 132s] ^~~~~~~ [ 132s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'int (*)(void *)' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 132s] ^~~~~~~~ [ 132s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 132s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 132s] ^~~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:803:2: note: in expansion of macro 'pr_info' [ 132s] pr_info("sprd_cproc: stop callback 0x%x, start callback 0x%x\n", [ 132s] ^~~~~~~ [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 132s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from include/soc/sprd/system.h:17, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 132s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 132s] [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:692:17: warning: unused variable 'offset' [-Wunused-variable] [ 132s] uint32_t base, offset; [ 132s] ^~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:692:11: warning: unused variable 'base' [-Wunused-variable] [ 132s] uint32_t base, offset; [ 132s] ^~~~ [ 132s] In file included from include/linux/printk.h:6:0, [ 132s] from include/linux/kernel.h:13, [ 132s] from drivers/misc/sprd_cproc/sprd_cproc.c:15: [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c: In function 'sprd_cproc_probe': [ 132s] include/linux/kern_levels.h:4:18: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'long unsigned int' [-Wformat=] [ 132s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 132s] ^ [ 132s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 132s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 132s] ^~~~~~~~ [ 132s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 132s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 132s] ^~~~~~~~~ [ 132s] drivers/misc/sprd_cproc/sprd_cproc.c:868:2: note: in expansion of macro 'pr_info' [ 132s] pr_info("%s %p %x\n", __func__, pdata->base, pdata->maxsz); [ 132s] ^~~~~~~ [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 132s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from include/soc/sprd/system.h:17, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 132s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 132s] [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 132s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from include/soc/sprd/system.h:17, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 132s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 132s] [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 132s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from include/soc/sprd/system.h:17, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 132s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 132s] [ 132s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 132s] from include/soc/sprd/system.h:18, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 132s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 132s] ^~~~~~~~~~~~ [ 132s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 132s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 132s] ^~~~~~~~~~~~ [ 132s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 132s] #define SCI_ADDR(x, y) \ [ 132s] [ 132s] In file included from include/soc/sprd/hardware.h:34:0, [ 132s] from include/soc/sprd/system.h:17, [ 132s] from drivers/platform/sprd/sec-reboot.c:6: [ 132s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 132s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 132s] [ 132s] CC drivers/platform/sprd/timer_sc8830.o [ 132s] drivers/mmc/core/mmc.c:1497:12: warning: 'mmc_can_sleep' defined but not used [-Wunused-function] [ 132s] static int mmc_can_sleep(struct mmc_card *card) [ 132s] ^~~~~~~~~~~~~ [ 132s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_hist2.o [ 133s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_aca.o [ 133s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_cdn.o [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c: In function 'Sensor_PowerOn': [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:85:40: warning: passing argument 3 of 'z_ioctl' makes integer from pointer without a cast [-Wint-conversion] [ 133s] z_ioctl (pfile, SENSOR_IO_POWER_CFG, &power_cfg); [ 133s] ^ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:65:12: note: expected 'long unsigned int' but argument is of type 'struct sensor_power_info_tag *' [ 133s] static int z_ioctl (struct file *f, unsigned int cmd, unsigned long arg) [ 133s] ^~~~~~~ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:88:43: warning: passing argument 3 of 'z_ioctl' makes integer from pointer without a cast [-Wint-conversion] [ 133s] z_ioctl (pfile, SENSOR_IO_SET_MCLK, &mclk); [ 133s] ^ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:65:12: note: expected 'long unsigned int' but argument is of type 'uint32_t * {aka unsigned int *}' [ 133s] static int z_ioctl (struct file *f, unsigned int cmd, unsigned long arg) [ 133s] ^~~~~~~ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c: In function 'Sensor_WriteI2C': [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:104:50: warning: passing argument 3 of 'z_ioctl' makes integer from pointer without a cast [-Wint-conversion] [ 133s] ret = z_ioctl (pfile, SENSOR_IO_I2C_WRITE_EXT, &i2c_tab); [ 133s] ^ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:65:12: note: expected 'long unsigned int' but argument is of type 'struct sensor_i2c_tag *' [ 133s] static int z_ioctl (struct file *f, unsigned int cmd, unsigned long arg) [ 133s] ^~~~~~~ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c: In function 'Sensor_ReadI2C': [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:121:49: warning: passing argument 3 of 'z_ioctl' makes integer from pointer without a cast [-Wint-conversion] [ 133s] ret = z_ioctl (pfile, SENSOR_IO_I2C_READ_EXT, &i2c_tab); [ 133s] ^ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:65:12: note: expected 'long unsigned int' but argument is of type 'struct sensor_i2c_tag *' [ 133s] static int z_ioctl (struct file *f, unsigned int cmd, unsigned long arg) [ 133s] ^~~~~~~ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c: In function 'sensor_reloadinfo_thread': [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:223:49: warning: passing argument 3 of 'z_ioctl' makes integer from pointer without a cast [-Wint-conversion] [ 133s] ret = z_ioctl (pfile, SENSOR_IO_SET_I2CCLOCK, &clock); [ 133s] ^ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:65:12: note: expected 'long unsigned int' but argument is of type 'uint32_t * {aka unsigned int *}' [ 133s] static int z_ioctl (struct file *f, unsigned int cmd, unsigned long arg) [ 133s] ^~~~~~~ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:197:12: warning: unused variable 'is_need_checksum' [-Wunused-variable] [ 133s] uint32_t is_need_checksum = 0; [ 133s] ^~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:192:10: warning: unused variable 'otp_start_addr' [-Wunused-variable] [ 133s] loff_t otp_start_addr = 0; [ 133s] ^~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c: In function 'z_ioctl': [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:71:1: warning: control reaches end of non-void function [-Wreturn-type] [ 133s] } [ 133s] ^ [ 133s] At top level: [ 133s] drivers/media/sprd_sensor/otp/sensor_otp_coreprime3g_ve.c:60:21: warning: 'pdebugfile' defined but not used [-Wunused-variable] [ 133s] static struct file *pdebugfile = NULL; [ 133s] ^~~~~~~~~~ [ 133s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 133s] from drivers/platform/sprd/sec_log.c:36: [ 133s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 133s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from include/soc/sprd/sec_debug.h:21, [ 133s] from drivers/platform/sprd/sec_log.c:24: [ 133s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 133s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 133s] [ 133s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 133s] from drivers/platform/sprd/sec_log.c:36: [ 133s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 133s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from include/soc/sprd/sec_debug.h:21, [ 133s] from drivers/platform/sprd/sec_log.c:24: [ 133s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 133s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 133s] [ 133s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 133s] from drivers/platform/sprd/sec_log.c:36: [ 133s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 133s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from include/soc/sprd/sec_debug.h:21, [ 133s] from drivers/platform/sprd/sec_log.c:24: [ 133s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 133s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 133s] [ 133s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 133s] from drivers/platform/sprd/sec_log.c:36: [ 133s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 133s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from include/soc/sprd/sec_debug.h:21, [ 133s] from drivers/platform/sprd/sec_log.c:24: [ 133s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 133s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 133s] [ 133s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 133s] from drivers/platform/sprd/sec_log.c:36: [ 133s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 133s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 133s] ^~~~~~~~~~~~ [ 133s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 133s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 133s] ^~~~~~~~~~~~ [ 133s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 133s] #define SCI_ADDR(x, y) \ [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from include/soc/sprd/sec_debug.h:21, [ 133s] from drivers/platform/sprd/sec_log.c:24: [ 133s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 133s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 133s] [ 133s] drivers/platform/sprd/sec_log.c: In function 'sec_debug_set_last_regs_access': [ 133s] drivers/platform/sprd/sec_log.c:155:29: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 133s] sec_debug_last_regs_access = addr + offset; [ 133s] ^ [ 133s] drivers/platform/sprd/sec_log.c:157:33: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] sec_debug_local_hwlocks_status = sec_debug_last_regs_access + NR_CPUS; [ 133s] ^ [ 133s] drivers/platform/sprd/sec_log.c: In function 'sec_logbuf_conf_memtype': [ 133s] drivers/platform/sprd/sec_log.c:233:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 133s] base = sec_logbuf_base_addr; [ 133s] ^ [ 133s] drivers/platform/sprd/sec_log.c:234:30: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] [ 133s] sec_log_mag = phys_to_virt(base) + size_struct_sec_log_buffer + [ 133s] ^~~~ [ 133s] In file included from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/page.h:163:0, [ 133s] from include/linux/mmzone.h:20, [ 133s] from include/linux/bootmem.h:7, [ 133s] from drivers/platform/sprd/sec_log.c:17: [ 133s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/memory.h:223:21: note: expected 'phys_addr_t {aka unsigned int}' but argument is of type 'void *' [ 133s] static inline void *phys_to_virt(phys_addr_t x) [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/platform/sprd/sec_log.c:236:30: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] [ 133s] sec_log_ptr = phys_to_virt(base) + size_struct_sec_log_buffer + sec_logbuf_size; [ 133s] ^~~~ [ 133s] In file included from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/page.h:163:0, [ 133s] from include/linux/mmzone.h:20, [ 133s] from include/linux/bootmem.h:7, [ 133s] from drivers/platform/sprd/sec_log.c:17: [ 133s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/memory.h:223:21: note: expected 'phys_addr_t {aka unsigned int}' but argument is of type 'void *' [ 133s] static inline void *phys_to_virt(phys_addr_t x) [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/platform/sprd/sec_log.c:237:33: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] [ 133s] sec_log_buffer = phys_to_virt(base); [ 133s] ^~~~ [ 133s] In file included from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/page.h:163:0, [ 133s] from include/linux/mmzone.h:20, [ 133s] from include/linux/bootmem.h:7, [ 133s] from drivers/platform/sprd/sec_log.c:17: [ 133s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/memory.h:223:21: note: expected 'phys_addr_t {aka unsigned int}' but argument is of type 'void *' [ 133s] static inline void *phys_to_virt(phys_addr_t x) [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/platform/sprd/sec_log.c:238:30: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] [ 133s] sec_log_buf = phys_to_virt(base) + size_struct_sec_log_buffer; [ 133s] ^~~~ [ 133s] In file included from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/page.h:163:0, [ 133s] from include/linux/mmzone.h:20, [ 133s] from include/linux/bootmem.h:7, [ 133s] from drivers/platform/sprd/sec_log.c:17: [ 133s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/memory.h:223:21: note: expected 'phys_addr_t {aka unsigned int}' but argument is of type 'void *' [ 133s] static inline void *phys_to_virt(phys_addr_t x) [ 133s] ^~~~~~~~~~~~ [ 133s] In file included from drivers/platform/sprd/sec_log.c:36:0: [ 133s] At top level: [ 133s] include/soc/sprd/arch_lock.h:169:13: warning: '__arch_default_unlock' defined but not used [-Wunused-function] [ 133s] static void __arch_default_unlock(unsigned int lock_id, unsigned long *flags) [ 133s] ^~~~~~~~~~~~~~~~~~~~~ [ 133s] include/soc/sprd/arch_lock.h:156:13: warning: '__arch_default_lock' defined but not used [-Wunused-function] [ 133s] static void __arch_default_lock(unsigned int lock_id, unsigned long *flags) [ 133s] ^~~~~~~~~~~~~~~~~~~ [ 133s] CC drivers/platform/sprd/dma_r4p0.o [ 133s] In file included from drivers/platform/sprd/timer_sc8830.c:34:0: [ 133s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 133s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from drivers/platform/sprd/timer_sc8830.c:32: [ 133s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 133s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 133s] [ 133s] In file included from drivers/platform/sprd/timer_sc8830.c:34:0: [ 133s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 133s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from drivers/platform/sprd/timer_sc8830.c:32: [ 133s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 133s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 133s] [ 133s] In file included from drivers/platform/sprd/timer_sc8830.c:34:0: [ 133s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 133s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from drivers/platform/sprd/timer_sc8830.c:32: [ 133s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 133s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 133s] [ 133s] In file included from drivers/platform/sprd/timer_sc8830.c:34:0: [ 133s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 133s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from drivers/platform/sprd/timer_sc8830.c:32: [ 133s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 133s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 133s] [ 133s] In file included from drivers/platform/sprd/timer_sc8830.c:34:0: [ 133s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 133s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 133s] ^~~~~~~~~~~~ [ 133s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 133s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 133s] ^~~~~~~~~~~~ [ 133s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 133s] #define SCI_ADDR(x, y) \ [ 133s] [ 133s] In file included from include/soc/sprd/hardware.h:34:0, [ 133s] from drivers/platform/sprd/timer_sc8830.c:32: [ 133s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 133s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 133s] [ 133s] LD drivers/media/sprd_sensor/otp/built-in.o [ 133s] CC drivers/gpu/drm/drm_global.o [ 133s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_edge.o [ 133s] CC drivers/media/sprd_sensor/power/sensor_power_z3.o [ 133s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_css.o [ 133s] LD drivers/misc/sprd_cproc/built-in.o [ 133s] CC drivers/platform/sprd/adie_irq.o [ 133s] In file included from drivers/platform/sprd/dma_r4p0.c:28:0: [ 133s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 133s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 133s] ^~~~~~~~~~~~ [ 133s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 133s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 133s] ^~~~~~~~~~~~ [ 133s] CC drivers/media/tuners/tuner-simple.o [ 133s] CC drivers/misc/sprd_dwnload/sprd_download.o [ 133s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_csa.o [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:23:64: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration [ 133s] static int sensor_s5k4h5yc_poweron(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:52:65: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration [ 133s] static int sensor_s5k4h5yc_poweroff(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:78:64: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration [ 133s] static int sensor_s5k5e3yx_poweron(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:103:65: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration [ 133s] static int sensor_s5k5e3yx_poweroff(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:127:9: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration [ 133s] struct sensor_power *dev0, struct sensor_power *dev1, [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c: In function 'sensor_ov5670_poweron': [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:130:6: warning: unused variable 'ret' [-Wunused-variable] [ 133s] int ret = 0; [ 133s] ^~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:170:1: warning: no return statement in function returning non-void [-Wreturn-type] [ 133s] } [ 133s] ^ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c: At top level: [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:173:9: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration [ 133s] struct sensor_power *dev0, struct sensor_power *dev1, [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:198:69: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration [ 133s] int sensor_power_on(uint32_t *fd_handle, uint32_t sensor_id, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c: In function 'sensor_power_on': [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:205:44: warning: passing argument 2 of 'sensor_s5k4h5yc_poweron' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k4h5yc_poweron(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:23:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k4h5yc_poweron(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:205:50: warning: passing argument 3 of 'sensor_s5k4h5yc_poweron' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k4h5yc_poweron(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:23:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k4h5yc_poweron(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:205:56: warning: passing argument 4 of 'sensor_s5k4h5yc_poweron' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k4h5yc_poweron(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:23:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k4h5yc_poweron(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:207:44: warning: passing argument 2 of 'sensor_s5k5e3yx_poweron' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k5e3yx_poweron(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:78:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k5e3yx_poweron(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:207:50: warning: passing argument 3 of 'sensor_s5k5e3yx_poweron' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k5e3yx_poweron(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:78:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k5e3yx_poweron(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:207:56: warning: passing argument 4 of 'sensor_s5k5e3yx_poweron' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k5e3yx_poweron(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:78:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k5e3yx_poweron(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c: At top level: [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:213:70: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration [ 133s] int sensor_power_off(uint32_t *fd_handle, uint32_t sensor_id, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c: In function 'sensor_power_off': [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:219:45: warning: passing argument 2 of 'sensor_s5k4h5yc_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k4h5yc_poweroff(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:52:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k4h5yc_poweroff(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:219:51: warning: passing argument 3 of 'sensor_s5k4h5yc_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k4h5yc_poweroff(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:52:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k4h5yc_poweroff(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:219:57: warning: passing argument 4 of 'sensor_s5k4h5yc_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k4h5yc_poweroff(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:52:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k4h5yc_poweroff(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:221:45: warning: passing argument 2 of 'sensor_s5k5e3yx_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k5e3yx_poweroff(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:103:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k5e3yx_poweroff(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:221:51: warning: passing argument 3 of 'sensor_s5k5e3yx_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k5e3yx_poweroff(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:103:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k5e3yx_poweroff(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:221:57: warning: passing argument 4 of 'sensor_s5k5e3yx_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] [ 133s] ret = sensor_s5k5e3yx_poweroff(fd_handle, dev0, dev1, dev2); [ 133s] ^~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:103:12: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' [ 133s] static int sensor_s5k5e3yx_poweroff(uint32_t *fd_handle, struct sensor_power *dev0, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_hua.o [ 133s] At top level: [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:172:12: warning: 'sensor_ov5670_poweroff' defined but not used [-Wunused-function] [ 133s] static int sensor_ov5670_poweroff(uint32_t *fd_handle, [ 133s] ^~~~~~~~~~~~~~~~~~~~~~ [ 133s] drivers/media/sprd_sensor/power/sensor_power_z3.c:126:12: warning: 'sensor_ov5670_poweron' defined but not used [-Wunused-function] [ 133s] static int sensor_ov5670_poweron(uint32_t *fd_handle, [ 133s] ^~~~~~~~~~~~~~~~~~~~~ [ 134s] In file included from drivers/platform/sprd/adie_irq.c:34:0: [ 134s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 134s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/platform/sprd/adie_irq.c:30: [ 134s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 134s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 134s] [ 134s] In file included from drivers/platform/sprd/adie_irq.c:34:0: [ 134s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 134s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/platform/sprd/adie_irq.c:30: [ 134s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 134s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 134s] [ 134s] In file included from drivers/platform/sprd/adie_irq.c:34:0: [ 134s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 134s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/platform/sprd/adie_irq.c:30: [ 134s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 134s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 134s] [ 134s] In file included from drivers/platform/sprd/adie_irq.c:34:0: [ 134s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 134s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/platform/sprd/adie_irq.c:30: [ 134s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 134s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 134s] [ 134s] In file included from drivers/platform/sprd/adie_irq.c:34:0: [ 134s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 134s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 134s] ^~~~~~~~~~~~ [ 134s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 134s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 134s] ^~~~~~~~~~~~ [ 134s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 134s] #define SCI_ADDR(x, y) \ [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/platform/sprd/adie_irq.c:30: [ 134s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 134s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 134s] [ 134s] CC drivers/switch/switch_gpio.o [ 134s] LD drivers/media/sprd_sensor/power/built-in.o [ 134s] LD drivers/media/sprd_sensor/sprd_sensor.o [ 134s] LD drivers/media/sprd_sensor/built-in.o [ 134s] LD drivers/media/usb/b2c2/built-in.o [ 134s] CC drivers/mmc/core/mmc_ops.o [ 134s] In file included from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:42:0, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 134s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:41, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 134s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 134s] [ 134s] In file included from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:42:0, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 134s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:41, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 134s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 134s] [ 134s] In file included from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:42:0, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 134s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:41, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 134s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 134s] [ 134s] In file included from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:42:0, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 134s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:41, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 134s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 134s] [ 134s] In file included from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:42:0, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 134s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 134s] ^~~~~~~~~~~~ [ 134s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 134s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 134s] ^~~~~~~~~~~~ [ 134s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 134s] #define SCI_ADDR(x, y) \ [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from drivers/misc/sprd_dwnload/../sdiodev/sdio_dev.h:41, [ 134s] from drivers/misc/sprd_dwnload/sprd_download.c:16: [ 134s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 134s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 134s] [ 134s] LD drivers/media/usb/dvb-usb/built-in.o [ 134s] CC drivers/sipc/smem.o [ 134s] CC drivers/platform/sprd/pm.o [ 134s] LD drivers/media/usb/dvb-usb-v2/built-in.o [ 134s] CC drivers/platform/sprd/pm-scx35.o [ 134s] LD drivers/media/usb/s2255/built-in.o [ 134s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_post_cdn.o [ 134s] CC drivers/md/dm-kcopyd.o [ 134s] LD drivers/media/usb/siano/built-in.o [ 134s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_emboss.o [ 134s] CC drivers/spi/sprd_spi_r4p0.o [ 134s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_y_gamma.o [ 134s] CC net/ipv6/udplite.o [ 134s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_y_delay.o [ 134s] LD drivers/media/usb/stkwebcam/built-in.o [ 134s] CC drivers/gpu/drm/drm_prime.o [ 134s] LD drivers/media/usb/ttusb-budget/built-in.o [ 134s] CC net/ipv6/raw.o [ 134s] LD drivers/switch/built-in.o [ 134s] drivers/sipc/smem.c: In function 'smem_debug_show': [ 134s] drivers/sipc/smem.c:140:53: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'atomic_t {aka struct }' [-Wformat=] [ 134s] seq_printf(m, "phys_addr=0x%x, total=0x%x, used=0x%x, free=0x%x\n", [ 134s] ^ [ 134s] CC drivers/thermal/thermal_core.o [ 134s] LD drivers/media/usb/ttusb-dec/built-in.o [ 134s] In file included from drivers/platform/sprd/pm.c:21:0: [ 134s] include/soc/sprd/pm_debug.h: In function 'get_sys_cnt': [ 134s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 134s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 134s] ^ [ 134s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 134s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 134s] ^~~~~~~~~~ [ 134s] include/soc/sprd/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' [ 134s] val1 = __raw_readl(SYSCNT_COUNT); [ 134s] ^~~~~~~~~~~~ [ 134s] In file included from include/linux/io.h:22:0, [ 134s] from drivers/platform/sprd/pm.c:17: [ 134s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 134s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 134s] ^~~~~~~~~~~ [ 134s] In file included from drivers/platform/sprd/pm.c:21:0: [ 134s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 134s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 134s] ^ [ 134s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 134s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 134s] ^~~~~~~~~~ [ 134s] include/soc/sprd/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' [ 134s] val2 = __raw_readl(SYSCNT_COUNT); [ 134s] ^~~~~~~~~~~~ [ 134s] In file included from include/linux/io.h:22:0, [ 134s] from drivers/platform/sprd/pm.c:17: [ 134s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 134s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 134s] ^~~~~~~~~~~ [ 134s] In file included from drivers/platform/sprd/pm.c:21:0: [ 134s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 134s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 134s] ^ [ 134s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 134s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 134s] ^~~~~~~~~~ [ 134s] include/soc/sprd/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' [ 134s] val2 = __raw_readl(SYSCNT_COUNT); [ 134s] ^~~~~~~~~~~~ [ 134s] In file included from include/linux/io.h:22:0, [ 134s] from drivers/platform/sprd/pm.c:17: [ 134s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 134s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 134s] ^~~~~~~~~~~ [ 134s] LD drivers/media/usb/zr364xx/built-in.o [ 134s] LD drivers/media/usb/built-in.o [ 134s] CC drivers/media/v4l2-core/v4l2-dev.o [ 134s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 134s] from include/soc/sprd/system.h:18, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 134s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from include/soc/sprd/system.h:17, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 134s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 134s] [ 134s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 134s] from include/soc/sprd/system.h:18, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 134s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from include/soc/sprd/system.h:17, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 134s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 134s] [ 134s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 134s] from include/soc/sprd/system.h:18, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 134s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from include/soc/sprd/system.h:17, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 134s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 134s] [ 134s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 134s] from include/soc/sprd/system.h:18, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 134s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from include/soc/sprd/system.h:17, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 134s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 134s] [ 134s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 134s] from include/soc/sprd/system.h:18, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 134s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 134s] ^~~~~~~~~~~~ [ 134s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 134s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 134s] ^~~~~~~~~~~~ [ 134s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 134s] #define SCI_ADDR(x, y) \ [ 134s] [ 134s] In file included from include/soc/sprd/hardware.h:34:0, [ 134s] from include/soc/sprd/system.h:17, [ 134s] from drivers/platform/sprd/pm-scx35.c:23: [ 134s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 134s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 134s] [ 135s] In file included from drivers/platform/sprd/pm-scx35.c:24:0: [ 135s] include/soc/sprd/pm_debug.h: In function 'get_sys_cnt': [ 135s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 135s] ^ [ 135s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 135s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 135s] ^~~~~~~~~~ [ 135s] include/soc/sprd/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' [ 135s] val1 = __raw_readl(SYSCNT_COUNT); [ 135s] ^~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from drivers/platform/sprd/pm-scx35.c:24:0: [ 135s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 135s] ^ [ 135s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 135s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 135s] ^~~~~~~~~~ [ 135s] include/soc/sprd/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' [ 135s] val2 = __raw_readl(SYSCNT_COUNT); [ 135s] ^~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from drivers/platform/sprd/pm-scx35.c:24:0: [ 135s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 135s] ^ [ 135s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 135s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 135s] ^~~~~~~~~~ [ 135s] include/soc/sprd/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' [ 135s] val2 = __raw_readl(SYSCNT_COUNT); [ 135s] ^~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] drivers/platform/sprd/pm-scx35.c: In function 'bak_last_reg': [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:58:38: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_PD_PUB_SYS_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x006C)/*PD_PUB_SYS_CFG*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:863:27: note: in expansion of macro 'REG_PMU_APB_PD_PUB_SYS_CFG' [ 135s] pd_pub_sys = __raw_readl(REG_PMU_APB_PD_PUB_SYS_CFG); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:76:42: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_CP_SLP_STATUS_DBG0 SCI_ADDR(REGS_PMU_APB_BASE, 0x00B4)/*CP_SLP_STATUS_DBG0*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:864:35: note: in expansion of macro 'REG_PMU_APB_CP_SLP_STATUS_DBG0' [ 135s] cp_slp_status_dbg0 = __raw_readl(REG_PMU_APB_CP_SLP_STATUS_DBG0); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:77:42: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_CP_SLP_STATUS_DBG1 SCI_ADDR(REGS_PMU_APB_BASE, 0x00B8)/*CP_SLP_STATUS_DBG1*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:866:35: note: in expansion of macro 'REG_PMU_APB_CP_SLP_STATUS_DBG1' [ 135s] cp_slp_status_dbg1 = __raw_readl(REG_PMU_APB_CP_SLP_STATUS_DBG1); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:78:39: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_PWR_STATUS0_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00BC)/*PWR_STATUS0_DBG*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:868:26: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS0_DBG' [ 135s] pwr_stat0 = __raw_readl(REG_PMU_APB_PWR_STATUS0_DBG); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:79:39: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_PWR_STATUS1_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00C0)/*PWR_STATUS1_DBG*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:869:26: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS1_DBG' [ 135s] pwr_stat1 = __raw_readl(REG_PMU_APB_PWR_STATUS1_DBG); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:80:39: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_PWR_STATUS2_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00C4)/*PWR_STATUS2_DBG*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:870:26: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS2_DBG' [ 135s] pwr_stat2 = __raw_readl(REG_PMU_APB_PWR_STATUS2_DBG); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:81:39: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_PWR_STATUS3_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00C8)/*PWR_STATUS3_DBG*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:872:26: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS3_DBG' [ 135s] pwr_stat3 = __raw_readl(REG_PMU_APB_PWR_STATUS3_DBG); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:82:35: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_SLEEP_CTRL SCI_ADDR(REGS_PMU_APB_BASE, 0x00CC)/*SLEEP_CTRL*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:874:27: note: in expansion of macro 'REG_PMU_APB_SLEEP_CTRL' [ 135s] sleep_ctrl = __raw_readl(REG_PMU_APB_SLEEP_CTRL); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:83:38: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_DDR_SLEEP_CTRL SCI_ADDR(REGS_PMU_APB_BASE, 0x00D0)/*DDR_SLEEP_CTRL*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:875:31: note: in expansion of macro 'REG_PMU_APB_DDR_SLEEP_CTRL' [ 135s] ddr_sleep_ctrl = __raw_readl(REG_PMU_APB_DDR_SLEEP_CTRL); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:84:36: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_SLEEP_STATUS SCI_ADDR(REGS_PMU_APB_BASE, 0x00D4)/*SLEEP_STATUS*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:876:29: note: in expansion of macro 'REG_PMU_APB_SLEEP_STATUS' [ 135s] sleep_status = __raw_readl(REG_PMU_APB_SLEEP_STATUS); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:32:32: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AON_APB_APB_EB0 SCI_ADDR(REGS_AON_APB_BASE, 0x0000)/*AHB_EB0*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:895:24: note: in expansion of macro 'REG_AON_APB_APB_EB0' [ 135s] apb_eb0 = __raw_readl(REG_AON_APB_APB_EB0); [ 135s] ^~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:33:32: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AON_APB_APB_EB1 SCI_ADDR(REGS_AON_APB_BASE, 0x0004)/*AHB_EB1*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:896:24: note: in expansion of macro 'REG_AON_APB_APB_EB1' [ 135s] apb_eb1 = __raw_readl(REG_AON_APB_APB_EB1); [ 135s] ^~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:41:33: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AON_APB_PWR_CTRL SCI_ADDR(REGS_AON_APB_BASE, 0x0024)/*PWR_CTRL*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:897:25: note: in expansion of macro 'REG_AON_APB_PWR_CTRL' [ 135s] pwr_ctrl = __raw_readl(REG_AON_APB_PWR_CTRL); [ 135s] ^~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:30:59: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AP_AHB_AHB_EB SCI_ADDR(REGS_AP_AHB_BASE, 0x0000) [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:899:23: note: in expansion of macro 'REG_AP_AHB_AHB_EB' [ 135s] ahb_eb = __raw_readl(REG_AP_AHB_AHB_EB); [ 135s] ^~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:30:59: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AP_APB_APB_EB SCI_ADDR(REGS_AP_APB_BASE, 0x0000) [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:901:23: note: in expansion of macro 'REG_AP_APB_APB_EB' [ 135s] apb_eb = __raw_readl(REG_AP_APB_APB_EB); [ 135s] ^~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] LD drivers/gpu/drm/i2c/built-in.o [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:45:59: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AP_AHB_MCU_PAUSE SCI_ADDR(REGS_AP_AHB_BASE, 0x3004) [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:902:26: note: in expansion of macro 'REG_AP_AHB_MCU_PAUSE' [ 135s] mcu_pause = __raw_readl(REG_AP_AHB_MCU_PAUSE); [ 135s] ^~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:33:59: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AP_AHB_AP_SYS_FORCE_SLEEP_CFG SCI_ADDR(REGS_AP_AHB_BASE, 0x000C) [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:903:32: note: in expansion of macro 'REG_AP_AHB_AP_SYS_FORCE_SLEEP_CFG' [ 135s] sys_force_sleep = __raw_readl(REG_AP_AHB_AP_SYS_FORCE_SLEEP_CFG); [ 135s] ^ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:34:59: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AP_AHB_AP_SYS_AUTO_SLEEP_CFG SCI_ADDR(REGS_AP_AHB_BASE, 0x0010) [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:904:35: note: in expansion of macro 'REG_AP_AHB_AP_SYS_AUTO_SLEEP_CFG' [ 135s] sys_auto_sleep_cfg = __raw_readl(REG_AP_AHB_AP_SYS_AUTO_SLEEP_CFG); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:57:59: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AP_AHB_CA7_STANDBY_STATUS SCI_ADDR(REGS_AP_AHB_BASE, 0x3034) [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:909:35: note: in expansion of macro 'REG_AP_AHB_CA7_STANDBY_STATUS' [ 135s] ca7_standby_status = __raw_readl(REG_AP_AHB_CA7_STANDBY_STATUS); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c: In function 'test_memory': [ 135s] drivers/platform/sprd/pm-scx35.c:1169:18: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'phys_addr_t {aka unsigned int}' [-Wformat=] [ 135s] printk("%s %p %p\n", __func__, vtest, virt_to_phys(vtest)); [ 135s] ^ [ 135s] drivers/platform/sprd/pm-scx35.c:1170:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 135s] ptest = virt_to_phys(vtest); [ 135s] ^ [ 135s] drivers/platform/sprd/pm-scx35.c:1174:25: warning: assignment makes integer from pointer without a cast [-Wint-conversion] [ 135s] sp_pm_reset_vector[64] = ptest; [ 135s] ^ [ 135s] drivers/platform/sprd/pm-scx35.c:1157:6: warning: unused variable 'i' [-Wunused-variable] [ 135s] int i; [ 135s] ^ [ 135s] drivers/platform/sprd/pm-scx35.c: In function 'wait_until_uart1_tx_done': [ 135s] drivers/platform/sprd/pm-scx35.c:1206:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define UART_STS1 (SPRD_UART1_BASE + 0x0c) [ 135s] ^ [ 135s] drivers/platform/sprd/pm-scx35.c:1214:28: note: in expansion of macro 'UART_STS1' [ 135s] tx_fifo_val = __raw_readl(UART_STS1); [ 135s] ^~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:1206:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define UART_STS1 (SPRD_UART1_BASE + 0x0c) [ 135s] ^ [ 135s] drivers/platform/sprd/pm-scx35.c:1220:29: note: in expansion of macro 'UART_STS1' [ 135s] tx_fifo_val = __raw_readl(UART_STS1); [ 135s] ^~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:1205:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define UART_STS0 (SPRD_UART1_BASE + 0x08) [ 135s] ^ [ 135s] drivers/platform/sprd/pm-scx35.c:1227:28: note: in expansion of macro 'UART_STS0' [ 135s] really_done = __raw_readl(UART_STS0); [ 135s] ^~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:1205:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define UART_STS0 (SPRD_UART1_BASE + 0x08) [ 135s] ^ [ 135s] drivers/platform/sprd/pm-scx35.c:1231:29: note: in expansion of macro 'UART_STS0' [ 135s] really_done = __raw_readl(UART_STS0); [ 135s] ^~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_iircnr.o [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] drivers/platform/sprd/pm-scx35.c: In function 'deep_sleep': [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:89:35: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_CA7_C0_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x00E8)/*CA7_C0_CFG*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:1374:21: note: in expansion of macro 'REG_PMU_APB_CA7_C0_CFG' [ 135s] __raw_writel(0x0, REG_PMU_APB_CA7_C0_CFG); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 135s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/sys_reset.h:19:0, [ 135s] from include/soc/sprd/system.h:18, [ 135s] from drivers/platform/sprd/pm-scx35.c:23: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:89:35: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_CA7_C0_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x00E8)/*CA7_C0_CFG*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:1443:21: note: in expansion of macro 'REG_PMU_APB_CA7_C0_CFG' [ 135s] __raw_writel(0x1, REG_PMU_APB_CA7_C0_CFG); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm-scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 135s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c: In function 'dcdc_core_ds_config': [ 135s] drivers/platform/sprd/pm-scx35.c:1566:6: warning: unused variable 'dcdc_core_ctl_ds' [-Wunused-variable] [ 135s] u32 dcdc_core_ctl_ds = -1; [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm-scx35.c:1565:6: warning: unused variable 'val' [-Wunused-variable] [ 135s] u32 val = 0; [ 135s] ^~~ [ 135s] drivers/platform/sprd/pm-scx35.c:1564:6: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] [ 135s] u32 dcdc_core_ctl_adi = 0; [ 135s] ^~~~~~~~~~~~~~~~~ [ 135s] CC drivers/gpu/drm/sprd/sprd_drm_drv.o [ 135s] At top level: [ 135s] drivers/platform/sprd/pm-scx35.c:151:27: warning: 'pd_config' defined but not used [-Wunused-variable] [ 135s] static struct auto_pd_en pd_config = { [ 135s] ^~~~~~~~~ [ 135s] CC drivers/misc/sprd_dwnload/sprd_power_ctl.o [ 135s] In file included from drivers/spi/sprd_spi_r4p0.c:28:0: [ 135s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 135s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 135s] ^~~~~~~~~~~~ [ 135s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 135s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 135s] ^~~~~~~~~~~~ [ 135s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_fetch.o [ 135s] CC drivers/media/v4l2-core/v4l2-ioctl.o [ 135s] CC drivers/net/phy/phy_device.o [ 135s] AS drivers/platform/sprd/standby-scx35.o [ 135s] CC drivers/platform/sprd/pm_debug_scx35.o [ 135s] CC drivers/media/v4l2-core/v4l2-device.o [ 135s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_store.o [ 135s] CC net/ipv6/icmp.o [ 135s] CC net/ipv6/mcast.o [ 135s] CC drivers/platform/sprd/sleep_monitor_scx35.o [ 135s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_dispatch.o [ 135s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 135s] from drivers/gpu/drm/sprd/sprd_drm_drv.c:32: [ 135s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 135s] }; [ 135s] ^ [ 135s] drivers/gpu/drm/sprd/sprd_drm_drv.c: In function 'sprd_drm_dpms_ioctl': [ 135s] drivers/gpu/drm/sprd/sprd_drm_drv.c:558:1: warning: label 'out' defined but not used [-Wunused-label] [ 135s] out: [ 135s] ^~~ [ 135s] LD drivers/regulator/built-in.o [ 135s] CC drivers/tty/tty_io.o [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:23:0: [ 135s] include/soc/sprd/pm_debug.h: In function 'get_sys_cnt': [ 135s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 135s] ^ [ 135s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 135s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 135s] ^~~~~~~~~~ [ 135s] include/soc/sprd/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' [ 135s] val1 = __raw_readl(SYSCNT_COUNT); [ 135s] ^~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:23:0: [ 135s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 135s] ^ [ 135s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 135s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 135s] ^~~~~~~~~~ [ 135s] include/soc/sprd/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' [ 135s] val2 = __raw_readl(SYSCNT_COUNT); [ 135s] ^~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:23:0: [ 135s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 135s] ^ [ 135s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 135s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 135s] ^~~~~~~~~~ [ 135s] include/soc/sprd/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' [ 135s] val2 = __raw_readl(SYSCNT_COUNT); [ 135s] ^~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:27:0: [ 135s] include/soc/sprd/sci_glb_regs.h: At top level: [ 135s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 135s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 135s] [ 135s] In file included from include/soc/sprd/hardware.h:34:0, [ 135s] from include/soc/sprd/pm_debug.h:4, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:23: [ 135s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 135s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 135s] [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:27:0: [ 135s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 135s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 135s] [ 135s] In file included from include/soc/sprd/hardware.h:34:0, [ 135s] from include/soc/sprd/pm_debug.h:4, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:23: [ 135s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 135s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 135s] [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:27:0: [ 135s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 135s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 135s] [ 135s] In file included from include/soc/sprd/hardware.h:34:0, [ 135s] from include/soc/sprd/pm_debug.h:4, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:23: [ 135s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 135s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 135s] [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:27:0: [ 135s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 135s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 135s] [ 135s] In file included from include/soc/sprd/hardware.h:34:0, [ 135s] from include/soc/sprd/pm_debug.h:4, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:23: [ 135s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 135s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 135s] [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:27:0: [ 135s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 135s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 135s] ^~~~~~~~~~~~ [ 135s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 135s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 135s] ^~~~~~~~~~~~ [ 135s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 135s] #define SCI_ADDR(x, y) \ [ 135s] [ 135s] In file included from include/soc/sprd/hardware.h:34:0, [ 135s] from include/soc/sprd/pm_debug.h:4, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:23: [ 135s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 135s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 135s] [ 135s] LD drivers/misc/sprd_dwnload/built-in.o [ 135s] drivers/platform/sprd/pm_debug_scx35.c: In function 'hard_irq_set': [ 135s] drivers/platform/sprd/pm_debug_scx35.c:73:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INT_REG(off) (SPRD_INT_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:78:32: note: in expansion of macro 'INT_REG' [ 135s] #define INT_IRQ_STS INT_REG(0x0000) [ 135s] ^~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:147:33: note: in expansion of macro 'INT_IRQ_STS' [ 135s] sprd_irqs_sts[0] = __raw_readl(INT_IRQ_STS); [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:73:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INT_REG(off) (SPRD_INT_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:82:32: note: in expansion of macro 'INT_REG' [ 135s] #define INT_FIQ_STS INT_REG(0x0020) [ 135s] ^~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:148:33: note: in expansion of macro 'INT_FIQ_STS' [ 135s] sprd_irqs_sts[1] = __raw_readl(INT_FIQ_STS); [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:74:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC0_REG(off) (SPRD_INTC0_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:84:25: note: in expansion of macro 'INTC0_REG' [ 135s] #define INTCV0_IRQ_RAW INTC0_REG(0x0004) [ 135s] ^~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:149:27: note: in expansion of macro 'INTCV0_IRQ_RAW' [ 135s] irq_status = __raw_readl(INTCV0_IRQ_RAW); [ 135s] ^~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:75:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC1_REG(off) (SPRD_INTC1_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:89:25: note: in expansion of macro 'INTC1_REG' [ 135s] #define INTCV1_IRQ_RAW INTC1_REG(0x0004) [ 135s] ^~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:151:27: note: in expansion of macro 'INTCV1_IRQ_RAW' [ 135s] irq_status = __raw_readl(INTCV1_IRQ_RAW); [ 135s] ^~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:76:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC2_REG(off) (SPRD_INTC2_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:94:25: note: in expansion of macro 'INTC2_REG' [ 135s] #define INTCV2_IRQ_RAW INTC2_REG(0x0004) [ 135s] ^~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:153:27: note: in expansion of macro 'INTCV2_IRQ_RAW' [ 135s] irq_status = __raw_readl(INTCV2_IRQ_RAW); [ 135s] ^~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:77:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC3_REG(off) (SPRD_INTC3_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:99:25: note: in expansion of macro 'INTC3_REG' [ 135s] #define INTCV3_IRQ_RAW INTC3_REG(0x0004) [ 135s] ^~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:155:27: note: in expansion of macro 'INTCV3_IRQ_RAW' [ 135s] irq_status = __raw_readl(INTCV3_IRQ_RAW); [ 135s] ^~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:27:0: [ 135s] drivers/platform/sprd/pm_debug_scx35.c: In function 'print_int_status': [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:30:59: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_AP_APB_APB_EB SCI_ADDR(REGS_AP_APB_BASE, 0x0000) [ 135s] ^~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'REG_AP_APB_APB_EB' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:160:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("APB_EB 0x%08x\n", __raw_readl(REG_AP_APB_APB_EB)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:74:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC0_REG(off) (SPRD_INTC0_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:83:27: note: in expansion of macro 'INTC0_REG' [ 135s] #define INTCV0_IRQ_MSKSTS INTC0_REG(0x0000) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV0_IRQ_MSKSTS' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:161:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC0 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV0_IRQ_MSKSTS),__raw_readl(INTCV0_IRQ_RAW), __raw_readl(INTCV0_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:74:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC0_REG(off) (SPRD_INTC0_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:84:25: note: in expansion of macro 'INTC0_REG' [ 135s] #define INTCV0_IRQ_RAW INTC0_REG(0x0004) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV0_IRQ_RAW' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:161:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC0 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV0_IRQ_MSKSTS),__raw_readl(INTCV0_IRQ_RAW), __raw_readl(INTCV0_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:74:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC0_REG(off) (SPRD_INTC0_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:85:24: note: in expansion of macro 'INTC0_REG' [ 135s] #define INTCV0_IRQ_EN INTC0_REG(0x0008) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV0_IRQ_EN' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:161:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC0 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV0_IRQ_MSKSTS),__raw_readl(INTCV0_IRQ_RAW), __raw_readl(INTCV0_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:75:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC1_REG(off) (SPRD_INTC1_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:88:27: note: in expansion of macro 'INTC1_REG' [ 135s] #define INTCV1_IRQ_MSKSTS INTC1_REG(0x0000) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV1_IRQ_MSKSTS' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:162:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC1 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV1_IRQ_MSKSTS),__raw_readl(INTCV1_IRQ_RAW), __raw_readl(INTCV1_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:75:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC1_REG(off) (SPRD_INTC1_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:89:25: note: in expansion of macro 'INTC1_REG' [ 135s] #define INTCV1_IRQ_RAW INTC1_REG(0x0004) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV1_IRQ_RAW' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:162:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC1 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV1_IRQ_MSKSTS),__raw_readl(INTCV1_IRQ_RAW), __raw_readl(INTCV1_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:75:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC1_REG(off) (SPRD_INTC1_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:90:24: note: in expansion of macro 'INTC1_REG' [ 135s] #define INTCV1_IRQ_EN INTC1_REG(0x0008) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV1_IRQ_EN' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:162:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC1 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV1_IRQ_MSKSTS),__raw_readl(INTCV1_IRQ_RAW), __raw_readl(INTCV1_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:76:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC2_REG(off) (SPRD_INTC2_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:93:27: note: in expansion of macro 'INTC2_REG' [ 135s] #define INTCV2_IRQ_MSKSTS INTC2_REG(0x0000) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV2_IRQ_MSKSTS' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:163:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC2 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV2_IRQ_MSKSTS),__raw_readl(INTCV2_IRQ_RAW), __raw_readl(INTCV2_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:76:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC2_REG(off) (SPRD_INTC2_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:94:25: note: in expansion of macro 'INTC2_REG' [ 135s] #define INTCV2_IRQ_RAW INTC2_REG(0x0004) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV2_IRQ_RAW' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:163:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC2 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV2_IRQ_MSKSTS),__raw_readl(INTCV2_IRQ_RAW), __raw_readl(INTCV2_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:76:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC2_REG(off) (SPRD_INTC2_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:95:24: note: in expansion of macro 'INTC2_REG' [ 135s] #define INTCV2_IRQ_EN INTC2_REG(0x0008) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV2_IRQ_EN' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:163:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC2 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV2_IRQ_MSKSTS),__raw_readl(INTCV2_IRQ_RAW), __raw_readl(INTCV2_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:77:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC3_REG(off) (SPRD_INTC3_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:98:27: note: in expansion of macro 'INTC3_REG' [ 135s] #define INTCV3_IRQ_MSKSTS INTC3_REG(0x0000) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV3_IRQ_MSKSTS' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:164:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC3 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV3_IRQ_MSKSTS),__raw_readl(INTCV3_IRQ_RAW), __raw_readl(INTCV3_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:77:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC3_REG(off) (SPRD_INTC3_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:99:25: note: in expansion of macro 'INTC3_REG' [ 135s] #define INTCV3_IRQ_RAW INTC3_REG(0x0004) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV3_IRQ_RAW' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:164:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC3 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV3_IRQ_MSKSTS),__raw_readl(INTCV3_IRQ_RAW), __raw_readl(INTCV3_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:77:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INTC3_REG(off) (SPRD_INTC3_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:100:24: note: in expansion of macro 'INTC3_REG' [ 135s] #define INTCV3_IRQ_EN INTC3_REG(0x0008) [ 135s] ^~~~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INTCV3_IRQ_EN' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:164:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INTC3 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV3_IRQ_MSKSTS),__raw_readl(INTCV3_IRQ_RAW), __raw_readl(INTCV3_IRQ_EN)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:73:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INT_REG(off) (SPRD_INT_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:78:32: note: in expansion of macro 'INT_REG' [ 135s] #define INT_IRQ_STS INT_REG(0x0000) [ 135s] ^~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INT_IRQ_STS' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:165:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INT mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INT_IRQ_STS),__raw_readl(INT_IRQ_RAW), __raw_readl(INT_IRQ_ENB)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:73:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INT_REG(off) (SPRD_INT_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:79:31: note: in expansion of macro 'INT_REG' [ 135s] #define INT_IRQ_RAW INT_REG(0x0004) [ 135s] ^~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INT_IRQ_RAW' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:165:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INT mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INT_IRQ_STS),__raw_readl(INT_IRQ_RAW), __raw_readl(INT_IRQ_ENB)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:73:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define INT_REG(off) (SPRD_INT_BASE + (off)) [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:80:31: note: in expansion of macro 'INT_REG' [ 135s] #define INT_IRQ_ENB INT_REG(0x0008) [ 135s] ^~~~~~~ [ 135s] include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'INT_IRQ_ENB' [ 135s] ##__VA_ARGS__); \ [ 135s] ^~~~~~~~~~~ [ 135s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 135s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 135s] ^~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:165:2: note: in expansion of macro 'pr_debug' [ 135s] pr_debug("INT mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INT_IRQ_STS),__raw_readl(INT_IRQ_RAW), __raw_readl(INT_IRQ_ENB)); [ 135s] ^~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] CC net/ipv6/reassembly.o [ 135s] In file included from include/soc/sprd/__hardware-sc7731.h:43:0, [ 135s] from include/soc/sprd/hardware.h:34, [ 135s] from include/soc/sprd/pm_debug.h:4, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:23: [ 135s] drivers/platform/sprd/pm_debug_scx35.c: In function 'print_hard_irq_inloop': [ 135s] include/soc/sprd/iomap.h:326:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define SPRD_GPIO_BASE io_addr_sprd.GPIO.vaddr [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:365:29: note: in expansion of macro 'SPRD_GPIO_BASE' [ 135s] gpio_irq[j]= __raw_readl(SPRD_GPIO_BASE + 0x100*i + REG_GPIO_MIS); [ 135s] ^~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from include/soc/sprd/__hardware-sc7731.h:43:0, [ 135s] from include/soc/sprd/hardware.h:34, [ 135s] from include/soc/sprd/pm_debug.h:4, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:23: [ 135s] include/soc/sprd/iomap.h:326:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] #define SPRD_GPIO_BASE io_addr_sprd.GPIO.vaddr [ 135s] ^ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:366:31: note: in expansion of macro 'SPRD_GPIO_BASE' [ 135s] gpio_irq[j+1]= __raw_readl(SPRD_GPIO_BASE + 0x100*i + 0x80 + REG_GPIO_MIS); [ 135s] ^~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:384:6: warning: the address of 'interrupt_strings' will always evaluate as 'true' [-Waddress] [ 135s] if (interrupt_strings) { [ 135s] ^~~~~~~~~~~~~~~~~ [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:27:0: [ 135s] drivers/platform/sprd/pm_debug_scx35.c: In function 'print_debug_info': [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:84:36: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_SLEEP_STATUS SCI_ADDR(REGS_PMU_APB_BASE, 0x00D4)/*SLEEP_STATUS*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:608:31: note: in expansion of macro 'REG_PMU_APB_SLEEP_STATUS' [ 135s] apb_slp_status = __raw_readl(REG_PMU_APB_SLEEP_STATUS); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] In file included from drivers/platform/sprd/pm_debug_scx35.c:27:0: [ 135s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 135s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 135s] ^ [ 135s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:82:35: note: in expansion of macro 'SCI_ADDR' [ 135s] #define REG_PMU_APB_SLEEP_CTRL SCI_ADDR(REGS_PMU_APB_BASE, 0x00CC)/*SLEEP_CTRL*/ [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:627:41: note: in expansion of macro 'REG_PMU_APB_SLEEP_CTRL' [ 135s] unsigned long sleep_ctrl = __raw_readl(REG_PMU_APB_SLEEP_CTRL); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~ [ 135s] In file included from include/linux/io.h:22:0, [ 135s] from drivers/platform/sprd/pm_debug_scx35.c:18: [ 135s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 135s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 135s] ^~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:627:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 135s] unsigned long sleep_ctrl = __raw_readl(REG_PMU_APB_SLEEP_CTRL); [ 135s] ^~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:628:48: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] [ 135s] printk("###---- REG_PMU_APB_SLEEP_CTRL : 0x%08x\n", sleep_ctrl); [ 135s] ^ [ 135s] CC drivers/misc/sprd_jpg/sprd_jpg.o [ 135s] drivers/platform/sprd/pm_debug_scx35.c:647:2: warning: 'mpll_cfg' is used uninitialized in this function [-Wuninitialized] [ 135s] printk("###---- REG_AON_APB_MPLL_CFG : 0x%08x\n", mpll_cfg); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 135s] drivers/platform/sprd/pm_debug_scx35.c:648:2: warning: 'dpll_cfg' is used uninitialized in this function [-Wuninitialized] [ 135s] printk("###---- REG_AON_APB_DPLL_CFG : 0x%08x\n", dpll_cfg); [ 135s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 136s] In file included from drivers/platform/sprd/sleep_monitor_scx35.c:23:0: [ 136s] include/soc/sprd/pm_debug.h: In function 'get_sys_cnt': [ 136s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 136s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 136s] ^ [ 136s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 136s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 136s] ^~~~~~~~~~ [ 136s] include/soc/sprd/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' [ 136s] val1 = __raw_readl(SYSCNT_COUNT); [ 136s] ^~~~~~~~~~~~ [ 136s] In file included from include/linux/io.h:22:0, [ 136s] from drivers/platform/sprd/sleep_monitor_scx35.c:18: [ 136s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 136s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 136s] ^~~~~~~~~~~ [ 136s] In file included from drivers/platform/sprd/sleep_monitor_scx35.c:23:0: [ 136s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 136s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 136s] ^ [ 136s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 136s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 136s] ^~~~~~~~~~ [ 136s] include/soc/sprd/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' [ 136s] val2 = __raw_readl(SYSCNT_COUNT); [ 136s] ^~~~~~~~~~~~ [ 136s] In file included from include/linux/io.h:22:0, [ 136s] from drivers/platform/sprd/sleep_monitor_scx35.c:18: [ 136s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 136s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 136s] ^~~~~~~~~~~ [ 136s] In file included from drivers/platform/sprd/sleep_monitor_scx35.c:23:0: [ 136s] include/soc/sprd/pm_debug.h:13:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 136s] #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) [ 136s] ^ [ 136s] include/soc/sprd/pm_debug.h:14:25: note: in expansion of macro 'SYSCNT_REG' [ 136s] #define SYSCNT_COUNT SYSCNT_REG(0x0004) [ 136s] ^~~~~~~~~~ [ 136s] include/soc/sprd/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' [ 136s] val2 = __raw_readl(SYSCNT_COUNT); [ 136s] ^~~~~~~~~~~~ [ 136s] In file included from include/linux/io.h:22:0, [ 136s] from drivers/platform/sprd/sleep_monitor_scx35.c:18: [ 136s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 136s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 136s] ^~~~~~~~~~~ [ 136s] In file included from drivers/platform/sprd/sleep_monitor_scx35.c:24:0: [ 136s] include/soc/sprd/sci_glb_regs.h: At top level: [ 136s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 136s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from include/soc/sprd/pm_debug.h:4, [ 136s] from drivers/platform/sprd/sleep_monitor_scx35.c:23: [ 136s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 136s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 136s] [ 136s] In file included from drivers/platform/sprd/sleep_monitor_scx35.c:24:0: [ 136s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 136s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from include/soc/sprd/pm_debug.h:4, [ 136s] from drivers/platform/sprd/sleep_monitor_scx35.c:23: [ 136s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 136s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 136s] [ 136s] In file included from drivers/platform/sprd/sleep_monitor_scx35.c:24:0: [ 136s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 136s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from include/soc/sprd/pm_debug.h:4, [ 136s] from drivers/platform/sprd/sleep_monitor_scx35.c:23: [ 136s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 136s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 136s] [ 136s] In file included from drivers/platform/sprd/sleep_monitor_scx35.c:24:0: [ 136s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 136s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from include/soc/sprd/pm_debug.h:4, [ 136s] from drivers/platform/sprd/sleep_monitor_scx35.c:23: [ 136s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 136s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 136s] [ 136s] In file included from drivers/platform/sprd/sleep_monitor_scx35.c:24:0: [ 136s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 136s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 136s] ^~~~~~~~~~~~ [ 136s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 136s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 136s] ^~~~~~~~~~~~ [ 136s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 136s] #define SCI_ADDR(x, y) \ [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from include/soc/sprd/pm_debug.h:4, [ 136s] from drivers/platform/sprd/sleep_monitor_scx35.c:23: [ 136s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 136s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 136s] [ 136s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_arbiter.o [ 136s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_raw_sizer.o [ 136s] CC net/ipv4/ip_output.o [ 136s] CC drivers/media/sprd_isp/isp2.0/tshark2/src/isp_k_common.o [ 136s] CC net/ipv4/ip_sockglue.o [ 136s] CC drivers/platform/sprd/cpufreq-scx35.o [ 136s] In file included from drivers/misc/sprd_jpg/sprd_jpg.c:38:0: [ 136s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 136s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 136s] ^~~~~~~~~~~~ [ 136s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 136s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 136s] ^~~~~~~~~~~~ [ 136s] CC drivers/gpu/drm/sprd/sprd_drm_buf.o [ 136s] CC drivers/platform/sprd/cpuidle-scx35.o [ 136s] LD drivers/spi/built-in.o [ 136s] CC drivers/usb/core/usb.o [ 136s] CC net/ipv4/inet_hashtables.o [ 136s] CC drivers/scsi/scsi_ioctl.o [ 136s] CC drivers/platform/sprd/irq.o [ 136s] In file included from drivers/platform/sprd/cpufreq-scx35.c:36:0: [ 136s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 136s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from drivers/platform/sprd/cpufreq-scx35.c:32: [ 136s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 136s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 136s] [ 136s] In file included from drivers/platform/sprd/cpufreq-scx35.c:36:0: [ 136s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 136s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from drivers/platform/sprd/cpufreq-scx35.c:32: [ 136s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 136s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 136s] [ 136s] In file included from drivers/platform/sprd/cpufreq-scx35.c:36:0: [ 136s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 136s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from drivers/platform/sprd/cpufreq-scx35.c:32: [ 136s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 136s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 136s] [ 136s] In file included from drivers/platform/sprd/cpufreq-scx35.c:36:0: [ 136s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 136s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from drivers/platform/sprd/cpufreq-scx35.c:32: [ 136s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 136s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 136s] [ 136s] In file included from drivers/platform/sprd/cpufreq-scx35.c:36:0: [ 136s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 136s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 136s] ^~~~~~~~~~~~ [ 136s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 136s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 136s] ^~~~~~~~~~~~ [ 136s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 136s] #define SCI_ADDR(x, y) \ [ 136s] [ 136s] In file included from include/soc/sprd/hardware.h:34:0, [ 136s] from drivers/platform/sprd/cpufreq-scx35.c:32: [ 136s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 136s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 136s] [ 136s] CC net/ipv4/inet_timewait_sock.o [ 136s] In file included from drivers/platform/sprd/cpufreq-scx35.c:16:0: [ 136s] drivers/platform/sprd/cpufreq-scx35.c: In function 'sprd_cpufreq_target': [ 136s] include/linux/kernel.h:669:17: warning: comparison of distinct pointer types lacks a cast [ 136s] (void) (&_max1 == &_max2); \ [ 136s] ^ [ 136s] drivers/platform/sprd/cpufreq-scx35.c:669:16: note: in expansion of macro 'max' [ 136s] target_freq = max(1000000, target_freq); [ 136s] ^~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c:654:16: warning: unused variable 'irq_flags' [-Wunused-variable] [ 136s] unsigned long irq_flags; [ 136s] ^~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c:653:6: warning: unused variable 'cur_freq' [-Wunused-variable] [ 136s] int cur_freq = 0; [ 136s] ^~~~~~~~ [ 136s] In file included from drivers/platform/sprd/cpufreq-scx35.c:36:0: [ 136s] drivers/platform/sprd/cpufreq-scx35.c: In function 'sprd_freq_table_init': [ 136s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 136s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 136s] ^ [ 136s] include/soc/sprd/./chip_x30g/__regs_aon_apb_tshark2.h:86:36: note: in expansion of macro 'SCI_ADDR' [ 136s] #define REG_AON_APB_AON_CHIP_ID SCI_ADDR(REGS_AON_APB_BASE, 0x00FC)/*AON_CHIP_ID*/ [ 136s] ^~~~~~~~ [ 136s] include/soc/sprd/sci_glb_regs.h:170:29: note: in expansion of macro 'REG_AON_APB_AON_CHIP_ID' [ 136s] #define REG_AON_APB_CHIP_ID REG_AON_APB_AON_CHIP_ID [ 136s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c:721:26: note: in expansion of macro 'REG_AON_APB_CHIP_ID' [ 136s] #define AON_APB_CHIP_ID REG_AON_APB_CHIP_ID [ 136s] ^~~~~~~~~~~~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c:771:25: note: in expansion of macro 'AON_APB_CHIP_ID' [ 136s] } else if (__raw_readl(AON_APB_CHIP_ID) == 0x96310000) { [ 136s] ^~~~~~~~~~~~~~~ [ 136s] In file included from include/linux/io.h:22:0, [ 136s] from drivers/platform/sprd/cpufreq-scx35.c:25: [ 136s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 136s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 136s] ^~~~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c: In function 'dvfs_score_store': [ 136s] drivers/platform/sprd/cpufreq-scx35.c:957:16: warning: unused variable 'irq_flags' [-Wunused-variable] [ 136s] unsigned long irq_flags; [ 136s] ^~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c: In function 'dvfs_unplug_store': [ 136s] drivers/platform/sprd/cpufreq-scx35.c:1000:16: warning: unused variable 'irq_flags' [-Wunused-variable] [ 136s] unsigned long irq_flags; [ 136s] ^~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c: In function 'dvfs_plug_store': [ 136s] drivers/platform/sprd/cpufreq-scx35.c:1035:16: warning: unused variable 'irq_flags' [-Wunused-variable] [ 136s] unsigned long irq_flags; [ 136s] ^~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c: In function 'dvfs_prop_store': [ 136s] drivers/platform/sprd/cpufreq-scx35.c:1066:16: warning: unused variable 'irq_flags' [-Wunused-variable] [ 136s] unsigned long irq_flags; [ 136s] ^~~~~~~~~ [ 136s] At top level: [ 136s] drivers/platform/sprd/cpufreq-scx35.c:1149:31: warning: 'attr_group' defined but not used [-Wunused-variable] [ 136s] static struct attribute_group attr_group = { [ 136s] ^~~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c:362:13: warning: 'dump_axi_cpu' defined but not used [-Wunused-function] [ 136s] static void dump_axi_cpu(unsigned int freq) [ 136s] ^~~~~~~~~~~~ [ 136s] drivers/platform/sprd/cpufreq-scx35.c:238:34: warning: 'sc8830t_cpufreq_table_data_es_1300' defined but not used [-Wunused-variable] [ 136s] static struct cpufreq_table_data sc8830t_cpufreq_table_data_es_1300 = { [ 136s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 137s] In file included from drivers/platform/sprd/irq.c:27:0: [ 137s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 137s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/irq.c:24: [ 137s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 137s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 137s] [ 137s] In file included from drivers/platform/sprd/irq.c:27:0: [ 137s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 137s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/irq.c:24: [ 137s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 137s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 137s] [ 137s] In file included from drivers/platform/sprd/irq.c:27:0: [ 137s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 137s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/irq.c:24: [ 137s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 137s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 137s] [ 137s] In file included from drivers/platform/sprd/irq.c:27:0: [ 137s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 137s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/irq.c:24: [ 137s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 137s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 137s] [ 137s] In file included from drivers/platform/sprd/irq.c:27:0: [ 137s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 137s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 137s] ^~~~~~~~~~~~ [ 137s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 137s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 137s] ^~~~~~~~~~~~ [ 137s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 137s] #define SCI_ADDR(x, y) \ [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/irq.c:24: [ 137s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 137s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 137s] [ 137s] CC drivers/platform/sprd/reserve.o [ 137s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 137s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 137s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 137s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 137s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 137s] [ 137s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 137s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 137s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 137s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 137s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 137s] [ 137s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 137s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 137s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 137s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 137s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 137s] [ 137s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 137s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 137s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 137s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 137s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 137s] [ 137s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 137s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 137s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 137s] ^~~~~~~~~~~~ [ 137s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 137s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 137s] ^~~~~~~~~~~~ [ 137s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 137s] #define SCI_ADDR(x, y) \ [ 137s] [ 137s] In file included from include/soc/sprd/hardware.h:34:0, [ 137s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 137s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 137s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 137s] [ 137s] In file included from drivers/gpu/drm/sprd/sprd_drm_buf.c:16:0: [ 137s] drivers/gpu/drm/sprd/sprd_drm_buf.c: In function 'lowlevel_buffer_allocate': [ 137s] drivers/gpu/drm/sprd/sprd_drm_buf.c:42:16: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] [ 137s] DRM_DEBUG_KMS("sprd_drm_ion_client:%p size:0x%x\n", [ 137s] ^ [ 137s] include/drm/drmP.h:222:17: note: in definition of macro 'DRM_DEBUG_KMS' [ 137s] __func__, fmt, ##args); \ [ 137s] ^~~ [ 137s] drivers/platform/sprd/cpuidle-scx35.c: In function 'sc_cpuidle_debug': [ 137s] include/soc/sprd/__hardware-sc7731.h:29:22: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 137s] #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) [ 137s] ^ [ 137s] include/soc/sprd/__hardware-sc7731.h:102:26: note: in expansion of macro 'SCI_IOMAP' [ 137s] #define SPRD_LPDDR2_BASE SCI_IOMAP(0x160000) [ 137s] ^~~~~~~~~ [ 137s] drivers/platform/sprd/cpuidle-scx35.c:158:27: note: in expansion of macro 'SPRD_LPDDR2_BASE' [ 137s] __func__, __raw_readl(SPRD_LPDDR2_BASE + 0x03fc) ); [ 137s] ^~~~~~~~~~~~~~~~ [ 137s] In file included from include/linux/clocksource.h:19:0, [ 137s] from include/linux/clockchips.h:27, [ 137s] from drivers/platform/sprd/cpuidle-scx35.c:18: [ 137s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 137s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 137s] ^~~~~~~~~~~ [ 137s] drivers/platform/sprd/cpuidle-scx35.c: In function 'sc_fill_cstate': [ 137s] drivers/platform/sprd/cpuidle-scx35.c:404:30: warning: unused variable 'state_usage' [-Wunused-variable] [ 137s] struct cpuidle_state_usage *state_usage = &dev->states_usage[idx]; [ 137s] ^~~~~~~~~~~ [ 137s] At top level: [ 137s] drivers/platform/sprd/cpuidle-scx35.c:257:13: warning: 'idle_into_deep' defined but not used [-Wunused-function] [ 137s] static void idle_into_deep(void) [ 137s] ^~~~~~~~~~~~~~ [ 137s] drivers/platform/sprd/cpuidle-scx35.c:113:13: warning: 'set_cpu_pd' defined but not used [-Wunused-function] [ 137s] static void set_cpu_pd(void *data) [ 137s] ^~~~~~~~~~ [ 137s] CC drivers/media/tuners/tuner-types.o [ 137s] CC drivers/sipc/sbuf.o [ 137s] LD drivers/misc/sprd_jpg/built-in.o [ 137s] CC drivers/sipc/sblock.o [ 137s] CC drivers/misc/sprd_otp/core.o [ 137s] CC drivers/staging/android/ion/ion_heap.o [ 137s] drivers/platform/sprd/reserve.c: In function '__iomem_reserve_memblock': [ 137s] drivers/platform/sprd/reserve.c:29:6: warning: unused variable 'ret' [-Wunused-variable] [ 137s] int ret; [ 137s] ^~~ [ 137s] drivers/platform/sprd/reserve.c: In function 'sci_reserve': [ 137s] drivers/platform/sprd/reserve.c:150:6: warning: unused variable 'ret' [-Wunused-variable] [ 137s] int ret; [ 137s] ^~~ [ 137s] At top level: [ 137s] drivers/platform/sprd/reserve.c:62:19: warning: '__fbmem_reserve_memblock' defined but not used [-Wunused-function] [ 137s] static int __init __fbmem_reserve_memblock(void) [ 137s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 137s] drivers/platform/sprd/reserve.c:27:19: warning: '__iomem_reserve_memblock' defined but not used [-Wunused-function] [ 137s] static int __init __iomem_reserve_memblock(void) [ 137s] ^~~~~~~~~~~~~~~~~~~~~~~~ [ 137s] CC drivers/gpu/drm/sprd/sprd_drm_gem.o [ 137s] drivers/sipc/sbuf.c: In function 'sbuf_debug_show': [ 137s] drivers/sipc/sbuf.c:604:77: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=] [ 137s] seq_printf(m, "sbuf dst 0x%0x, channel: 0x%0x, state: %d, smem_virt: 0x%lx, smem_addr: 0x%0x, smem_size: 0x%0x, ringnr: %d \n", [ 137s] ^ [ 137s] CC drivers/platform/sprd/common.o [ 137s] drivers/sipc/sblock.c: In function 'sblock_debug_show': [ 137s] drivers/sipc/sblock.c:813:79: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=] [ 137s] seq_printf(m, "sblock dst 0x%0x, channel: 0x%0x, state: %d, smem_virt: 0x%lx, smem_addr: 0x%0x, smem_size: 0x%0x, txblksz: %d, rxblksz: %d \n", [ 137s] ^ [ 137s] drivers/sipc/sblock.c:817:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] [ 137s] seq_printf(m, "sblock ring: txblk_virt :0x%lx, rxblk_virt :0x%lx \n", [ 137s] ^ [ 137s] drivers/sipc/sblock.c:817:67: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] [ 137s] seq_printf(m, "sblock ring: txblk_virt :0x%lx, rxblk_virt :0x%lx \n", [ 137s] ^ [ 137s] CC drivers/platform/sprd/clock-sc8830_dt.o [ 137s] CC drivers/mmc/core/sd.o [ 137s] CC net/ipv4/inet_connection_sock.o [ 137s] LD drivers/media/sprd_isp/sprd_isp.o [ 138s] LD drivers/media/sprd_isp/built-in.o [ 138s] CC drivers/platform/sprd/io-sc8830.o [ 138s] drivers/gpu/drm/sprd/sprd_drm_gem.c:244:13: warning: 'sprd_drm_gem_put_pages' defined but not used [-Wunused-function] [ 138s] static void sprd_drm_gem_put_pages(struct drm_gem_object *obj) [ 138s] ^~~~~~~~~~~~~~~~~~~~~~ [ 138s] drivers/gpu/drm/sprd/sprd_drm_gem.c:184:12: warning: 'sprd_drm_gem_get_pages' defined but not used [-Wunused-function] [ 138s] static int sprd_drm_gem_get_pages(struct drm_gem_object *obj) [ 138s] ^~~~~~~~~~~~~~~~~~~~~~ [ 138s] CC drivers/platform/sprd/platsmp.o [ 138s] In file included from drivers/platform/sprd/irq.c:27:0: [ 138s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 138s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/irq.c:24: [ 138s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 138s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 138s] [ 138s] In file included from drivers/platform/sprd/irq.c:27:0: [ 138s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 138s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/irq.c:24: [ 138s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 138s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 138s] [ 138s] In file included from drivers/platform/sprd/irq.c:27:0: [ 138s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 138s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/irq.c:24: [ 138s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 138s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 138s] [ 138s] In file included from drivers/platform/sprd/irq.c:27:0: [ 138s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 138s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/irq.c:24: [ 138s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 138s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 138s] [ 138s] In file included from drivers/platform/sprd/irq.c:27:0: [ 138s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 138s] #define SCI_ADDR(x, y) \ [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/irq.c:24: [ 138s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 138s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 138s] [ 138s] AS drivers/platform/sprd/headsmp.o [ 138s] CC drivers/misc/sprd_otp/otp-helper.o [ 138s] CC drivers/platform/sprd/hotplug.o [ 138s] In file included from drivers/platform/sprd/platsmp.c:33:0: [ 138s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 138s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/platsmp.c:32: [ 138s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 138s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 138s] [ 138s] In file included from drivers/platform/sprd/platsmp.c:33:0: [ 138s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 138s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/platsmp.c:32: [ 138s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 138s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 138s] [ 138s] In file included from drivers/platform/sprd/platsmp.c:33:0: [ 138s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 138s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/platsmp.c:32: [ 138s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 138s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 138s] [ 138s] In file included from drivers/platform/sprd/platsmp.c:33:0: [ 138s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 138s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/platsmp.c:32: [ 138s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 138s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 138s] [ 138s] In file included from drivers/platform/sprd/platsmp.c:33:0: [ 138s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 138s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 138s] ^~~~~~~~~~~~ [ 138s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 138s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 138s] ^~~~~~~~~~~~ [ 138s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 138s] #define SCI_ADDR(x, y) \ [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/platsmp.c:32: [ 138s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 138s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 138s] [ 138s] drivers/platform/sprd/platsmp.c: In function 'poweron_cpus': [ 138s] drivers/platform/sprd/platsmp.c:94:54: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] val = (BIT_PD_CA7_C3_AUTO_SHUTDOWN_EN | __raw_readl(poweron)) &~(BIT_PD_CA7_C3_FORCE_SHUTDOWN); [ 138s] ^~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'u32 {aka unsigned int}' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:99:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] while((__raw_readl(poweron)&BIT_PD_CA7_C3_FORCE_SHUTDOWN) || [ 138s] ^~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'u32 {aka unsigned int}' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] In file included from drivers/platform/sprd/platsmp.c:33:0: [ 138s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 138s] ^ [ 138s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 138s] #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) [ 138s] ^~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:100:17: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' [ 138s] !(__raw_readl(REG_AP_AHB_CA7_RST_SET)&(1 << cpu)) ){ [ 138s] ^~~~~~~~~~~~~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 138s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 138s] from include/asm-generic/bitops/le.h:5, [ 138s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 138s] from include/linux/bitops.h:30, [ 138s] from include/linux/kernel.h:10, [ 138s] from include/linux/delay.h:10, [ 138s] from drivers/platform/sprd/platsmp.c:19: [ 138s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 138s] ^ [ 138s] include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' [ 138s] #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:478:36: note: in expansion of macro 'writel_relaxed' [ 138s] #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) [ 138s] ^~~~~~~~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:102:3: note: in expansion of macro 'writel' [ 138s] writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) | (1 << cpu)), REG_AP_AHB_CA7_RST_SET); [ 138s] ^~~~~~ [ 138s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 138s] #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) [ 138s] ^~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:102:23: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' [ 138s] writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) | (1 << cpu)), REG_AP_AHB_CA7_RST_SET); [ 138s] ^~~~~~~~~~~~~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 138s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 138s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 138s] ^ [ 138s] drivers/platform/sprd/platsmp.c:102:3: note: in expansion of macro 'writel' [ 138s] writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) | (1 << cpu)), REG_AP_AHB_CA7_RST_SET); [ 138s] ^~~~~~ [ 138s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 138s] #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) [ 138s] ^~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:102:62: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' [ 138s] writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) | (1 << cpu)), REG_AP_AHB_CA7_RST_SET); [ 138s] ^~~~~~~~~~~~~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 138s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:103:55: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] val = (BIT_PD_CA7_C3_AUTO_SHUTDOWN_EN | __raw_readl(poweron)) &~(BIT_PD_CA7_C3_FORCE_SHUTDOWN); [ 138s] ^~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'u32 {aka unsigned int}' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] drivers/platform/sprd/platsmp.c:104:14: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 138s] writel(val,poweron); [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 138s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 138s] ^ [ 138s] drivers/platform/sprd/platsmp.c:104:3: note: in expansion of macro 'writel' [ 138s] writel(val,poweron); [ 138s] ^~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'u32 {aka unsigned int}' [ 138s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~~ [ 138s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 138s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 138s] from include/asm-generic/bitops/le.h:5, [ 138s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 138s] from include/linux/bitops.h:30, [ 138s] from include/linux/kernel.h:10, [ 138s] from include/linux/delay.h:10, [ 138s] from drivers/platform/sprd/platsmp.c:19: [ 138s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 138s] ^ [ 138s] include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' [ 138s] #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:478:36: note: in expansion of macro 'writel_relaxed' [ 138s] #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) [ 138s] ^~~~~~~~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:108:2: note: in expansion of macro 'writel' [ 138s] writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) & ~(1 << cpu)), REG_AP_AHB_CA7_RST_SET); [ 138s] ^~~~~~ [ 138s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 138s] #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) [ 138s] ^~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:108:22: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' [ 138s] writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) & ~(1 << cpu)), REG_AP_AHB_CA7_RST_SET); [ 138s] ^~~~~~~~~~~~~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 138s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 138s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 138s] ^ [ 138s] drivers/platform/sprd/platsmp.c:108:2: note: in expansion of macro 'writel' [ 138s] writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) & ~(1 << cpu)), REG_AP_AHB_CA7_RST_SET); [ 138s] ^~~~~~ [ 138s] include/soc/sprd/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 138s] #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) [ 138s] ^~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:108:62: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' [ 138s] writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) & ~(1 << cpu)), REG_AP_AHB_CA7_RST_SET); [ 138s] ^~~~~~~~~~~~~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 138s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c: In function 'powerdown_cpus': [ 138s] drivers/platform/sprd/platsmp.c:124:52: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] val = (BIT_PD_CA7_C3_FORCE_SHUTDOWN | __raw_readl(poweron)) &~(BIT_PD_CA7_C3_AUTO_SHUTDOWN_EN); [ 138s] ^~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'u32 {aka unsigned int}' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] drivers/platform/sprd/platsmp.c:125:14: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 138s] writel(val, poweron); [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 138s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 138s] ^ [ 138s] drivers/platform/sprd/platsmp.c:125:2: note: in expansion of macro 'writel' [ 138s] writel(val, poweron); [ 138s] ^~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'u32 {aka unsigned int}' [ 138s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~~ [ 138s] In file included from drivers/platform/sprd/platsmp.c:33:0: [ 138s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 138s] ^ [ 138s] include/soc/sprd/./chip_x30g/__regs_pmu_apb_tshark2.h:78:39: note: in expansion of macro 'SCI_ADDR' [ 138s] #define REG_PMU_APB_PWR_STATUS0_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00BC)/*PWR_STATUS0_DBG*/ [ 138s] ^~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:130:21: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS0_DBG' [ 138s] if (((__raw_readl(REG_PMU_APB_PWR_STATUS0_DBG) >> (4 * (cpu_logical_map(cpu) + 1))) & 0x0f) == 0x07) { [ 138s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] drivers/platform/sprd/platsmp.c: In function 'boot_secondary_cpus': [ 138s] drivers/platform/sprd/platsmp.c:148:15: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 138s] writel(paddr,(CPU_JUMP_VADDR + (cpu_id << 2))); [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 138s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 138s] ^ [ 138s] drivers/platform/sprd/platsmp.c:148:2: note: in expansion of macro 'writel' [ 138s] writel(paddr,(CPU_JUMP_VADDR + (cpu_id << 2))); [ 138s] ^~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 138s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~~ [ 138s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 138s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 138s] from include/asm-generic/bitops/le.h:5, [ 138s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 138s] from include/linux/bitops.h:30, [ 138s] from include/linux/kernel.h:10, [ 138s] from include/linux/delay.h:10, [ 138s] from drivers/platform/sprd/platsmp.c:19: [ 138s] include/soc/sprd/__hardware-sc7731.h:118:27: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 138s] #define HOLDING_PEN_VADDR (SPRD_AHB_BASE + 0x14) [ 138s] ^ [ 138s] include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' [ 138s] #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:478:36: note: in expansion of macro 'writel_relaxed' [ 138s] #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) [ 138s] ^~~~~~~~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:149:2: note: in expansion of macro 'writel' [ 138s] writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); [ 138s] ^~~~~~ [ 138s] include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' [ 138s] #define le32_to_cpu __le32_to_cpu [ 138s] ^~~~~~~~~~~~~ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:474:32: note: in expansion of macro 'readl_relaxed' [ 138s] #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) [ 138s] ^~~~~~~~~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:149:9: note: in expansion of macro 'readl' [ 138s] writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); [ 138s] ^~~~~ [ 138s] drivers/platform/sprd/platsmp.c:149:15: note: in expansion of macro 'HOLDING_PEN_VADDR' [ 138s] writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); [ 138s] ^~~~~~~~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 138s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] include/soc/sprd/__hardware-sc7731.h:118:27: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 138s] #define HOLDING_PEN_VADDR (SPRD_AHB_BASE + 0x14) [ 138s] ^ [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 138s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 138s] ^ [ 138s] drivers/platform/sprd/platsmp.c:149:2: note: in expansion of macro 'writel' [ 138s] writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); [ 138s] ^~~~~~ [ 138s] drivers/platform/sprd/platsmp.c:149:50: note: in expansion of macro 'HOLDING_PEN_VADDR' [ 138s] writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); [ 138s] ^~~~~~~~~~~~~~~~~ [ 138s] In file included from include/linux/io.h:22:0, [ 138s] from drivers/platform/sprd/platsmp.c:23: [ 138s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 138s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 138s] ^~~~~~~~~~~~ [ 138s] CC drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.o [ 138s] CC drivers/media/v4l2-core/v4l2-fh.o [ 138s] CC drivers/misc/sprd_vsp/sprd_vsp_sc8830.o [ 138s] In file included from drivers/platform/sprd/hotplug.c:25:0: [ 138s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 138s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/hotplug.c:20: [ 138s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 138s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 138s] [ 138s] In file included from drivers/platform/sprd/hotplug.c:25:0: [ 138s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 138s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/hotplug.c:20: [ 138s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 138s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 138s] [ 138s] In file included from drivers/platform/sprd/hotplug.c:25:0: [ 138s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 138s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/hotplug.c:20: [ 138s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 138s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 138s] [ 138s] In file included from drivers/platform/sprd/hotplug.c:25:0: [ 138s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 138s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/hotplug.c:20: [ 138s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 138s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 138s] [ 138s] In file included from drivers/platform/sprd/hotplug.c:25:0: [ 138s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 138s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 138s] ^~~~~~~~~~~~ [ 138s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 138s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 138s] ^~~~~~~~~~~~ [ 138s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 138s] #define SCI_ADDR(x, y) \ [ 138s] [ 138s] In file included from include/soc/sprd/hardware.h:34:0, [ 138s] from drivers/platform/sprd/hotplug.c:20: [ 138s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 138s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 138s] [ 138s] CC drivers/staging/android/ion/ion_page_pool.o [ 138s] CC drivers/md/dm-sysfs.o [ 138s] In file included from drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:43:0: [ 138s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 138s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 138s] ^~~~~~~~~~~~ [ 138s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 138s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 138s] ^~~~~~~~~~~~ [ 138s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c: In function 'vsp_parse_dt': [ 138s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:517:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 138s] vsp_clk_node_name = of_clk_get_parent_name(np, 1); //This position is based on related dts file [ 138s] ^ [ 138s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:537:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 138s] name_parent = of_clk_get_parent_name(vsp_clk_np, i); [ 138s] ^ [ 138s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:538:30: warning: passing argument 1 of 'clk_get' from incompatible pointer type [-Wincompatible-pointer-types] [ 138s] clk_parent = clk_get(vsp_clk_np, name_parent); [ 138s] ^~~~~~~~~~ [ 138s] In file included from drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:21:0: [ 138s] include/linux/clk.h:139:13: note: expected 'struct device *' but argument is of type 'struct device_node *' [ 138s] struct clk *clk_get(struct device *dev, const char *id); [ 138s] ^~~~~~~ [ 138s] In file included from include/linux/printk.h:6:0, [ 138s] from include/linux/kernel.h:13, [ 138s] from include/linux/cache.h:4, [ 138s] from include/linux/time.h:4, [ 138s] from include/linux/stat.h:18, [ 138s] from include/linux/sysfs.h:20, [ 138s] from include/linux/kobject.h:21, [ 138s] from include/linux/device.h:17, [ 138s] from include/linux/platform_device.h:14, [ 138s] from drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:15: [ 138s] include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 138s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 138s] ^ [ 138s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 138s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 138s] ^~~~~~~~ [ 138s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:540:16: note: in expansion of macro 'KERN_INFO' [ 138s] printk(KERN_INFO "vsp clk order in dts file: clk[%d] = (%d, %s)\n", i, frequency, name_parent); [ 138s] ^~~~~~~~~ [ 139s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c: In function 'vsp_release': [ 139s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:738:9: warning: unused variable 'ret' [-Wunused-variable] [ 139s] int ret; [ 139s] ^~~ [ 139s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c: In function 'vsp_suspend': [ 139s] drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:804:9: warning: unused variable 'ret' [-Wunused-variable] [ 139s] int ret=-1; [ 139s] ^~~ [ 139s] In file included from drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:46:0: [ 139s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 139s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 139s] ^~~~~~~~~~~~ [ 139s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 139s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 139s] ^~~~~~~~~~~~ [ 139s] In file included from include/linux/printk.h:6:0, [ 139s] from include/linux/kernel.h:13, [ 139s] from include/linux/cache.h:4, [ 139s] from include/linux/time.h:4, [ 139s] from include/linux/stat.h:18, [ 139s] from include/linux/sysfs.h:20, [ 139s] from include/linux/kobject.h:21, [ 139s] from include/linux/device.h:17, [ 139s] from include/linux/platform_device.h:14, [ 139s] from drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:15: [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c: In function 'deint_ioctl': [ 139s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] [ 139s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 139s] ^ [ 139s] include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' [ 139s] #define KERN_ERR KERN_SOH "3" /* error conditions */ [ 139s] ^~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:231:16: note: in expansion of macro 'KERN_ERR' [ 139s] printk(KERN_ERR "SPRD_VPP_FREE_PHYSICAL_MEMORY base: 0x%x, phys_addr: 0x%x, size: 0x%x, virt_addr: 0x%x\n", [ 139s] ^~~~~~~~ [ 139s] include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 139s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 139s] ^ [ 139s] include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' [ 139s] #define KERN_ERR KERN_SOH "3" /* error conditions */ [ 139s] ^~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:231:16: note: in expansion of macro 'KERN_ERR' [ 139s] printk(KERN_ERR "SPRD_VPP_FREE_PHYSICAL_MEMORY base: 0x%x, phys_addr: 0x%x, size: 0x%x, virt_addr: 0x%x\n", [ 139s] ^~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:259:38: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 139s] __raw_writel((1<<1), SPRD_VPP_BASE + VPP_INT_CLR); [ 139s] ^~~~~~~~~~~~~ [ 139s] In file included from include/linux/io.h:22:0, [ 139s] from drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:19: [ 139s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 139s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 139s] ^~~~~~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:172:19: warning: unused variable 'frequency' [-Wunused-variable] [ 139s] unsigned long frequency; [ 139s] ^~~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:171:11: warning: unused variable 'name_parent' [-Wunused-variable] [ 139s] char *name_parent; [ 139s] ^~~~~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:170:17: warning: unused variable 'clk_parent' [-Wunused-variable] [ 139s] struct clk *clk_parent; [ 139s] ^~~~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c: In function 'deint_isr': [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:334:24: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 139s] ret = __raw_readl(SPRD_VPP_BASE + VPP_INT_STS); [ 139s] ^~~~~~~~~~~~~ [ 139s] In file included from include/linux/io.h:22:0, [ 139s] from drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:19: [ 139s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 139s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 139s] ^~~~~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:337:30: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 139s] __raw_writel((1<<1), SPRD_VPP_BASE + VPP_INT_CLR); [ 139s] ^~~~~~~~~~~~~ [ 139s] In file included from include/linux/io.h:22:0, [ 139s] from drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:19: [ 139s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 139s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 139s] ^~~~~~~~~~~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c: In function 'deint_suspend': [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:610:9: warning: unused variable 'ret' [-Wunused-variable] [ 139s] int ret=-1; [ 139s] ^~~ [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c: In function 'deint_probe': [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:694:22: warning: unused variable 'res' [-Wunused-variable] [ 139s] struct resource *res = NULL; [ 139s] ^~~ [ 139s] CC net/ipv6/tcp_ipv6.o [ 139s] At top level: [ 139s] drivers/misc/sprd_vpp/sprd_deint/vpp_deint_drv.c:128:12: warning: 'find_deint_freq_level' defined but not used [-Wunused-function] [ 139s] static int find_deint_freq_level(unsigned long freq) [ 139s] ^~~~~~~~~~~~~~~~~~~~~ [ 139s] CC drivers/mmc/core/sd_ops.o [ 139s] CC drivers/mmc/core/sdio.o [ 139s] CC net/ipv6/ping.o [ 139s] LD drivers/gpu/drm/drm.o [ 139s] CC drivers/media/v4l2-core/v4l2-event.o [ 139s] CC drivers/mmc/core/sdio_ops.o [ 139s] CC net/ipv6/exthdrs.o [ 139s] CC drivers/misc/sprd_otp/efuse.o [ 139s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 139s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 139s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 139s] [ 139s] In file included from include/soc/sprd/hardware.h:34:0, [ 139s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 139s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 139s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 139s] [ 139s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 139s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 139s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 139s] [ 139s] In file included from include/soc/sprd/hardware.h:34:0, [ 139s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 139s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 139s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 139s] [ 139s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 139s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 139s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 139s] [ 139s] In file included from include/soc/sprd/hardware.h:34:0, [ 139s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 139s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 139s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 139s] [ 139s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 139s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 139s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 139s] [ 139s] In file included from include/soc/sprd/hardware.h:34:0, [ 139s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 139s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 139s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 139s] [ 139s] In file included from drivers/platform/sprd/cpuidle-scx35.c:23:0: [ 139s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 139s] #define SCI_ADDR(x, y) \ [ 139s] [ 139s] In file included from include/soc/sprd/hardware.h:34:0, [ 139s] from drivers/platform/sprd/cpuidle-scx35.c:22: [ 139s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 139s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 139s] [ 139s] CC drivers/md/dm-builtin.o [ 139s] CC drivers/media/tuners/mt20xx.o [ 139s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 139s] from drivers/misc/sprd_otp/efuse.c:51: [ 139s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 139s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 139s] ^~~~~~~~~~~~ [ 139s] LD drivers/misc/sprd_vsp/built-in.o [ 139s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 139s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 139s] ^~~~~~~~~~~~ [ 139s] LD drivers/misc/sprd_vpp/sprd_deint/built-in.o [ 139s] In file included from drivers/misc/sprd_otp/efuse.c:51:0: [ 139s] include/soc/sprd/arch_lock.h:169:13: warning: '__arch_default_unlock' defined but not used [-Wunused-function] [ 139s] static void __arch_default_unlock(unsigned int lock_id, unsigned long *flags) [ 139s] ^~~~~~~~~~~~~~~~~~~~~ [ 139s] include/soc/sprd/arch_lock.h:156:13: warning: '__arch_default_lock' defined but not used [-Wunused-function] [ 139s] static void __arch_default_lock(unsigned int lock_id, unsigned long *flags) [ 139s] ^~~~~~~~~~~~~~~~~~~ [ 139s] CC drivers/misc/sprd_wcn/wcn_core.o [ 139s] LD drivers/misc/sprd_vpp/built-in.o [ 140s] CC drivers/staging/android/ion/ion_system_heap.o [ 140s] LD drivers/misc/ti-st/built-in.o [ 140s] CC drivers/misc/sim_slot.o [ 140s] LD drivers/platform/sprd/built-in.o [ 140s] LD drivers/platform/built-in.o [ 140s] CC drivers/mmc/core/sdio_bus.o [ 140s] drivers/misc/sim_slot.c:81:11: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 140s] .write = seq_lseek, [ 140s] ^~~~~~~~~ [ 140s] drivers/misc/sim_slot.c:81:11: note: (near initialization for 'check_simslot_count_fops.write') [ 140s] CC drivers/video/hdmi.o [ 140s] CC drivers/sipc/sipc_debugfs.o [ 140s] CC drivers/sipc/spipe.o [ 140s] CC drivers/misc/tizen_global_lock.o [ 140s] CC drivers/media/v4l2-core/v4l2-ctrls.o [ 140s] CC drivers/thermal/of-thermal.o [ 141s] CC drivers/net/phy/mdio_bus.o [ 141s] CC drivers/usb/core/hub.o [ 141s] CC drivers/video/fb_notify.o [ 141s] CC drivers/sipc/seth.o [ 141s] CC drivers/scsi/constants.o [ 141s] CC drivers/media/v4l2-core/v4l2-subdev.o [ 141s] CC drivers/staging/android/ion/ion_carveout_heap.o [ 141s] CC drivers/sipc/stty.o [ 141s] CC drivers/media/v4l2-core/v4l2-of.o [ 141s] CC net/ipv6/datagram.o [ 141s] CC drivers/tty/n_tty.o [ 142s] drivers/sipc/stty.c:191:25: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 142s] static struct tty_port *stty_port_init() [ 142s] ^~~~~~~~~~~~~~ [ 142s] drivers/sipc/stty.c: In function 'stty_parse_dt': [ 142s] drivers/sipc/stty.c:255:30: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 142s] struct of_device_node *np = dev->of_node; [ 142s] ^~~ [ 142s] drivers/sipc/stty.c:265:32: warning: passing argument 1 of 'of_property_read_string' from incompatible pointer type [-Wincompatible-pointer-types] [ 142s] ret = of_property_read_string(np, "sprd,name", (const char **)&pdata->name); [ 142s] ^~ [ 142s] In file included from include/linux/of_device.h:9:0, [ 142s] from drivers/sipc/stty.c:29: [ 142s] include/linux/of.h:252:12: note: expected 'struct device_node *' but argument is of type 'struct of_device_node *' [ 142s] extern int of_property_read_string(struct device_node *np, [ 142s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 142s] drivers/sipc/stty.c:270:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types] [ 142s] ret = of_property_read_u32(np, "sprd,dst", (uint32_t *)&data); [ 142s] ^~ [ 142s] In file included from include/linux/of_device.h:9:0, [ 142s] from drivers/sipc/stty.c:29: [ 142s] include/linux/of.h:625:19: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *' [ 142s] static inline int of_property_read_u32(const struct device_node *np, [ 142s] ^~~~~~~~~~~~~~~~~~~~ [ 142s] drivers/sipc/stty.c:276:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types] [ 142s] ret = of_property_read_u32(np, "sprd,channel", (uint32_t *)&data); [ 142s] ^~ [ 142s] In file included from include/linux/of_device.h:9:0, [ 142s] from drivers/sipc/stty.c:29: [ 142s] include/linux/of.h:625:19: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *' [ 142s] static inline int of_property_read_u32(const struct device_node *np, [ 142s] ^~~~~~~~~~~~~~~~~~~~ [ 142s] drivers/sipc/stty.c:282:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types] [ 142s] ret = of_property_read_u32(np, "sprd,bufid", (uint32_t *)&pdata->bufid); [ 142s] ^~ [ 142s] In file included from include/linux/of_device.h:9:0, [ 142s] from drivers/sipc/stty.c:29: [ 142s] include/linux/of.h:625:19: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *' [ 142s] static inline int of_property_read_u32(const struct device_node *np, [ 142s] ^~~~~~~~~~~~~~~~~~~~ [ 142s] drivers/sipc/stty.c: In function 'stty_probe': [ 142s] drivers/sipc/stty.c:356:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 142s] printk( "stty_probe init device addr: 0x%0x\n", (void *)stty); [ 142s] ^ [ 142s] LD drivers/misc/sprd_wcn/built-in.o [ 142s] CC drivers/mmc/core/sdio_cis.o [ 142s] CC net/ipv6/ip6_flowlabel.o [ 142s] drivers/sipc/stty.c: In function 'stty_handler': [ 142s] drivers/sipc/stty.c:87:1: warning: the frame size of 4112 bytes is larger than 1024 bytes [-Wframe-larger-than=] [ 142s] } [ 142s] ^ [ 142s] CC net/ipv6/inet6_connection_sock.o [ 142s] CC drivers/media/v4l2-core/v4l2-common.o [ 142s] CC net/ipv6/sysctl_net_ipv6.o [ 142s] CC net/ipv6/xfrm6_policy.o [ 142s] CC drivers/misc/sprd_otp/ana_efuse.o [ 142s] CC drivers/mmc/core/sdio_io.o [ 142s] CC net/ipv6/xfrm6_state.o [ 142s] In file included from include/soc/sprd/arch_lock.h:21:0, [ 142s] from drivers/misc/sprd_otp/ana_efuse.c:29: [ 142s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 142s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 142s] ^~~~~~~~~~~~ [ 142s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 142s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 142s] ^~~~~~~~~~~~ [ 142s] In file included from drivers/misc/sprd_otp/ana_efuse.c:29:0: [ 142s] include/soc/sprd/arch_lock.h:169:13: warning: '__arch_default_unlock' defined but not used [-Wunused-function] [ 142s] static void __arch_default_unlock(unsigned int lock_id, unsigned long *flags) [ 142s] ^~~~~~~~~~~~~~~~~~~~~ [ 142s] include/soc/sprd/arch_lock.h:156:13: warning: '__arch_default_lock' defined but not used [-Wunused-function] [ 142s] static void __arch_default_lock(unsigned int lock_id, unsigned long *flags) [ 142s] ^~~~~~~~~~~~~~~~~~~ [ 142s] LD drivers/sipc/built-in.o [ 142s] CC drivers/staging/android/ion/ion_chunk_heap.o [ 142s] CC drivers/staging/android/ion/ion_cma_heap.o [ 142s] CC drivers/mmc/core/sdio_irq.o [ 142s] CC drivers/mmc/core/quirks.o [ 142s] CC net/ipv4/tcp.o [ 143s] CC drivers/gpu/drm/sprd/sprd_drm_core.o [ 143s] CC net/ipv4/tcp_input.o [ 143s] CC drivers/thermal/step_wise.o [ 143s] CC net/ipv4/tcp_output.o [ 143s] CC net/ipv6/xfrm6_input.o [ 143s] drivers/thermal/step_wise.c: In function 'get_hyst_target': [ 143s] drivers/thermal/step_wise.c:172:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 143s] printk("trip:%d, temp:%d, hyst_temp:%d\n", count, tz->temperature, hyst_temp); [ 143s] ^ [ 143s] drivers/thermal/step_wise.c: In function 'get_trip_target': [ 143s] drivers/thermal/step_wise.c:189:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 143s] printk("trip:%d, temp:%d, trip_temp:%d\n", count, tz->temperature, trip_temp); [ 143s] ^ [ 143s] drivers/thermal/step_wise.c: In function 'get_step_wise_target': [ 143s] drivers/thermal/step_wise.c:205:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 143s] printk("%s: %s trip:%d cur_target:%d\n", cdev->type, __func__, trip, cur_target); [ 143s] ^ [ 143s] drivers/thermal/step_wise.c:213:38: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 143s] printk("%s: %s trip:%d new_target:%d\n", cdev->type, __func__, trip, new_target); [ 143s] ^ [ 143s] drivers/thermal/step_wise.c:226:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 143s] printk("%s: %s trend raising, target:%d\n", cdev->type, __func__, new_target); [ 143s] ^ [ 143s] drivers/thermal/step_wise.c:234:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 143s] printk("%s: %s trend dropping, target:%d\n", cdev->type, __func__, new_target); [ 143s] ^ [ 143s] drivers/thermal/step_wise.c: In function 'thermal_zone_trip_update': [ 143s] drivers/thermal/step_wise.c:264:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 143s] printk("%s: get target_state: %d\n", instance->cdev->type, target); [ 143s] ^ [ 143s] CC drivers/media/tuners/tda8290.o [ 143s] CC drivers/md/dm-crypt.o [ 143s] CC drivers/media/v4l2-core/videobuf-core.o [ 143s] CC net/ipv6/xfrm6_output.o [ 143s] CC drivers/thermal/sprd_thm.o [ 143s] CC drivers/staging/android/ion/sprd/sprd_ion.o [ 143s] CC drivers/staging/android/ion/sprd/sprd_fence.o [ 144s] CC net/ipv6/netfilter.o [ 144s] In file included from drivers/staging/android/ion/sprd/sprd_fence.h:19:0, [ 144s] from drivers/staging/android/ion/sprd/sprd_fence.c:14: [ 144s] include/linux/sync.h:71:27: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration [ 144s] void (*print_obj)(struct seq_file *s, [ 144s] ^~~~~~~~ [ 144s] include/linux/sync.h:75:26: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration [ 144s] void (*print_pt)(struct seq_file *s, struct sync_pt *sync_pt); [ 144s] ^~~~~~~~ [ 144s] drivers/thermal/sprd_thm.c: In function 'logtime_store': [ 144s] drivers/thermal/sprd_thm.c:321:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [ 144s] if (kstrtoul(buf, 10, &logtime)) [ 144s] ^~ [ 144s] drivers/thermal/sprd_thm.c:323:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' [ 144s] result = sprd_sys_set_logtime(tz, logtime); [ 144s] ^~~~~~ [ 144s] drivers/thermal/sprd_thm.c: In function 'thm_logtime_work': [ 144s] drivers/thermal/sprd_thm.c:619:16: warning: unused variable 'volt' [-Wunused-variable] [ 144s] unsigned long volt = 0; [ 144s] ^~~~ [ 144s] CC drivers/media/v4l2-core/videobuf-vmalloc.o [ 144s] CC net/ipv4/tcp_timer.o [ 144s] drivers/staging/android/ion/sprd/sprd_fence.c: In function 'sprd_fence_signal': [ 144s] drivers/staging/android/ion/sprd/sprd_fence.c:402:29: warning: unused variable 'device_type' [-Wunused-variable] [ 144s] enum SPRD_DEVICE_SYNC_TYPE device_type= SPRD_DEVICE_PRIMARY_SYNC; [ 144s] ^~~~~~~~~~~ [ 144s] CC drivers/video/fbmem.o [ 144s] CC drivers/mmc/core/slot-gpio.o [ 144s] CC net/ipv4/tcp_ipv4.o [ 144s] CC drivers/misc/sprd_otp/otp-bitmap.o [ 144s] CC drivers/mmc/core/debugfs.o [ 145s] CC net/ipv6/fib6_rules.o [ 145s] CC drivers/video/fbmon.o [ 145s] CC net/ipv4/tcp_minisocks.o [ 145s] LD drivers/misc/sprd_otp/built-in.o [ 145s] LD drivers/misc/built-in.o [ 145s] CC drivers/video/fbcmap.o [ 145s] LD drivers/md/dm-mod.o [ 145s] CC drivers/scsi/scsicam.o [ 145s] LD drivers/md/built-in.o [ 145s] CC drivers/scsi/scsi_error.o [ 145s] CC drivers/video/fbsysfs.o [ 146s] CC drivers/scsi/scsi_lib.o [ 146s] LD drivers/net/phy/libphy.o [ 146s] LD drivers/media/v4l2-core/videodev.o [ 146s] LD drivers/net/phy/built-in.o [ 146s] CC drivers/scsi/scsi_lib_dma.o [ 146s] CC drivers/net/ppp/ppp_generic.o [ 146s] CC net/ipv6/proc.o [ 146s] CC net/ipv6/ah6.o [ 146s] CC drivers/thermal/sprd_board_thm.o [ 147s] LD drivers/mmc/core/mmc_core.o [ 147s] CC drivers/media/tuners/tea5767.o [ 147s] LD drivers/mmc/core/built-in.o [ 147s] CC drivers/tty/tty_ioctl.o [ 147s] CC drivers/mmc/host/sdhost.o [ 147s] drivers/thermal/sprd_board_thm.c: In function 'sprd_thermal_probe': [ 147s] drivers/thermal/sprd_board_thm.c:560:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 147s] struct device_node *np = pdev->dev.of_node; [ 147s] ^~~~~~ [ 147s] In file included from drivers/mmc/host/sdhost.c:30:0: [ 147s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 147s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 147s] [ 147s] In file included from include/soc/sprd/hardware.h:34:0, [ 147s] from drivers/mmc/host/sdhost.c:28: [ 147s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 147s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 147s] [ 147s] In file included from drivers/mmc/host/sdhost.c:30:0: [ 147s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 147s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 147s] [ 147s] In file included from include/soc/sprd/hardware.h:34:0, [ 147s] from drivers/mmc/host/sdhost.c:28: [ 147s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 147s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 147s] [ 147s] In file included from drivers/mmc/host/sdhost.c:30:0: [ 147s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 147s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 147s] [ 147s] In file included from include/soc/sprd/hardware.h:34:0, [ 147s] from drivers/mmc/host/sdhost.c:28: [ 147s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 147s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 147s] [ 147s] In file included from drivers/mmc/host/sdhost.c:30:0: [ 147s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 147s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 147s] [ 147s] In file included from include/soc/sprd/hardware.h:34:0, [ 147s] from drivers/mmc/host/sdhost.c:28: [ 147s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 147s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 147s] [ 147s] In file included from drivers/mmc/host/sdhost.c:30:0: [ 147s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 147s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 147s] ^~~~~~~~~~~~ [ 147s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 147s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 147s] ^~~~~~~~~~~~ [ 147s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 147s] #define SCI_ADDR(x, y) \ [ 147s] [ 147s] In file included from include/soc/sprd/hardware.h:34:0, [ 147s] from drivers/mmc/host/sdhost.c:28: [ 147s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 147s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 147s] [ 147s] CC drivers/gpu/drm/sprd/sprd_drm_irq.o [ 147s] CC drivers/usb/core/hcd.o [ 147s] CC net/ipv6/esp6.o [ 148s] CC drivers/scsi/scsi_scan.o [ 148s] CC drivers/thermal/sprd_cpu_cooling.o [ 148s] CC net/ipv6/ipcomp6.o [ 148s] LD drivers/media/v4l2-core/built-in.o [ 148s] CC net/ipv6/xfrm6_tunnel.o [ 148s] CC drivers/scsi/scsi_sysfs.o [ 148s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 148s] from drivers/gpu/drm/sprd/sprd_drm_irq.c:18: [ 148s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 148s] }; [ 148s] ^ [ 148s] drivers/gpu/drm/sprd/sprd_drm_irq.c: In function 'sci_write': [ 148s] drivers/gpu/drm/sprd/sprd_drm_irq.c:51:28: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 148s] __raw_writel((__raw_readl(reg) & ~msk) | val, reg); [ 148s] ^~~ [ 148s] In file included from include/linux/io.h:22:0, [ 148s] from include/linux/pci.h:31, [ 148s] from include/drm/drmP.h:52, [ 148s] from drivers/gpu/drm/sprd/sprd_drm_irq.h:16, [ 148s] from drivers/gpu/drm/sprd/sprd_drm_irq.c:15: [ 148s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'u32 {aka unsigned int}' [ 148s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 148s] ^~~~~~~~~~~ [ 148s] drivers/gpu/drm/sprd/sprd_drm_irq.c:51:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 148s] __raw_writel((__raw_readl(reg) & ~msk) | val, reg); [ 148s] ^~~ [ 148s] In file included from include/linux/io.h:22:0, [ 148s] from include/linux/pci.h:31, [ 148s] from include/drm/drmP.h:52, [ 148s] from drivers/gpu/drm/sprd/sprd_drm_irq.h:16, [ 148s] from drivers/gpu/drm/sprd/sprd_drm_irq.c:15: [ 148s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'u32 {aka unsigned int}' [ 148s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 148s] ^~~~~~~~~~~~ [ 148s] drivers/gpu/drm/sprd/sprd_drm_irq.c: In function 'dispc_read': [ 148s] drivers/gpu/drm/sprd/sprd_drm_irq.c:28:28: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 148s] #define SPRD_DISPC_BASE g_dispc_base_addr [ 148s] ^ [ 148s] drivers/gpu/drm/sprd/sprd_drm_irq.c:57:21: note: in expansion of macro 'SPRD_DISPC_BASE' [ 148s] return __raw_readl(SPRD_DISPC_BASE + reg) & 0xffffffff; [ 148s] ^~~~~~~~~~~~~~~ [ 148s] In file included from include/linux/io.h:22:0, [ 148s] from include/linux/pci.h:31, [ 148s] from include/drm/drmP.h:52, [ 148s] from drivers/gpu/drm/sprd/sprd_drm_irq.h:16, [ 148s] from drivers/gpu/drm/sprd/sprd_drm_irq.c:15: [ 148s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 148s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 148s] ^~~~~~~~~~~ [ 148s] In file included from include/linux/printk.h:6:0, [ 148s] from include/linux/kernel.h:13, [ 148s] from drivers/thermal/sprd_cpu_cooling.c:21: [ 148s] drivers/thermal/sprd_cpu_cooling.c: In function 'set_cur_state': [ 148s] include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 148s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 148s] ^ [ 148s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 148s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 148s] ^~~~~~~~ [ 148s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 148s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 148s] ^~~~~~~~~ [ 148s] drivers/thermal/sprd_cpu_cooling.c:168:2: note: in expansion of macro 'pr_info' [ 148s] pr_info("%s %s: %d limit_freq: %d kHz max_core: %d\n", [ 148s] ^~~~~~~ [ 148s] drivers/thermal/sprd_cpu_cooling.c: In function 'get_cpu_cooling_dt_data': [ 148s] drivers/thermal/sprd_cpu_cooling.c:267:10: warning: return makes pointer from integer without a cast [-Wint-conversion] [ 148s] return -EINVAL; [ 148s] ^ [ 148s] drivers/thermal/sprd_cpu_cooling.c:272:10: warning: return makes pointer from integer without a cast [-Wint-conversion] [ 148s] return -1; [ 148s] ^ [ 148s] CC net/ipv6/tunnel6.o [ 148s] CC drivers/video/modedb.o [ 148s] CC net/ipv6/xfrm6_mode_transport.o [ 148s] CC drivers/video/fbcvt.o [ 148s] CC drivers/gpu/drm/sprd/sprd_drm_ipp.o [ 148s] CC drivers/thermal/sprd_ddie_thm.o [ 149s] In file included from drivers/thermal/sprd_ddie_thm.c:19:0: [ 149s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 149s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 149s] ^~~~~~~~~~~~ [ 149s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 149s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 149s] ^~~~~~~~~~~~ [ 149s] CC drivers/video/backlight/lcd.o [ 149s] CC net/ipv6/xfrm6_mode_tunnel.o [ 149s] In file included from include/soc/sprd/hardware.h:34:0, [ 149s] from drivers/thermal/sprd_ddie_thm.c:25: [ 149s] include/soc/sprd/__hardware-sc7731.h:122:0: warning: "SPRD_MISC_BASE" redefined [ 149s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 149s] [ 149s] In file included from drivers/thermal/sprd_ddie_thm.c:19:0: [ 149s] include/soc/sprd/sci_glb_regs.h:51:0: note: this is the location of the previous definition [ 149s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 149s] [ 149s] drivers/thermal/sprd_ddie_thm.c: In function 'sprd_thm_hw_enable_sensor': [ 149s] drivers/thermal/sprd_ddie_thm.c:455:19: warning: passing argument 1 of '__thm_reg_write' makes integer from pointer without a cast [-Wint-conversion] [ 149s] __thm_reg_write((pzone->reg_base + SENSOR_CTRL + LOCAL_SENSOR_ADDR_OFF), 0x030, 0x0); [ 149s] ^ [ 149s] drivers/thermal/sprd_ddie_thm.c:127:19: note: expected 'long unsigned int' but argument is of type 'void *' [ 149s] static inline int __thm_reg_write(unsigned long reg, u16 bits, u16 clear_msk) [ 149s] ^~~~~~~~~~~~~~~ [ 149s] drivers/thermal/sprd_ddie_thm.c:456:19: warning: passing argument 1 of '__thm_reg_write' makes integer from pointer without a cast [-Wint-conversion] [ 149s] __thm_reg_write((pzone->reg_base + SENSOR_CTRL), 0x31, 0x0); [ 149s] ^ [ 149s] drivers/thermal/sprd_ddie_thm.c:127:19: note: expected 'long unsigned int' but argument is of type 'void *' [ 149s] static inline int __thm_reg_write(unsigned long reg, u16 bits, u16 clear_msk) [ 149s] ^~~~~~~~~~~~~~~ [ 149s] drivers/thermal/sprd_ddie_thm.c:461:19: warning: passing argument 1 of '__thm_reg_write' makes integer from pointer without a cast [-Wint-conversion] [ 149s] __thm_reg_write((pzone->reg_base + SENSOR_CTRL+LOCAL_SENSOR_ADDR_OFF), 0x31, 0x0); [ 149s] ^ [ 149s] drivers/thermal/sprd_ddie_thm.c:127:19: note: expected 'long unsigned int' but argument is of type 'void *' [ 149s] static inline int __thm_reg_write(unsigned long reg, u16 bits, u16 clear_msk) [ 149s] ^~~~~~~~~~~~~~~ [ 149s] drivers/thermal/sprd_ddie_thm.c: In function 'sprd_thm_hw_suspend': [ 149s] drivers/thermal/sprd_ddie_thm.c:472:6: warning: unused variable 'local_sen_id' [-Wunused-variable] [ 149s] u32 local_sen_id = 0; [ 149s] ^~~~~~~~~~~~ [ 149s] drivers/thermal/sprd_ddie_thm.c: In function 'sprd_thm_hw_resume': [ 149s] drivers/thermal/sprd_ddie_thm.c:498:6: warning: unused variable 'local_sen_id' [-Wunused-variable] [ 149s] u32 local_sen_id = 0; [ 149s] ^~~~~~~~~~~~ [ 149s] drivers/thermal/sprd_ddie_thm.c: At top level: [ 149s] drivers/thermal/sprd_ddie_thm.c:595:16: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 149s] .read_temp = sprd_thm_temp_read, [ 149s] ^~~~~~~~~~~~~~~~~~ [ 149s] drivers/thermal/sprd_ddie_thm.c:595:16: note: (near initialization for 'sprd_ddie_ops[0].read_temp') [ 149s] drivers/thermal/sprd_ddie_thm.c:608:16: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 149s] .read_temp = sprd_thm_temp_read, [ 149s] ^~~~~~~~~~~~~~~~~~ [ 149s] drivers/thermal/sprd_ddie_thm.c:608:16: note: (near initialization for 'sprd_ddie_ops[1].read_temp') [ 149s] LD drivers/staging/android/ion/sprd/built-in.o [ 149s] LD drivers/staging/android/ion/built-in.o [ 149s] CC drivers/staging/android/binder.o [ 149s] CC net/ipv6/xfrm6_mode_beet.o [ 149s] CC drivers/video/console/dummycon.o [ 149s] CC drivers/scsi/scsi_devinfo.o [ 149s] CC drivers/mmc/host/sdhost_debugfs.o [ 149s] LD drivers/video/omap2/displays/built-in.o [ 149s] CC net/ipv6/mip6.o [ 149s] LD drivers/video/omap2/built-in.o [ 149s] CC drivers/video/sprdfb/sprdfb_main.o [ 149s] CC net/ipv6/sit.o [ 149s] In file included from drivers/mmc/host/sdhost_debugfs.c:17:0: [ 149s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 149s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 149s] [ 149s] In file included from include/soc/sprd/hardware.h:34:0, [ 149s] from drivers/mmc/host/sdhost_debugfs.c:15: [ 149s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 149s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 149s] [ 149s] In file included from drivers/mmc/host/sdhost_debugfs.c:17:0: [ 149s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 149s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 149s] [ 149s] In file included from include/soc/sprd/hardware.h:34:0, [ 149s] from drivers/mmc/host/sdhost_debugfs.c:15: [ 149s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 149s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 149s] [ 149s] In file included from drivers/mmc/host/sdhost_debugfs.c:17:0: [ 149s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 149s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 149s] [ 149s] In file included from include/soc/sprd/hardware.h:34:0, [ 149s] from drivers/mmc/host/sdhost_debugfs.c:15: [ 149s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 149s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 149s] [ 149s] In file included from drivers/mmc/host/sdhost_debugfs.c:17:0: [ 149s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 149s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 149s] [ 149s] In file included from include/soc/sprd/hardware.h:34:0, [ 149s] from drivers/mmc/host/sdhost_debugfs.c:15: [ 149s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 149s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 149s] [ 149s] In file included from drivers/mmc/host/sdhost_debugfs.c:17:0: [ 149s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 149s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 149s] ^~~~~~~~~~~~ [ 149s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 149s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 149s] ^~~~~~~~~~~~ [ 149s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 149s] #define SCI_ADDR(x, y) \ [ 149s] [ 149s] In file included from include/soc/sprd/hardware.h:34:0, [ 149s] from drivers/mmc/host/sdhost_debugfs.c:15: [ 149s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 149s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 149s] [ 149s] CC net/ipv6/netfilter/ip6_tables.o [ 150s] CC net/ipv6/ip6_tunnel.o [ 150s] LD drivers/video/console/built-in.o [ 150s] CC net/ipv6/addrconf_core.o [ 150s] CC drivers/scsi/scsi_sysctl.o [ 150s] CC drivers/media/tuners/tea5761.o [ 150s] CC drivers/video/cfbfillrect.o [ 150s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 150s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 150s] [ 150s] In file included from include/soc/sprd/hardware.h:34:0, [ 150s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 150s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 150s] [ 150s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 150s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 150s] [ 150s] In file included from include/soc/sprd/hardware.h:34:0, [ 150s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 150s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 150s] [ 150s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 150s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 150s] [ 150s] In file included from include/soc/sprd/hardware.h:34:0, [ 150s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 150s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 150s] [ 150s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 150s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 150s] [ 150s] In file included from include/soc/sprd/hardware.h:34:0, [ 150s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 150s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 150s] [ 150s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 150s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 150s] ^~~~~~~~~~~~ [ 150s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 150s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 150s] ^~~~~~~~~~~~ [ 150s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 150s] #define SCI_ADDR(x, y) \ [ 150s] [ 150s] In file included from include/soc/sprd/hardware.h:34:0, [ 150s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:32: [ 150s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 150s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 150s] [ 150s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 150s] from drivers/video/sprdfb/sprdfb_main.c:33: [ 150s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 150s] }; [ 150s] ^ [ 150s] drivers/video/sprdfb/sprdfb_main.c: In function 'sprdfb_notifier_ctrl': [ 150s] drivers/video/sprdfb/sprdfb_main.c:732:25: warning: unused variable 'mode' [-Wunused-variable] [ 150s] int ret = NOTIFY_DONE, mode; [ 150s] ^~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c: In function 'sprdfb_overlay_info_show': [ 150s] drivers/video/sprdfb/sprdfb_main.c:14:22: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'unsigned char *' [-Wformat=] [ 150s] #define pr_fmt(fmt) "sprdfb: " fmt [ 150s] ^ [ 150s] include/linux/dynamic_debug.h:78:35: note: in expansion of macro 'pr_fmt' [ 150s] __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ [ 150s] ^~~~~~ [ 150s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 150s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 150s] ^~~~~~~~~~~~~~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:787:2: note: in expansion of macro 'pr_debug' [ 150s] pr_debug("%s:layer[%d]osd[0x%x]img[0x%x]\n", __func__, [ 150s] ^~~~~~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:14:22: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'unsigned char *' [-Wformat=] [ 150s] #define pr_fmt(fmt) "sprdfb: " fmt [ 150s] ^ [ 150s] include/linux/dynamic_debug.h:78:35: note: in expansion of macro 'pr_fmt' [ 150s] __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ [ 150s] ^~~~~~ [ 150s] include/linux/printk.h:244:2: note: in expansion of macro 'dynamic_pr_debug' [ 150s] dynamic_pr_debug(fmt, ##__VA_ARGS__) [ 150s] ^~~~~~~~~~~~~~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:787:2: note: in expansion of macro 'pr_debug' [ 150s] pr_debug("%s:layer[%d]osd[0x%x]img[0x%x]\n", __func__, [ 150s] ^~~~~~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:792:45: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'unsigned char *' [-Wformat=] [ 150s] pos += sprintf(buf+pos, "layer[%s], osd[0x%x], img[0x%x], ", [ 150s] ^ [ 150s] drivers/video/sprdfb/sprdfb_main.c:792:56: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'unsigned char *' [-Wformat=] [ 150s] pos += sprintf(buf+pos, "layer[%s], osd[0x%x], img[0x%x], ", [ 150s] ^ [ 150s] drivers/video/sprdfb/sprdfb_main.c: In function 'sprdfb_probe': [ 150s] drivers/video/sprdfb/sprdfb_main.c:1037:24: warning: passing argument 2 of 'sprdfb_mdnie_reg' from incompatible pointer type [-Wincompatible-pointer-types] [ 150s] sprdfb_mdnie_reg(dev, dev->panel->ops->panel_send_mdnie_cmds, [ 150s] ^~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:106:12: note: expected 'mdnie_w {aka int (*)(void *, struct mdnie_command *, unsigned int)}' but argument is of type 'void (*)(struct sprdfb_device *, struct mdnie_command *, u32) {aka void (*)(struct sprdfb_device *, struct mdnie_command *, unsigned int)}' [ 150s] extern int sprdfb_mdnie_reg (struct sprdfb_device *dev, mdnie_w w, mdnie_r r, mdnie_c c); [ 150s] ^~~~~~~~~~~~~~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:1038:9: warning: passing argument 4 of 'sprdfb_mdnie_reg' from incompatible pointer type [-Wincompatible-pointer-types] [ 150s] NULL, dev->panel->ops->panel_get_color_coordinates); [ 150s] ^~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:106:12: note: expected 'mdnie_c {aka int (*)(void *, unsigned int *)}' but argument is of type 'uint32_t (*)(struct sprdfb_device *, uint32_t *) {aka unsigned int (*)(struct sprdfb_device *, unsigned int *)}' [ 150s] extern int sprdfb_mdnie_reg (struct sprdfb_device *dev, mdnie_w w, mdnie_r r, mdnie_c c); [ 150s] ^~~~~~~~~~~~~~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c: At top level: [ 150s] drivers/video/sprdfb/sprdfb_main.c:91:13: warning: 'sprdfb_setbacklight' declared 'static' but never defined [-Wunused-function] [ 150s] static void sprdfb_setbacklight(int value); [ 150s] ^~~~~~~~~~~~~~~~~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:644:12: warning: 'sprdfb_resume' defined but not used [-Wunused-function] [ 150s] static int sprdfb_resume(struct platform_device *pdev) [ 150s] ^~~~~~~~~~~~~ [ 150s] drivers/video/sprdfb/sprdfb_main.c:634:12: warning: 'sprdfb_suspend' defined but not used [-Wunused-function] [ 150s] static int sprdfb_suspend(struct platform_device *pdev,pm_message_t state) [ 150s] ^~~~~~~~~~~~~~ [ 150s] CC drivers/tty/tty_ldisc.o [ 150s] CC net/ipv6/exthdrs_core.o [ 150s] LD drivers/mmc/host/built-in.o [ 150s] LD drivers/thermal/thermal_sys.o [ 150s] LD drivers/mmc/built-in.o [ 151s] CC net/ipv4/tcp_cong.o [ 151s] LD drivers/thermal/built-in.o [ 151s] CC net/ipv6/ip6_checksum.o [ 151s] CC net/ipv4/tcp_metrics.o [ 151s] CC drivers/gpu/drm/sprd/sprd_drm_gsp.o [ 151s] CC drivers/scsi/scsi_proc.o [ 151s] CC drivers/video/sprdfb/sprdfb_panel.o [ 151s] CC drivers/scsi/scsi_trace.o [ 151s] CC net/ipv6/ip6_icmp.o [ 151s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:24: [ 151s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 151s] }; [ 151s] ^ [ 151s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 151s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 151s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 151s] [ 151s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 151s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 151s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 151s] [ 151s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 151s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 151s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 151s] [ 151s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 151s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 151s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 151s] [ 151s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 151s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 151s] ^~~~~~~~~~~~ [ 151s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 151s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 151s] ^~~~~~~~~~~~ [ 151s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 151s] #define SCI_ADDR(x, y) \ [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 151s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:26: [ 151s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 151s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 151s] [ 151s] In file included from drivers/gpu/drm/sprd/regs-gsp.h:342:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.h:12, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:38: [ 151s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 151s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:31: [ 151s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 151s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 151s] [ 151s] In file included from drivers/gpu/drm/sprd/regs-gsp.h:342:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.h:12, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:38: [ 151s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 151s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:31: [ 151s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 151s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 151s] [ 151s] In file included from drivers/gpu/drm/sprd/regs-gsp.h:342:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.h:12, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:38: [ 151s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 151s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:31: [ 151s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 151s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 151s] [ 151s] In file included from drivers/gpu/drm/sprd/regs-gsp.h:342:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.h:12, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:38: [ 151s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 151s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:31: [ 151s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 151s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 151s] [ 151s] In file included from drivers/gpu/drm/sprd/regs-gsp.h:342:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.h:12, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:38: [ 151s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 151s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 151s] ^~~~~~~~~~~~ [ 151s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 151s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 151s] ^~~~~~~~~~~~ [ 151s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 151s] #define SCI_ADDR(x, y) \ [ 151s] [ 151s] In file included from include/soc/sprd/hardware.h:34:0, [ 151s] from drivers/gpu/drm/sprd/sprd_drm_gsp.c:31: [ 151s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 151s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 151s] [ 151s] In file included from drivers/video/sprdfb/sprdfb_panel.c:26:0: [ 151s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_read': [ 151s] drivers/video/sprdfb/sprdfb_dispc_reg.h:144:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 151s] return __raw_readl(g_dispc_base_addr+ reg); [ 151s] ^~~~~~~~~~~~~~~~~ [ 151s] In file included from include/linux/fb.h:16:0, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:18: [ 151s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 151s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 151s] ^~~~~~~~~~~ [ 151s] In file included from drivers/video/sprdfb/sprdfb_panel.c:26:0: [ 151s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_write': [ 151s] drivers/video/sprdfb/sprdfb_dispc_reg.h:153:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 151s] __raw_writel(value, (g_dispc_base_addr + reg)); [ 151s] ^ [ 151s] In file included from include/linux/fb.h:16:0, [ 151s] from drivers/video/sprdfb/sprdfb_panel.c:18: [ 151s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 151s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 151s] ^~~~~~~~~~~~ [ 151s] drivers/video/sprdfb/sprdfb_panel.c: In function 'mtp_offset_get': [ 151s] drivers/video/sprdfb/sprdfb_panel.c:106:21: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'unsigned char (*)[79]' [-Wformat=] [ 151s] sscanf(&str[0], "%s", &mtp_offset_from_uboot); [ 151s] ^ [ 151s] drivers/video/sprdfb/sprdfb_panel.c: In function 'elvss_offset_get': [ 151s] drivers/video/sprdfb/sprdfb_panel.c:124:21: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'uint8_t * {aka unsigned char *}' [-Wformat=] [ 151s] sscanf(&str[0], "%x", &elvss_offset_from_uboot); [ 151s] ^ [ 151s] drivers/video/sprdfb/sprdfb_panel.c: In function 'hbm_offset_get': [ 151s] drivers/video/sprdfb/sprdfb_panel.c:134:21: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'unsigned char (*)[31]' [-Wformat=] [ 151s] sscanf(&str[0], "%s", &hbm_offset_from_uboot); [ 151s] ^ [ 151s] drivers/video/sprdfb/sprdfb_panel.c: In function 'chip_id_get': [ 151s] drivers/video/sprdfb/sprdfb_panel.c:148:21: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'unsigned char (*)[11]' [-Wformat=] [ 151s] sscanf(&str[0], "%s", &chip_id_from_uboot); [ 151s] ^ [ 151s] drivers/video/sprdfb/sprdfb_panel.c: In function 'color_offset_get': [ 151s] drivers/video/sprdfb/sprdfb_panel.c:162:21: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'unsigned char (*)[9]' [-Wformat=] [ 151s] sscanf(&str[0], "%s", &color_offset_from_uboot); [ 151s] ^ [ 151s] drivers/video/sprdfb/sprdfb_panel.c: In function 'sprdfb_backlight_class_register': [ 151s] drivers/video/sprdfb/sprdfb_panel.c:655:6: warning: unused variable 'ret' [-Wunused-variable] [ 151s] int ret; [ 151s] ^~~ [ 151s] In file included from drivers/gpu/drm/sprd/sprd_drm_gsp.c:33:0: [ 151s] drivers/gpu/drm/sprd/sprd_drm_gsp.c: In function 'gsp_gen_block_ccaler_coef': [ 151s] drivers/gpu/drm/sprd/sprd_drm_gsp.c:587:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'int16_t * {aka short int *}' [-Wformat=] [ 151s] DRM_ERROR("GSP_Gen_Block_Ccaler_Coef:_Allocate error!%08x,%08x,%08x\n", [ 151s] ^ [ 151s] include/drm/drmP.h:196:20: note: in definition of macro 'DRM_ERROR' [ 151s] drm_err(__func__, fmt, ##__VA_ARGS__) [ 151s] ^~~ [ 151s] drivers/gpu/drm/sprd/sprd_drm_gsp.c:587:13: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'int16_t * {aka short int *}' [-Wformat=] [ 151s] DRM_ERROR("GSP_Gen_Block_Ccaler_Coef:_Allocate error!%08x,%08x,%08x\n", [ 151s] ^ [ 151s] include/drm/drmP.h:196:20: note: in definition of macro 'DRM_ERROR' [ 151s] drm_err(__func__, fmt, ##__VA_ARGS__) [ 151s] ^~~ [ 151s] drivers/gpu/drm/sprd/sprd_drm_gsp.c:587:13: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'int16_t * {aka short int *}' [-Wformat=] [ 151s] DRM_ERROR("GSP_Gen_Block_Ccaler_Coef:_Allocate error!%08x,%08x,%08x\n", [ 151s] ^ [ 151s] include/drm/drmP.h:196:20: note: in definition of macro 'DRM_ERROR' [ 151s] drm_err(__func__, fmt, ##__VA_ARGS__) [ 151s] ^~~ [ 152s] CC drivers/scsi/scsi_pm.o [ 152s] CC net/ipv4/tcp_fastopen.o [ 152s] CC drivers/video/cfbcopyarea.o [ 152s] CC drivers/scsi/scsi_tgt_lib.o [ 152s] CC net/ipv4/datagram.o [ 152s] CC net/ipv6/output_core.o [ 152s] CC drivers/scsi/scsi_tgt_if.o [ 152s] CC drivers/video/backlight/backlight.o [ 152s] CC drivers/video/sprdfb/sprdfb_dispc.o [ 153s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 153s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 153s] [ 153s] In file included from include/soc/sprd/hardware.h:34:0, [ 153s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 153s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 153s] [ 153s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 153s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 153s] [ 153s] In file included from include/soc/sprd/hardware.h:34:0, [ 153s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 153s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 153s] [ 153s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 153s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 153s] [ 153s] In file included from include/soc/sprd/hardware.h:34:0, [ 153s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 153s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 153s] [ 153s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 153s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 153s] [ 153s] In file included from include/soc/sprd/hardware.h:34:0, [ 153s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 153s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 153s] [ 153s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 153s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 153s] ^~~~~~~~~~~~ [ 153s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 153s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 153s] ^~~~~~~~~~~~ [ 153s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 153s] #define SCI_ADDR(x, y) \ [ 153s] [ 153s] In file included from include/soc/sprd/hardware.h:34:0, [ 153s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 153s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 153s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 153s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 153s] [ 153s] In file included from drivers/video/sprdfb/sprdfb_dispc.c:30:0: [ 153s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_read': [ 153s] drivers/video/sprdfb/sprdfb_dispc_reg.h:144:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 153s] return __raw_readl(g_dispc_base_addr+ reg); [ 153s] ^~~~~~~~~~~~~~~~~ [ 153s] In file included from include/linux/io.h:22:0, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:18: [ 153s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 153s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 153s] ^~~~~~~~~~~ [ 153s] In file included from drivers/video/sprdfb/sprdfb_dispc.c:30:0: [ 153s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_write': [ 153s] drivers/video/sprdfb/sprdfb_dispc_reg.h:153:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 153s] __raw_writel(value, (g_dispc_base_addr + reg)); [ 153s] ^ [ 153s] In file included from include/linux/io.h:22:0, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:18: [ 153s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 153s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 153s] ^~~~~~~~~~~~ [ 153s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 153s] from drivers/video/sprdfb/sprdfb_panel.h:17, [ 153s] from drivers/video/sprdfb/sprdfb_dispc.c:31: [ 153s] drivers/video/sprdfb/mdnie/mdnie_lite.h: At top level: [ 153s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 153s] }; [ 153s] ^ [ 153s] CC drivers/usb/core/urb.o [ 153s] drivers/video/sprdfb/sprdfb_dispc.c: In function 'sprdfb_dispc_display_overlay': [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2092:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 153s] img_buffer = (unsigned long)phys_addr; [ 153s] ^ [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2107:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 153s] osd_buffer = (unsigned long)phys_addr; [ 153s] ^ [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2125:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 153s] osd_buffer = (unsigned long)phys_addr; [ 153s] ^ [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2129:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 153s] img_buffer = (unsigned long)phys_addr; [ 153s] ^ [ 153s] CC drivers/media/tuners/tda9887.o [ 153s] drivers/video/sprdfb/sprdfb_dispc.c: At top level: [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2737:16: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 153s] .logo_proc = sprdfb_dispc_logo_proc, [ 153s] ^~~~~~~~~~~~~~~~~~~~~~ [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2737:16: note: (near initialization for 'sprdfb_dispc_ctrl.logo_proc') [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2745:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 153s] .enable_overlay = sprdfb_dispc_enable_overlay, [ 153s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2745:20: note: (near initialization for 'sprdfb_dispc_ctrl.enable_overlay') [ 153s] CC net/ipv4/raw.o [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2315:13: warning: 'dispc_run_for_feature' defined but not used [-Wunused-function] [ 153s] static void dispc_run_for_feature(struct sprdfb_device *dev) [ 153s] ^~~~~~~~~~~~~~~~~~~~~ [ 153s] drivers/video/sprdfb/sprdfb_dispc.c:2296:13: warning: 'dispc_stop_for_feature' defined but not used [-Wunused-function] [ 153s] static void dispc_stop_for_feature(struct sprdfb_device *dev) [ 153s] ^~~~~~~~~~~~~~~~~~~~~~ [ 153s] CC drivers/scsi/sd.o [ 153s] CC drivers/scsi/sr.o [ 153s] CC drivers/net/ppp/ppp_async.o [ 153s] CC net/ipv4/udp.o [ 153s] CC net/ipv4/udplite.o [ 153s] LD drivers/gpu/drm/sprd/sprddrm.o [ 154s] CC drivers/video/cfbimgblt.o [ 154s] LD drivers/gpu/drm/sprd/built-in.o [ 154s] LD drivers/gpu/drm/built-in.o [ 154s] LD drivers/gpu/built-in.o [ 154s] CC drivers/scsi/sr_vendor.o [ 154s] CC drivers/scsi/sr_ioctl.o [ 154s] CC drivers/tty/tty_buffer.o [ 154s] CC drivers/tty/tty_port.o [ 154s] CC net/ipv6/protocol.o [ 154s] CC net/ipv6/ip6_offload.o [ 154s] CC net/ipv4/arp.o [ 155s] CC drivers/scsi/raid_class.o [ 155s] LD drivers/scsi/arm/built-in.o [ 155s] CC drivers/staging/android/ashmem.o [ 155s] CC drivers/scsi/device_handler/scsi_dh.o [ 155s] CC drivers/net/ppp/bsd_comp.o [ 155s] CC net/ipv6/tcpv6_offload.o [ 155s] CC drivers/staging/android/logger.o [ 155s] LD drivers/video/fb.o [ 155s] CC drivers/staging/android/timed_output.o [ 156s] CC net/ipv6/udp_offload.o [ 156s] CC drivers/usb/core/message.o [ 156s] CC net/ipv6/exthdrs_offload.o [ 156s] CC drivers/net/ppp/ppp_deflate.o [ 156s] CC drivers/net/ppp/ppp_mppe.o [ 156s] CC drivers/video/backlight/ktd3102_bl.o [ 156s] CC net/ipv6/inet6_hashtables.o [ 156s] CC drivers/media/tuners/tda827x.o [ 156s] LD net/ipv6/ipv6.o [ 156s] CC net/ipv4/icmp.o [ 156s] CC drivers/staging/android/alarm-dev.o [ 156s] CC net/ipv6/netfilter/ip6table_filter.o [ 156s] CC drivers/staging/android/sync.o [ 156s] CC drivers/media/tuners/tda18271-maps.o [ 156s] In file included from drivers/video/backlight/ktd3102_bl.c:26:0: [ 156s] include/linux/platform_data/gen-panel-bl.h:47:31: warning: 'struct lcd' declared inside parameter list will not be visible outside of this definition or declaration [ 156s] int (*set_brightness)(struct lcd *, int level); [ 156s] ^~~ [ 156s] include/linux/platform_data/gen-panel-bl.h:48:31: warning: 'struct lcd' declared inside parameter list will not be visible outside of this definition or declaration [ 156s] int (*get_brightness)(struct lcd *); [ 156s] ^~~ [ 156s] drivers/video/backlight/ktd3102_bl.c: In function 'ktd3102_backlight_probe': [ 156s] drivers/video/backlight/ktd3102_bl.c:331:7: warning: unused variable 'i' [-Wunused-variable] [ 156s] int i; [ 156s] ^ [ 157s] CC net/ipv6/netfilter/ip6table_mangle.o [ 157s] CC drivers/media/tuners/tda18271-common.o [ 157s] CC drivers/net/ppp/pppox.o [ 157s] drivers/staging/android/alarm-dev.c: In function 'alarm_do_ioctl': [ 157s] drivers/staging/android/alarm-dev.c:282:1: warning: label 'err1' defined but not used [-Wunused-label] [ 157s] err1: [ 157s] ^~~~ [ 157s] In file included from include/linux/printk.h:6:0, [ 157s] from include/linux/kernel.h:13, [ 157s] from include/linux/cache.h:4, [ 157s] from include/linux/time.h:4, [ 157s] from drivers/staging/android/alarm-dev.c:16: [ 157s] drivers/staging/android/alarm-dev.c: In function 'devalarm_triggered': [ 157s] include/linux/kern_levels.h:4:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 's64 {aka long long int}' [-Wformat=] [ 157s] #define KERN_SOH "\001" /* ASCII Start Of Header */ [ 157s] ^ [ 157s] include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' [ 157s] #define KERN_INFO KERN_SOH "6" /* informational */ [ 157s] ^~~~~~~~ [ 157s] include/linux/printk.h:227:9: note: in expansion of macro 'KERN_INFO' [ 157s] printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) [ 157s] ^~~~~~~~~ [ 157s] drivers/staging/android/alarm-dev.c:39:3: note: in expansion of macro 'pr_info' [ 157s] pr_info(fmt, ##__VA_ARGS__); \ [ 157s] ^~~~~~~ [ 157s] drivers/staging/android/alarm-dev.c:408:2: note: in expansion of macro 'alarm_dbg' [ 157s] alarm_dbg(INT, "%s: type %d, time %lu\n", __func__, alarm->type, [ 157s] ^~~~~~~~~ [ 157s] CC net/ipv4/devinet.o [ 157s] CC drivers/net/ppp/pppoe.o [ 157s] LD drivers/scsi/scsi_mod.o [ 157s] CC drivers/tty/tty_mutex.o [ 157s] LD drivers/scsi/scsi_tgt.o [ 157s] LD drivers/scsi/sd_mod.o [ 157s] LD drivers/scsi/sr_mod.o [ 157s] CC drivers/tty/tty_ldsem.o [ 157s] CC net/ipv4/af_inet.o [ 157s] CC drivers/tty/pty.o [ 157s] CC drivers/net/ppp/pptp.o [ 157s] LD drivers/video/backlight/built-in.o [ 157s] CC drivers/tty/tty_audit.o [ 157s] CC drivers/net/ppp/pppolac.o [ 157s] CC drivers/media/tuners/tda18271-fe.o [ 157s] CC drivers/net/ppp/pppopns.o [ 157s] CC drivers/media/tuners/xc5000.o [ 158s] CC net/ipv4/igmp.o [ 158s] CC net/ipv6/netfilter/ip6table_raw.o [ 158s] CC net/ipv6/netfilter/ip6table_nat.o [ 158s] CC drivers/tty/sysrq.o [ 158s] CC drivers/media/tuners/xc4000.o [ 158s] CC net/ipv4/fib_frontend.o [ 158s] LD drivers/tty/ipwireless/built-in.o [ 158s] CC drivers/tty/serial/serial_core.o [ 158s] CC drivers/tty/vt/vt_ioctl.o [ 158s] CC net/ipv4/fib_semantics.o [ 159s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 159s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 159s] [ 159s] In file included from include/soc/sprd/hardware.h:34:0, [ 159s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 159s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 159s] [ 159s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 159s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 159s] [ 159s] In file included from include/soc/sprd/hardware.h:34:0, [ 159s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 159s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 159s] [ 159s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 159s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 159s] [ 159s] In file included from include/soc/sprd/hardware.h:34:0, [ 159s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 159s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 159s] [ 159s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 159s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 159s] [ 159s] In file included from include/soc/sprd/hardware.h:34:0, [ 159s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 159s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 159s] [ 159s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 159s] #define SCI_ADDR(x, y) \ [ 159s] [ 159s] In file included from include/soc/sprd/hardware.h:34:0, [ 159s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 159s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 159s] from drivers/video/sprdfb/sprdfb_dispc.c:30: [ 159s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 159s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 159s] [ 159s] CC drivers/tty/sprdrq.o [ 159s] CC net/ipv4/fib_trie.o [ 159s] CC drivers/tty/vt/vc_screen.o [ 159s] CC net/ipv4/inet_fragment.o [ 159s] CC net/ipv4/ping.o [ 159s] CC net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.o [ 159s] CC net/ipv4/ip_tunnel.o [ 159s] LD drivers/scsi/device_handler/built-in.o [ 159s] LD drivers/scsi/built-in.o [ 159s] CC net/ipv6/netfilter/nf_conntrack_proto_icmpv6.o [ 159s] CC net/ipv6/netfilter/nf_defrag_ipv6_hooks.o [ 159s] LD drivers/staging/iio/accel/built-in.o [ 159s] LD drivers/staging/iio/adc/built-in.o [ 159s] LD drivers/staging/iio/addac/built-in.o [ 159s] CC drivers/media/tuners/mc44s803.o [ 159s] LD drivers/staging/iio/cdc/built-in.o [ 159s] LD drivers/staging/iio/frequency/built-in.o [ 159s] LD drivers/staging/iio/gyro/built-in.o [ 160s] LD drivers/staging/iio/impedance-analyzer/built-in.o [ 160s] LD drivers/staging/media/built-in.o [ 160s] LD drivers/staging/iio/light/built-in.o [ 160s] LD drivers/staging/iio/magnetometer/built-in.o [ 160s] CC net/ipv6/netfilter/nf_conntrack_reasm.o [ 160s] LD drivers/staging/iio/meter/built-in.o [ 160s] CC net/ipv4/sysctl_net_ipv4.o [ 160s] LD drivers/staging/iio/resolver/built-in.o [ 160s] CC net/ipv4/sysfs_net_ipv4.o [ 160s] LD drivers/staging/iio/trigger/built-in.o [ 160s] LD drivers/staging/iio/built-in.o [ 160s] CC net/ipv6/netfilter/nf_nat_l3proto_ipv6.o [ 160s] CC drivers/tty/vt/selection.o [ 160s] CC drivers/video/sprdfb/sprdfb_mcu.o [ 160s] CC net/ipv4/proc.o [ 160s] CC net/ipv6/netfilter/nf_nat_proto_icmpv6.o [ 161s] CC drivers/usb/core/driver.o [ 161s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:22: [ 161s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 161s] }; [ 161s] ^ [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 161s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 161s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 161s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 161s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 161s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 161s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 161s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 161s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 161s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 161s] ^~~~~~~~~~~~ [ 161s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 161s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 161s] ^~~~~~~~~~~~ [ 161s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 161s] #define SCI_ADDR(x, y) \ [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:24: [ 161s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 161s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_mcu.c:24:0: [ 161s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_read': [ 161s] drivers/video/sprdfb/sprdfb_dispc_reg.h:144:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 161s] return __raw_readl(g_dispc_base_addr+ reg); [ 161s] ^~~~~~~~~~~~~~~~~ [ 161s] In file included from include/linux/fb.h:16:0, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:19: [ 161s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 161s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 161s] ^~~~~~~~~~~ [ 161s] In file included from drivers/video/sprdfb/sprdfb_mcu.c:24:0: [ 161s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_write': [ 161s] drivers/video/sprdfb/sprdfb_dispc_reg.h:153:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 161s] __raw_writel(value, (g_dispc_base_addr + reg)); [ 161s] ^ [ 161s] In file included from include/linux/fb.h:16:0, [ 161s] from drivers/video/sprdfb/sprdfb_mcu.c:19: [ 161s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 161s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 161s] ^~~~~~~~~~~~ [ 161s] CC net/ipv6/netfilter/ip6t_MASQUERADE.o [ 161s] CC drivers/video/sprdfb/sprdfb_rgb.o [ 161s] CC drivers/tty/vt/keyboard.o [ 161s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:18: [ 161s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 161s] }; [ 161s] ^ [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 161s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 161s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 161s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 161s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 161s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 161s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 161s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 161s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 161s] [ 161s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 161s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 161s] ^~~~~~~~~~~~ [ 161s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 161s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 161s] ^~~~~~~~~~~~ [ 161s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 161s] #define SCI_ADDR(x, y) \ [ 161s] [ 161s] In file included from include/soc/sprd/hardware.h:34:0, [ 161s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 161s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 161s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 161s] [ 161s] CC net/ipv4/fib_rules.o [ 161s] In file included from drivers/video/sprdfb/sprdfb_rgb.c:20:0: [ 161s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_read': [ 161s] drivers/video/sprdfb/sprdfb_dispc_reg.h:144:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 161s] return __raw_readl(g_dispc_base_addr+ reg); [ 161s] ^~~~~~~~~~~~~~~~~ [ 161s] In file included from drivers/video/sprdfb/sprdfb_dispc_reg.h:17:0, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 161s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 161s] ^~~~~~~~~~~ [ 161s] In file included from drivers/video/sprdfb/sprdfb_rgb.c:20:0: [ 161s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_write': [ 161s] drivers/video/sprdfb/sprdfb_dispc_reg.h:153:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 161s] __raw_writel(value, (g_dispc_base_addr + reg)); [ 161s] ^ [ 161s] In file included from drivers/video/sprdfb/sprdfb_dispc_reg.h:17:0, [ 161s] from drivers/video/sprdfb/sprdfb_rgb.c:20: [ 161s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 161s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 161s] ^~~~~~~~~~~~ [ 161s] LD drivers/staging/android/built-in.o [ 161s] LD drivers/staging/built-in.o [ 161s] CC net/ipv6/netfilter/ip6t_REJECT.o [ 161s] CC net/ipv4/gre.o [ 161s] CC net/ipv4/esp4.o [ 161s] LD drivers/media/tuners/tda18271.o [ 161s] CC net/ipv4/xfrm4_mode_beet.o [ 161s] CC drivers/video/sprdfb/sprdfb_mipi.o [ 162s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:16: [ 162s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 162s] }; [ 162s] ^ [ 162s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 162s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 162s] [ 162s] In file included from include/soc/sprd/hardware.h:34:0, [ 162s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 162s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 162s] [ 162s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 162s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 162s] [ 162s] In file included from include/soc/sprd/hardware.h:34:0, [ 162s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 162s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 162s] [ 162s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 162s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 162s] [ 162s] In file included from include/soc/sprd/hardware.h:34:0, [ 162s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 162s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 162s] [ 162s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 162s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 162s] [ 162s] In file included from include/soc/sprd/hardware.h:34:0, [ 162s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 162s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 162s] [ 162s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 162s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 162s] ^~~~~~~~~~~~ [ 162s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 162s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 162s] ^~~~~~~~~~~~ [ 162s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 162s] #define SCI_ADDR(x, y) \ [ 162s] [ 162s] In file included from include/soc/sprd/hardware.h:34:0, [ 162s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 162s] from drivers/video/sprdfb/sprdfb_dispc_reg.h:19, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 162s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 162s] [ 162s] CC drivers/video/sprdfb/sprdfb_i2c.o [ 162s] CC net/ipv4/tunnel4.o [ 162s] In file included from drivers/video/sprdfb/sprdfb_mipi.c:18:0: [ 162s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_read': [ 162s] drivers/video/sprdfb/sprdfb_dispc_reg.h:144:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 162s] return __raw_readl(g_dispc_base_addr+ reg); [ 162s] ^~~~~~~~~~~~~~~~~ [ 162s] In file included from drivers/video/sprdfb/sprdfb_dispc_reg.h:17:0, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 162s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 162s] ^~~~~~~~~~~ [ 162s] In file included from drivers/video/sprdfb/sprdfb_mipi.c:18:0: [ 162s] drivers/video/sprdfb/sprdfb_dispc_reg.h: In function 'dispc_write': [ 162s] drivers/video/sprdfb/sprdfb_dispc_reg.h:153:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 162s] __raw_writel(value, (g_dispc_base_addr + reg)); [ 162s] ^ [ 162s] In file included from drivers/video/sprdfb/sprdfb_dispc_reg.h:17:0, [ 162s] from drivers/video/sprdfb/sprdfb_mipi.c:18: [ 162s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 162s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 162s] ^~~~~~~~~~~~ [ 162s] LD drivers/net/ppp/built-in.o [ 162s] CC net/ipv4/xfrm4_mode_transport.o [ 162s] CC net/ipv4/xfrm4_mode_tunnel.o [ 162s] CC drivers/net/slip/slhc.o [ 162s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 162s] from drivers/video/sprdfb/sprdfb_i2c.c:19: [ 162s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 162s] }; [ 162s] ^ [ 162s] CC drivers/net/tun.o [ 162s] LD drivers/net/wireless/sc2331/built-in.o [ 162s] CC drivers/tty/vt/consolemap.o [ 162s] CC drivers/video/sprdfb/sprdfb_spi.o [ 162s] CC drivers/net/wireless/sc2331/sc2331_mem_alloc/sprdwl_mem_alloc.o [ 162s] LD drivers/media/tuners/built-in.o [ 162s] LD drivers/media/built-in.o [ 162s] CC drivers/video/sprdfb/sprdfb_dsi.o [ 163s] CONMK drivers/tty/vt/consolemap_deftbl.c [ 163s] CC drivers/video/sprdfb/sprdfb_chip_common.o [ 163s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 163s] from drivers/video/sprdfb/sprdfb_spi.c:20: [ 163s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 163s] }; [ 163s] ^ [ 163s] CC drivers/tty/vt/vt.o [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 163s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 163s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 163s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 163s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 163s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 163s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 163s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 163s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 163s] #define SCI_ADDR(x, y) \ [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.c:17: [ 163s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 163s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 163s] [ 163s] CC net/ipv4/netfilter.o [ 163s] SHIPPED drivers/tty/vt/defkeymap.c [ 163s] CC drivers/tty/vt/consolemap_deftbl.o [ 163s] CC drivers/tty/vt/defkeymap.o [ 163s] CC drivers/tty/serial/serial_sprd_dt.o [ 163s] CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o [ 163s] CC drivers/video/sprdfb/sprdfb_chip_8830.o [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 163s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 163s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 163s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 163s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 163s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 163s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 163s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 163s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 163s] #define SCI_ADDR(x, y) \ [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 163s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 163s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 163s] [ 163s] CC net/ipv4/inet_diag.o [ 163s] CC drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.o [ 163s] CC net/ipv4/tcp_diag.o [ 163s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:29: [ 163s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 163s] }; [ 163s] ^ [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 163s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.h:18, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:16: [ 163s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 163s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 163s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.h:18, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:16: [ 163s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 163s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 163s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.h:18, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:16: [ 163s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 163s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 163s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.h:18, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:16: [ 163s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 163s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 163s] [ 163s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:17: [ 163s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 163s] #define SCI_ADDR(x, y) \ [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.h:18, [ 163s] from drivers/video/sprdfb/sprdfb_chip_8830.c:16: [ 163s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 163s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 163s] [ 163s] drivers/video/sprdfb/sprdfb_dsi.c: In function 'dsi_core_read_function': [ 163s] drivers/video/sprdfb/sprdfb_dsi.c:73:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 163s] return __raw_readl(addr + offset); [ 163s] ^~~~ [ 163s] In file included from include/linux/io.h:22:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:16: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~ [ 163s] drivers/video/sprdfb/sprdfb_dsi.c: In function 'dsi_core_write_function': [ 163s] drivers/video/sprdfb/sprdfb_dsi.c:79:21: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 163s] __raw_writel(data, (addr + offset)); [ 163s] ^ [ 163s] In file included from include/linux/io.h:22:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:16: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~~ [ 163s] drivers/video/sprdfb/sprdfb_dsi.c: In function 'dsi_core_or_function': [ 163s] drivers/video/sprdfb/sprdfb_dsi.c:84:28: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 163s] __raw_writel((__raw_readl(addr) | data), addr); [ 163s] ^~~~ [ 163s] In file included from include/linux/io.h:22:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:16: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~ [ 163s] drivers/video/sprdfb/sprdfb_dsi.c:84:43: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 163s] __raw_writel((__raw_readl(addr) | data), addr); [ 163s] ^~~~ [ 163s] In file included from include/linux/io.h:22:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:16: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~~ [ 163s] drivers/video/sprdfb/sprdfb_dsi.c: In function 'dsi_core_and_function': [ 163s] drivers/video/sprdfb/sprdfb_dsi.c:88:28: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 163s] __raw_writel((__raw_readl(addr) & data), addr); [ 163s] ^~~~ [ 163s] In file included from include/linux/io.h:22:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:16: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~ [ 163s] drivers/video/sprdfb/sprdfb_dsi.c:88:43: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 163s] __raw_writel((__raw_readl(addr) & data), addr); [ 163s] ^~~~ [ 163s] In file included from include/linux/io.h:22:0, [ 163s] from drivers/video/sprdfb/sprdfb_dsi.c:16: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~~ [ 163s] drivers/video/sprdfb/sprdfb_dsi.c: In function 'dsi_module_init': [ 163s] drivers/video/sprdfb/sprdfb_dsi.c:329:21: warning: unused variable 'mipi' [-Wunused-variable] [ 163s] struct info_mipi * mipi = dev->panel->info.mipi; [ 163s] ^~~~ [ 163s] CC net/ipv4/tcp_cubic.o [ 163s] drivers/net/wireless/sc2331/sc2331_mem_alloc/sprdwl_mem_alloc.c: In function 'wifi_256k_alloc': [ 163s] drivers/net/wireless/sc2331/sc2331_mem_alloc/sprdwl_mem_alloc.c:60:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] [ 163s] printk("\001" "0" "[wifi_256k_alloc][%d][0x%x]\n", i, [ 163s] ^~~~~~ [ 163s] drivers/net/wireless/sc2331/sc2331_mem_alloc/sprdwl_mem_alloc.c: In function 'wifi_256k_free': [ 163s] drivers/net/wireless/sc2331/sc2331_mem_alloc/sprdwl_mem_alloc.c:76:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] [ 163s] printk("\001" "0" "[wifi_256k_free][%d][0x%x]\n", i, [ 163s] ^~~~~~ [ 163s] drivers/net/wireless/sc2331/sc2331_mem_alloc/sprdwl_mem_alloc.c: In function 'sprdwl_mem_alloc': [ 163s] drivers/net/wireless/sc2331/sc2331_mem_alloc/sprdwl_mem_alloc.c:92:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] [ 163s] printk("\001" "0" "[wifi_mem][%d][0x%x]\n", i, wifi_mem[i].mem); [ 163s] ^~~~~~ [ 163s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 163s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 163s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 163s] [ 163s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 163s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 163s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 163s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 163s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 163s] [ 163s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 163s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 163s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 163s] [ 163s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 163s] #define SCI_ADDR(x, y) \ [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.h:40, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:9: [ 163s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 163s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 163s] [ 163s] CC net/ipv4/cipso_ipv4.o [ 163s] CC drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.o [ 163s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb.h:36:0, [ 163s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.c:12: [ 163s] drivers/video/sprdfb/dsi_1_21a/../mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 163s] }; [ 163s] ^ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 163s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 163s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 163s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 163s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 163s] [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 163s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 163s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 163s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 163s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 163s] [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 163s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 163s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 163s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 163s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 163s] [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 163s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 163s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 163s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 163s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 163s] [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 163s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 163s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 163s] ^~~~~~~~~~~~ [ 163s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 163s] #define SCI_ADDR(x, y) \ [ 163s] [ 163s] In file included from include/soc/sprd/hardware.h:34:0, [ 163s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 163s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 163s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 163s] [ 163s] drivers/tty/serial/serial_sprd_dt.c: In function 'wakeup_rx_interrupt': [ 163s] drivers/tty/serial/serial_sprd_dt.c:359:26: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 163s] #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80) [ 163s] ^ [ 163s] drivers/tty/serial/serial_sprd_dt.c:368:20: note: in expansion of macro 'SPRD_EICINT_BASE' [ 163s] val = __raw_readl(SPRD_EICINT_BASE + 0x10); [ 163s] ^~~~~~~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c:359:26: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 163s] #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80) [ 163s] ^ [ 163s] drivers/tty/serial/serial_sprd_dt.c:373:20: note: in expansion of macro 'SPRD_EICINT_BASE' [ 163s] __raw_writel(val, SPRD_EICINT_BASE + 0x10); [ 163s] ^~~~~~~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c:359:26: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 163s] #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80) [ 163s] ^ [ 163s] drivers/tty/serial/serial_sprd_dt.c:376:20: note: in expansion of macro 'SPRD_EICINT_BASE' [ 163s] val = __raw_readl(SPRD_EICINT_BASE + 0x0C); [ 163s] ^~~~~~~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c:359:26: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 163s] #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80) [ 163s] ^ [ 163s] drivers/tty/serial/serial_sprd_dt.c:378:20: note: in expansion of macro 'SPRD_EICINT_BASE' [ 163s] __raw_writel(val, SPRD_EICINT_BASE + 0x0C); [ 163s] ^~~~~~~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'long unsigned int' [ 163s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_reset': [ 163s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 163s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 163s] ^ [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 163s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 163s] ^ [ 163s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:31:59: note: in expansion of macro 'SCI_ADDR' [ 163s] #define REG_AP_APB_APB_RST SCI_ADDR(REGS_AP_APB_BASE, 0x0004) [ 163s] ^~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c:449:53: note: in expansion of macro 'REG_AP_APB_APB_RST' [ 163s] writel_relaxed((BIT_UART0_SOFT_RST<<(port->line)), REG_AP_APB_APB_RST); [ 163s] ^~~~~~~~~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 163s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~~ [ 163s] In file included from include/linux/byteorder/little_endian.h:4:0, [ 163s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/uapi/asm/byteorder.h:21, [ 163s] from include/asm-generic/bitops/le.h:5, [ 163s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bitops.h:308, [ 163s] from include/linux/bitops.h:30, [ 163s] from include/linux/kernel.h:10, [ 163s] from drivers/tty/serial/serial_sprd_dt.c:14: [ 163s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 163s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 163s] ^ [ 163s] include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' [ 163s] #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) [ 163s] ^ [ 163s] drivers/tty/serial/serial_sprd_dt.c:451:10: note: in expansion of macro 'readl_relaxed' [ 163s] value = readl_relaxed( REG_AP_APB_APB_RST); [ 163s] ^~~~~~~~~~~~~ [ 163s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:31:59: note: in expansion of macro 'SCI_ADDR' [ 163s] #define REG_AP_APB_APB_RST SCI_ADDR(REGS_AP_APB_BASE, 0x0004) [ 163s] ^~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c:451:25: note: in expansion of macro 'REG_AP_APB_APB_RST' [ 163s] value = readl_relaxed( REG_AP_APB_APB_RST); [ 163s] ^~~~~~~~~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 163s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 163s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 163s] ^ [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:470:71: note: in definition of macro 'writel_relaxed' [ 163s] #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) [ 163s] ^ [ 163s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:31:59: note: in expansion of macro 'SCI_ADDR' [ 163s] #define REG_AP_APB_APB_RST SCI_ADDR(REGS_AP_APB_BASE, 0x0004) [ 163s] ^~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c:453:24: note: in expansion of macro 'REG_AP_APB_APB_RST' [ 163s] writel_relaxed(value, REG_AP_APB_APB_RST); [ 163s] ^~~~~~~~~~~~~~~~~~ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:27:0: [ 163s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 163s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 163s] ^~~~~~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_dump_reg': [ 163s] drivers/tty/serial/serial_sprd_dt.c:602:1: warning: no return statement in function returning non-void [-Wreturn-type] [ 163s] } [ 163s] ^ [ 163s] drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_config_reg_show': [ 163s] drivers/tty/serial/serial_sprd_dt.c:608:15: warning: unused variable 'pinmap_uart_conf' [-Wunused-variable] [ 163s] unsigned int pinmap_uart_conf = 0; [ 163s] ^~~~~~~~~~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_setup_port': [ 163s] drivers/tty/serial/serial_sprd_dt.c:745:22: warning: unused variable 'np' [-Wunused-variable] [ 163s] struct device_node *np = pdev->dev.of_node; [ 163s] ^~ [ 163s] drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_probe': [ 163s] drivers/tty/serial/serial_sprd_dt.c:917:51: warning: passing argument 3 of 'of_property_read_string' from incompatible pointer type [-Wincompatible-pointer-types] [ 163s] of_property_read_string(np, "sprdwaketype", &local_string); [ 163s] ^ [ 163s] In file included from drivers/tty/serial/serial_sprd_dt.c:37:0: [ 163s] include/linux/of.h:252:12: note: expected 'const char **' but argument is of type 'char **' [ 163s] extern int of_property_read_string(struct device_node *np, [ 163s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 163s] At top level: [ 163s] drivers/tty/serial/serial_sprd_dt.c:694:3: warning: 'uart_bak' defined but not used [-Wunused-variable] [ 163s] } uart_bak[UART_NR_MAX]; [ 163s] ^~~~~~~~ [ 163s] drivers/tty/serial/serial_sprd_dt.c:388:13: warning: 'serial_sprd_pin_config' defined but not used [-Wunused-function] [ 163s] static void serial_sprd_pin_config(void) [ 163s] ^~~~~~~~~~~~~~~~~~~~~~ [ 163s] CC drivers/video/sprdfb/mdnie/mdnie_lite.o [ 164s] In file included from drivers/video/sprdfb/lcd/../sprdfb.h:36:0, [ 164s] from drivers/video/sprdfb/lcd/../sprdfb_panel.h:17, [ 164s] from drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c:23: [ 164s] drivers/video/sprdfb/lcd/../mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 164s] }; [ 164s] ^ [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c: In function 'mdnie_cmds_send': [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c:421:24: warning: passing argument 2 of 'mipi_dcs_send' from incompatible pointer type [-Wincompatible-pointer-types] [ 164s] mipi_dcs_send(panel, seq[i].sequence, seq[i].size); [ 164s] ^~~ [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c:387:16: note: expected 'LCM_Init_Code * {aka struct LCM_Init_Code_tag *}' but argument is of type 'lcm_init_code * {aka struct lcm_init_code_tag *}' [ 164s] static int32_t mipi_dcs_send(struct panel_spec *self, [ 164s] ^~~~~~~~~~~~~ [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_get_color_coordinates': [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c:429:13: warning: the address of 'color_offset_t' will always evaluate as 'true' [-Waddress] [ 164s] if (co_ord && color_offset_t) { [ 164s] ^~ [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c: At top level: [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c:1332:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 164s] .panel_before_resume = s6e8aa5x01_dummy, [ 164s] ^~~~~~~~~~~~~~~~ [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c:1332:25: note: (near initialization for 'lcd_s6e8aa5x01_mipi_operations.panel_before_resume') [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c:1343:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 164s] .panel_read_offset = s6e8aa5x01_apply_mtp_from_uboot, [ 164s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 164s] drivers/video/sprdfb/lcd/lcd_s6e8aa5x01_mipi.c:1343:23: note: (near initialization for 'lcd_s6e8aa5x01_mipi_operations.panel_read_offset') [ 164s] In file included from drivers/video/sprdfb/mdnie/mdnie_lite.c:26:0: [ 164s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 164s] }; [ 164s] ^ [ 164s] drivers/video/sprdfb/mdnie/mdnie_lite.c: In function 'mdnie_tune_store': [ 164s] drivers/video/sprdfb/mdnie/mdnie_lite.c:431:28: warning: passing argument 3 of 'kstrtouint' from incompatible pointer type [-Wincompatible-pointer-types] [ 164s] ret = kstrtouint(buf, 0, &mdnie->tuning); [ 164s] ^ [ 164s] In file included from include/linux/cache.h:4:0, [ 164s] from include/linux/time.h:4, [ 164s] from include/linux/stat.h:18, [ 164s] from include/linux/module.h:10, [ 164s] from drivers/video/sprdfb/mdnie/mdnie_lite.c:7: [ 164s] include/linux/kernel.h:284:18: note: expected 'unsigned int *' but argument is of type 'bool * {aka _Bool *}' [ 164s] int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res); [ 164s] ^~~~~~~~~~ [ 164s] drivers/video/sprdfb/mdnie/mdnie_lite.c: In function 'mdnie_accessibility_store': [ 164s] drivers/video/sprdfb/mdnie/mdnie_lite.c:473:11: warning: unused variable 'wbuf' [-Wunused-variable] [ 164s] mdnie_t *wbuf; [ 164s] ^~~~ [ 164s] drivers/video/sprdfb/mdnie/mdnie_lite.c:471:28: warning: unused variable 'i' [-Wunused-variable] [ 164s] unsigned int value, s[9], i = 0; [ 164s] ^ [ 164s] CC net/ipv4/xfrm4_policy.o [ 164s] CC drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.o [ 164s] CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o [ 164s] CC drivers/usb/core/config.o [ 164s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 164s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 164s] [ 164s] In file included from include/soc/sprd/hardware.h:34:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 164s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 164s] [ 164s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 164s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 164s] [ 164s] In file included from include/soc/sprd/hardware.h:34:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 164s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 164s] [ 164s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 164s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 164s] [ 164s] In file included from include/soc/sprd/hardware.h:34:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 164s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 164s] [ 164s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 164s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 164s] [ 164s] In file included from include/soc/sprd/hardware.h:34:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 164s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 164s] [ 164s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 164s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 164s] ^~~~~~~~~~~~ [ 164s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 164s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 164s] ^~~~~~~~~~~~ [ 164s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 164s] #define SCI_ADDR(x, y) \ [ 164s] [ 164s] In file included from include/soc/sprd/hardware.h:34:0, [ 164s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.h:41, [ 164s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.c:8: [ 164s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 164s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 164s] [ 164s] CC net/ipv4/xfrm4_state.o [ 164s] CC net/ipv4/xfrm4_input.o [ 165s] CC net/ipv4/xfrm4_output.o [ 165s] CC drivers/video/sprdfb/lcd/s6e8aa5x01_dimming.o [ 165s] LD drivers/video/sprdfb/mdnie/built-in.o [ 165s] CC drivers/video/sprdfb/spi/spi_simple_drv.o [ 165s] CC drivers/video/sprdfb/lcd/lcd_dummy.o [ 165s] CC drivers/usb/gadget/slp.o [ 165s] CC drivers/usb/gadget/udc-core.o [ 165s] In file included from drivers/video/sprdfb/lcd/../sprdfb.h:36:0, [ 165s] from drivers/video/sprdfb/lcd/../sprdfb_panel.h:17, [ 165s] from drivers/video/sprdfb/lcd/lcd_dummy.c:20: [ 165s] drivers/video/sprdfb/lcd/../mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 165s] }; [ 165s] ^ [ 165s] CC drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.o [ 165s] In file included from drivers/video/sprdfb/spi/spi_simple_drv.c:10:0: [ 165s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 165s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/spi/spi_simple_drv.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 165s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 165s] [ 165s] In file included from drivers/video/sprdfb/spi/spi_simple_drv.c:10:0: [ 165s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 165s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/spi/spi_simple_drv.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 165s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 165s] [ 165s] In file included from drivers/video/sprdfb/spi/spi_simple_drv.c:10:0: [ 165s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 165s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/spi/spi_simple_drv.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 165s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 165s] [ 165s] In file included from drivers/video/sprdfb/spi/spi_simple_drv.c:10:0: [ 165s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 165s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/spi/spi_simple_drv.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 165s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 165s] [ 165s] In file included from drivers/video/sprdfb/spi/spi_simple_drv.c:10:0: [ 165s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 165s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 165s] ^~~~~~~~~~~~ [ 165s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 165s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 165s] ^~~~~~~~~~~~ [ 165s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 165s] #define SCI_ADDR(x, y) \ [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/spi/spi_simple_drv.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 165s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 165s] [ 165s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 165s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 165s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 165s] [ 165s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 165s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 165s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 165s] [ 165s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 165s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 165s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 165s] [ 165s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 165s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 165s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 165s] [ 165s] In file included from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:25:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 165s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 165s] ^~~~~~~~~~~~ [ 165s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 165s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 165s] ^~~~~~~~~~~~ [ 165s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 165s] #define SCI_ADDR(x, y) \ [ 165s] [ 165s] In file included from include/soc/sprd/hardware.h:34:0, [ 165s] from drivers/video/sprdfb/dsi_1_21a/../sprdfb_chip_common.h:21, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_local.h:45, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.h:11, [ 165s] from drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.c:8: [ 165s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 165s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 165s] [ 165s] LD drivers/usb/misc/built-in.o [ 165s] CC drivers/usb/notify/host_notify_class.o [ 166s] CC drivers/usb/notify/usb_notify.o [ 166s] CC net/key/af_key.o [ 166s] LD drivers/video/sprdfb/lcd/built-in.o [ 166s] CC drivers/video/sprdfb/sprdfb_attr.o [ 166s] CC drivers/usb/notify/dock_notify.o [ 166s] CC net/l2tp/l2tp_core.o [ 166s] LD net/ipv6/netfilter/nf_conntrack_ipv6.o [ 166s] LD drivers/video/sprdfb/spi/built-in.o [ 166s] LD net/ipv6/netfilter/nf_nat_ipv6.o [ 166s] LD net/ipv6/netfilter/nf_defrag_ipv6.o [ 166s] CC net/l2tp/l2tp_ppp.o [ 166s] CC drivers/usb/core/file.o [ 166s] In file included from drivers/usb/gadget/slp.c:53:0: [ 166s] drivers/usb/gadget/u_ether.c: In function 'eth_start_xmit': [ 166s] drivers/usb/gadget/u_ether.c:1131:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [ 166s] if (dev->port_usb) [ 166s] ^~ [ 166s] drivers/usb/gadget/u_ether.c:1133:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' [ 166s] spin_unlock_irqrestore(&dev->lock, flags); [ 166s] ^~~~~~~~~~~~~~~~~~~~~~ [ 166s] LD net/ipv6/netfilter/built-in.o [ 166s] In file included from drivers/usb/gadget/slp.c:55:0: [ 166s] drivers/usb/gadget/f_vserial.c: In function 'vser_read': [ 166s] drivers/usb/gadget/f_vserial.c:324:28: warning: unused variable 'cdev' [-Wunused-variable] [ 166s] struct usb_composite_dev *cdev = dev->cdev; [ 166s] ^~~~ [ 166s] CC drivers/usb/notify/usb_notifier_sprd.o [ 166s] drivers/usb/gadget/f_vserial.c: In function 'vser_write': [ 166s] drivers/usb/gadget/f_vserial.c:397:28: warning: unused variable 'cdev' [-Wunused-variable] [ 166s] struct usb_composite_dev *cdev = dev->cdev; [ 166s] ^~~~ [ 166s] drivers/usb/gadget/f_vserial.c: In function 'vser_function_disable': [ 166s] drivers/usb/gadget/f_vserial.c:635:28: warning: unused variable 'cdev' [-Wunused-variable] [ 166s] struct usb_composite_dev *cdev = dev->cdev; [ 166s] ^~~~ [ 166s] In file included from include/linux/kobject.h:21:0, [ 166s] from include/linux/module.h:16, [ 166s] from drivers/usb/gadget/slp.c:25: [ 166s] drivers/usb/gadget/slp.c: At top level: [ 166s] drivers/usb/gadget/slp.c:891:67: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 166s] static DEVICE_ATTR(port_count, S_IRUGO | S_IWUSR, gser_port_show, gser_port_store); [ 166s] ^ [ 166s] include/linux/sysfs.h:75:11: note: in definition of macro '__ATTR' [ 166s] .store = _store, \ [ 166s] ^~~~~~ [ 166s] drivers/usb/gadget/slp.c:891:8: note: in expansion of macro 'DEVICE_ATTR' [ 166s] static DEVICE_ATTR(port_count, S_IRUGO | S_IWUSR, gser_port_show, gser_port_store); [ 166s] ^~~~~~~~~~~ [ 166s] drivers/usb/gadget/slp.c:891:67: note: (near initialization for 'dev_attr_port_count.store') [ 166s] static DEVICE_ATTR(port_count, S_IRUGO | S_IWUSR, gser_port_show, gser_port_store); [ 166s] ^ [ 166s] include/linux/sysfs.h:75:11: note: in definition of macro '__ATTR' [ 166s] .store = _store, \ [ 166s] ^~~~~~ [ 166s] drivers/usb/gadget/slp.c:891:8: note: in expansion of macro 'DEVICE_ATTR' [ 166s] static DEVICE_ATTR(port_count, S_IRUGO | S_IWUSR, gser_port_show, gser_port_store); [ 166s] ^~~~~~~~~~~ [ 166s] LD net/ipv6/built-in.o [ 166s] CC drivers/usb/core/buffer.o [ 166s] drivers/usb/gadget/slp.c:817:13: warning: 'gser_function_unbind_config' defined but not used [-Wunused-function] [ 166s] static void gser_function_unbind_config(struct slp_multi_usb_function *f, [ 166s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 166s] LD drivers/video/sprdfb/dsi_1_21a/built-in.o [ 166s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 166s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 166s] [ 166s] In file included from include/soc/sprd/hardware.h:34:0, [ 166s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 166s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 166s] [ 166s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 166s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 166s] [ 166s] In file included from include/soc/sprd/hardware.h:34:0, [ 166s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 166s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 166s] [ 166s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 166s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 166s] [ 166s] In file included from include/soc/sprd/hardware.h:34:0, [ 166s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 166s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 166s] [ 166s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 166s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 166s] [ 166s] In file included from include/soc/sprd/hardware.h:34:0, [ 166s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 166s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 166s] [ 166s] In file included from drivers/video/sprdfb/sprdfb_chip_common.h:25:0, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 166s] #define SCI_ADDR(x, y) \ [ 166s] [ 166s] In file included from include/soc/sprd/hardware.h:34:0, [ 166s] from drivers/video/sprdfb/sprdfb_chip_common.h:21, [ 166s] from drivers/video/sprdfb/sprdfb_dsi.c:28: [ 166s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 166s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 166s] [ 166s] In file included from drivers/video/sprdfb/sprdfb.h:36:0, [ 166s] from drivers/video/sprdfb/sprdfb_attr.c:22: [ 166s] drivers/video/sprdfb/mdnie/mdnie_lite.h:114:1: warning: no semicolon at end of struct or union [ 166s] }; [ 166s] ^ [ 166s] drivers/video/sprdfb/sprdfb_attr.c: In function 'sysfs_write_fps_interval': [ 166s] drivers/video/sprdfb/sprdfb_attr.c:69:6: warning: unused variable 'ret' [-Wunused-variable] [ 166s] int ret = 0; [ 166s] ^~~ [ 166s] In file included from include/linux/kobject.h:21:0, [ 166s] from include/linux/module.h:16, [ 166s] from drivers/video/sprdfb/sprdfb_attr.c:19: [ 166s] drivers/video/sprdfb/sprdfb_attr.c: At top level: [ 166s] drivers/video/sprdfb/sprdfb_attr.c:103:9: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 166s] NULL, sysfs_write_fps_interval); [ 166s] ^ [ 166s] include/linux/sysfs.h:75:11: note: in definition of macro '__ATTR' [ 166s] .store = _store, \ [ 166s] ^~~~~~ [ 166s] drivers/video/sprdfb/sprdfb_attr.c:102:8: note: in expansion of macro 'DEVICE_ATTR' [ 166s] static DEVICE_ATTR(runtime_cur_fps, S_IRUGO | S_IWUSR, [ 166s] ^~~~~~~~~~~ [ 166s] drivers/video/sprdfb/sprdfb_attr.c:103:9: note: (near initialization for 'dev_attr_runtime_cur_fps.store') [ 166s] NULL, sysfs_write_fps_interval); [ 166s] ^ [ 166s] include/linux/sysfs.h:75:11: note: in definition of macro '__ATTR' [ 166s] .store = _store, \ [ 166s] ^~~~~~ [ 166s] drivers/video/sprdfb/sprdfb_attr.c:102:8: note: in expansion of macro 'DEVICE_ATTR' [ 166s] static DEVICE_ATTR(runtime_cur_fps, S_IRUGO | S_IWUSR, [ 166s] ^~~~~~~~~~~ [ 166s] CC drivers/usb/storage/ene_ub6250.o [ 166s] CC net/netfilter/core.o [ 166s] CC net/netfilter/nf_log.o [ 167s] CC net/netlabel/netlabel_user.o [ 167s] CC net/netlabel/netlabel_kapi.o [ 167s] CC net/netlink/af_netlink.o [ 167s] LD drivers/video/sprdfb/built-in.o [ 167s] LD drivers/video/built-in.o [ 167s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 167s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 167s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 167s] [ 167s] In file included from include/soc/sprd/hardware.h:34:0, [ 167s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 167s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 167s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 167s] [ 167s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 167s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 167s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 167s] [ 167s] In file included from include/soc/sprd/hardware.h:34:0, [ 167s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 167s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 167s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 167s] [ 167s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 167s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 167s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 167s] [ 167s] In file included from include/soc/sprd/hardware.h:34:0, [ 167s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 167s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 167s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 167s] [ 167s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 167s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 167s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 167s] [ 167s] In file included from include/soc/sprd/hardware.h:34:0, [ 167s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 167s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 167s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 167s] [ 167s] In file included from drivers/tty/serial/serial_sprd_dt.c:40:0: [ 167s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 167s] #define SCI_ADDR(x, y) \ [ 167s] [ 167s] In file included from include/soc/sprd/hardware.h:34:0, [ 167s] from drivers/tty/serial/serial_sprd_dt.c:32: [ 167s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 167s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 167s] [ 167s] CC net/netlabel/netlabel_domainhash.o [ 167s] CC drivers/usb/core/sysfs.o [ 167s] CC net/netlink/genetlink.o [ 167s] LD drivers/tty/serial/built-in.o [ 167s] CC drivers/usb/core/endpoint.o [ 168s] CC net/netlabel/netlabel_addrlist.o [ 168s] CC drivers/usb/core/devio.o [ 168s] CC net/netlabel/netlabel_mgmt.o [ 168s] CC net/netlabel/netlabel_unlabeled.o [ 168s] CC net/netfilter/nf_queue.o [ 168s] CC net/netlabel/netlabel_cipso_v4.o [ 168s] CC net/netfilter/nf_sockopt.o [ 168s] CC drivers/usb/core/notify.o [ 168s] CC drivers/usb/core/generic.o [ 168s] CC drivers/usb/storage/scsiglue.o [ 168s] CC drivers/usb/core/quirks.o [ 168s] CC drivers/usb/storage/protocol.o [ 168s] LD drivers/net/wireless/sc2331/sc2331_mem_alloc/built-in.o [ 168s] LD drivers/net/wireless/built-in.o [ 168s] CC drivers/usb/core/devices.o [ 168s] LD drivers/usb/notify/usb_notify_layer.o [ 168s] CC drivers/usb/storage/transport.o [ 168s] LD drivers/usb/notify/built-in.o [ 169s] CC drivers/usb/usb-common.o [ 169s] LD drivers/net/slip/built-in.o [ 169s] CC drivers/usb/storage/usb.o [ 169s] CC drivers/usb/core/port.o [ 169s] CC drivers/usb/storage/initializers.o [ 169s] CC drivers/usb/gadget/usbstring.o [ 169s] CC drivers/usb/storage/sierra_ms.o [ 169s] CC drivers/usb/gadget/config.o [ 169s] CC drivers/usb/storage/option_ms.o [ 169s] CC drivers/usb/gadget/epautoconf.o [ 169s] LD net/key/built-in.o [ 169s] CC net/packet/af_packet.o [ 169s] LD drivers/tty/vt/built-in.o [ 169s] LD drivers/tty/built-in.o [ 169s] CC drivers/usb/gadget/composite.o [ 169s] CC net/rfkill/core.o [ 169s] CC net/rfkill/rfkill-regulator.o [ 170s] LD drivers/net/built-in.o [ 170s] CC net/sched/sch_generic.o [ 170s] CC drivers/usb/gadget/functions.o [ 170s] CC drivers/usb/storage/usual-tables.o [ 170s] LD net/netlabel/built-in.o [ 170s] net/rfkill/rfkill-regulator.c: In function 'rfkill_regulator_set_block': [ 170s] net/rfkill/rfkill-regulator.c:43:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result] [ 170s] regulator_enable(rfkill_data->vcc); [ 170s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 170s] CC net/unix/af_unix.o [ 170s] CC net/ipv4/netfilter/nf_conntrack_proto_icmp.o [ 170s] CC net/unix/garbage.o [ 170s] CC net/ipv4/netfilter/nf_nat_l3proto_ipv4.o [ 170s] CC net/unix/sysctl_net_unix.o [ 170s] CC net/ipv4/netfilter/nf_nat_proto_icmp.o [ 170s] CC net/wireless/core.o [ 170s] CC net/wireless/sysfs.o [ 171s] CC net/xfrm/xfrm_policy.o [ 171s] CC net/ipv4/netfilter/nf_defrag_ipv4.o [ 171s] LD drivers/usb/core/usbcore.o [ 171s] LD drivers/usb/core/built-in.o [ 171s] CC drivers/usb/gadget/configfs.o [ 171s] CC net/ipv4/netfilter/nf_nat_h323.o [ 171s] CC drivers/usb/gadget/f_acm.o [ 171s] CC net/ipv4/netfilter/nf_nat_pptp.o [ 171s] CC net/ipv4/netfilter/nf_nat_proto_gre.o [ 171s] CC net/xfrm/xfrm_state.o [ 171s] CC net/ipv4/netfilter/ip_tables.o [ 172s] CC drivers/usb/gadget/dwc_otg/dwc_otg_driver.o [ 172s] CC drivers/usb/gadget/u_serial.o [ 172s] CC net/netfilter/nf_conntrack_core.o [ 172s] CC net/wireless/radiotap.o [ 172s] CC net/netfilter/nf_conntrack_standalone.o [ 172s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:76:0: [ 172s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 172s] struct device *get_hcd_device(); [ 172s] ^~~~~~ [ 172s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 172s] struct device *get_gadget_wrapper_device(); [ 172s] ^~~~~~ [ 172s] In file included from include/linux/kernel.h:7:0, [ 172s] from drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:51: [ 172s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.c: In function 'dwc_otg_driver_probe': [ 172s] include/linux/stddef.h:8:14: warning: return makes integer from pointer without a cast [-Wint-conversion] [ 172s] #define NULL ((void *)0) [ 172s] ^ [ 172s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:704:10: note: in expansion of macro 'NULL' [ 172s] return NULL; [ 172s] ^~~~ [ 172s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:726:30: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 172s] dwc_otg_device->os_dep.base = (unsigned long)ioremap_nocache(res.start, [ 172s] ^ [ 172s] At top level: [ 172s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:664:12: warning: 'dwc_otg_resume' defined but not used [-Wunused-function] [ 172s] static int dwc_otg_resume(struct platform_device *dev) [ 172s] ^~~~~~~~~~~~~~ [ 172s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:659:12: warning: 'dwc_otg_suspend' defined but not used [-Wunused-function] [ 172s] static int dwc_otg_suspend(struct platform_device *dev, pm_message_t state) [ 172s] ^~~~~~~~~~~~~~~ [ 173s] CC net/wireless/util.o [ 173s] CC net/ipv4/netfilter/iptable_filter.o [ 173s] CC net/ipv4/netfilter/iptable_mangle.o [ 173s] CC net/wireless/reg.o [ 173s] CC drivers/usb/gadget/dwc_otg/dwc_otg_attr.o [ 173s] CC drivers/usb/gadget/dwc_otg/dwc_otg_cil.o [ 173s] LD net/rfkill/rfkill.o [ 173s] LD net/rfkill/built-in.o [ 173s] CC net/sysctl_net.o [ 173s] CC drivers/usb/gadget/dwc_otg/dwc_otg_cil_intr.o [ 173s] CC net/netfilter/nf_conntrack_expect.o [ 173s] CC drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.o [ 173s] CC net/ipv4/netfilter/iptable_nat.o [ 173s] CC drivers/usb/gadget/dwc_otg/dwc_otg_pcd.o [ 173s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_attr.c:307:0: [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 173s] struct device *get_hcd_device(); [ 173s] ^~~~~~ [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 173s] struct device *get_gadget_wrapper_device(); [ 173s] ^~~~~~ [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_attr.c: In function 'hostenable_store': [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_attr.c:990:14: warning: too many arguments for format [-Wformat-extra-args] [ 173s] DWC_PRINTF("gpio_otgdet = %d irq = %d case3!!!!!!!!!!!!!!\n", [ 173s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_attr.c: In function 'otgstatus_show': [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_attr.c:1005:20: warning: unused variable 'otg_dev' [-Wunused-variable] [ 173s] dwc_otg_device_t *otg_dev = platform_get_drvdata(dev); [ 173s] ^~~~~~~ [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_attr.c: In function 'hostvbus_store': [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_attr.c:1034:6: warning: unused variable 'otg_cable_irq' [-Wunused-variable] [ 173s] int otg_cable_irq; [ 173s] ^~~~~~~~~~~~~ [ 173s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_cil_intr.c:45:0: [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 173s] struct device *get_hcd_device(); [ 173s] ^~~~~~ [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 173s] struct device *get_gadget_wrapper_device(); [ 173s] ^~~~~~ [ 173s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:77:0: [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 173s] struct device *get_hcd_device(); [ 173s] ^~~~~~ [ 173s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 173s] struct device *get_gadget_wrapper_device(); [ 173s] ^~~~~~ [ 174s] drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c: In function 'alloc_wrapper': [ 174s] drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1059:6: warning: unused variable 'retval' [-Wunused-variable] [ 174s] int retval; [ 174s] ^~~~~~ [ 174s] drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c: At top level: [ 174s] drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1646:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 174s] struct device *get_gadget_wrapper_device() [ 174s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 174s] LD drivers/usb/storage/usb-storage.o [ 174s] LD drivers/usb/storage/ums-eneub6250.o [ 174s] LD drivers/usb/storage/built-in.o [ 174s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_pcd.c:52:0: [ 174s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 174s] struct device *get_hcd_device(); [ 174s] ^~~~~~ [ 174s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 174s] struct device *get_gadget_wrapper_device(); [ 174s] ^~~~~~ [ 174s] CC net/netfilter/nf_conntrack_helper.o [ 174s] CC net/netfilter/nf_conntrack_proto.o [ 174s] CC net/ipv4/netfilter/iptable_raw.o [ 174s] CC drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.o [ 174s] LD net/l2tp/built-in.o [ 174s] CC net/ipv4/netfilter/ipt_ah.o [ 174s] CC net/activity_stats.o [ 174s] CC drivers/usb/gadget/dwc_otg/dwc_common_linux.o [ 174s] CC net/ipv4/netfilter/ipt_MASQUERADE.o [ 174s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:38:0: [ 174s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 174s] struct device *get_hcd_device(); [ 174s] ^~~~~~ [ 174s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 174s] struct device *get_gadget_wrapper_device(); [ 174s] ^~~~~~ [ 175s] CC net/ipv4/netfilter/ipt_REJECT.o [ 175s] CC drivers/usb/gadget/dwc_otg/dwc_otg_adp.o [ 175s] CC net/ipv4/netfilter/arp_tables.o [ 175s] LD net/netlink/built-in.o [ 175s] CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd.o [ 175s] CC net/xfrm/xfrm_hash.o [ 175s] CC net/ipv4/netfilter/arpt_mangle.o [ 175s] LD drivers/usb/gadget/libcomposite.o [ 175s] LD drivers/usb/gadget/usb_f_acm.o [ 175s] LD drivers/usb/gadget/g_slp.o [ 175s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_hcd.c:47:0: [ 175s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 175s] struct device *get_hcd_device(); [ 175s] ^~~~~~ [ 175s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 175s] struct device *get_gadget_wrapper_device(); [ 175s] ^~~~~~ [ 175s] CC net/ipv4/netfilter/arptable_filter.o [ 175s] CC net/xfrm/xfrm_input.o [ 176s] CC net/sched/sch_mq.o [ 176s] CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd_intr.o [ 176s] CC net/xfrm/xfrm_output.o [ 176s] CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.o [ 176s] LD net/ipv4/netfilter/nf_conntrack_ipv4.o [ 176s] LD net/ipv4/netfilter/nf_nat_ipv4.o [ 176s] CC net/xfrm/xfrm_sysctl.o [ 176s] CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd_queue.o [ 176s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_hcd_intr.c:37:0: [ 176s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 176s] struct device *get_hcd_device(); [ 176s] ^~~~~~ [ 176s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 176s] struct device *get_gadget_wrapper_device(); [ 176s] ^~~~~~ [ 176s] CC net/xfrm/xfrm_replay.o [ 176s] CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd_ddma.o [ 176s] CC net/xfrm/xfrm_algo.o [ 176s] CC drivers/usb/gadget/dwc_otg/usb_hw.o [ 177s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:67:0: [ 177s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 177s] ^~~~~~~~~~~~ [ 177s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 177s] ^~~~~~~~~~~~ [ 177s] CC net/xfrm/xfrm_user.o [ 177s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_hcd_queue.c:42:0: [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] struct device *get_hcd_device(); [ 177s] ^~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] struct device *get_gadget_wrapper_device(); [ 177s] ^~~~~~ [ 177s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:75:0: [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] struct device *get_hcd_device(); [ 177s] ^~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] struct device *get_gadget_wrapper_device(); [ 177s] ^~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c: In function 'usb_otg_cable_detect_work': [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:403:34: warning: unused variable 'platform_data' [-Wunused-variable] [ 177s] struct sprd_usb_platform_data *platform_data =&otg_dev->platform_data; [ 177s] ^~~~~~~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c: In function 'dwc_otg_start': [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:491:33: warning: unused variable 'platform_data' [-Wunused-variable] [ 177s] struct sprd_usb_platform_data *platform_data [ 177s] ^~~~~~~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c: In function 'hcd_init': [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:535:6: warning: unused variable 'otg_cable_connected' [-Wunused-variable] [ 177s] int otg_cable_connected; [ 177s] ^~~~~~~~~~~~~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:534:6: warning: unused variable 'otg_cable_irq' [-Wunused-variable] [ 177s] int otg_cable_irq; [ 177s] ^~~~~~~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:532:33: warning: unused variable 'pdata' [-Wunused-variable] [ 177s] struct sprd_usb_platform_data *pdata= _dev->dev.platform_data; [ 177s] ^~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c: At top level: [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:1036:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] struct device *get_hcd_device() [ 177s] ^~~~~~~~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:517:23: warning: 'device_hcd_dwc_otg' defined but not used [-Wunused-variable] [ 177s] static struct device *device_hcd_dwc_otg; [ 177s] ^~~~~~~~~~~~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:456:20: warning: 'usb_otg_cable_detect_handler' defined but not used [-Wunused-function] [ 177s] static irqreturn_t usb_otg_cable_detect_handler(int irq, void *dev) [ 177s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 177s] CC net/sched/sch_api.o [ 177s] CC net/wireless/scan.o [ 177s] In file included from drivers/usb/gadget/dwc_otg/dwc_otg_hcd_ddma.c:41:0: [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:85:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] struct device *get_hcd_device(); [ 177s] ^~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/dwc_otg_driver.h:86:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] struct device *get_gadget_wrapper_device(); [ 177s] ^~~~~~ [ 177s] CC net/sched/sch_blackhole.o [ 177s] In file included from drivers/usb/gadget/dwc_otg/usb_hw.c:23:0: [ 177s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 177s] ^~~~~~~~~~~~ [ 177s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 177s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 177s] ^~~~~~~~~~~~ [ 177s] CC net/wireless/nl80211.o [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_init': [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:140:10: warning: 'return' with a value, in function returning void [ 177s] return -ENODEV; [ 177s] ^ [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:129:6: note: declared here [ 177s] void usb_phy_init(struct platform_device *_dev) [ 177s] ^~~~~~~~~~~~ [ 177s] In file included from drivers/usb/gadget/dwc_otg/usb_hw.c:23:0: [ 177s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 177s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 177s] ^ [ 177s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 177s] #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) [ 177s] ^~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:153:38: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' [ 177s] __raw_writel(tune_from_uboot,REG_AP_APB_USB_PHY_TUNE); [ 177s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 177s] In file included from include/linux/io.h:22:0, [ 177s] from drivers/usb/gadget/dwc_otg/usb_hw.c:25: [ 177s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 177s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 177s] ^~~~~~~~~~~~ [ 177s] In file included from drivers/usb/gadget/dwc_otg/usb_hw.c:23:0: [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_tune_host': [ 177s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 177s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 177s] ^ [ 177s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 177s] #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) [ 177s] ^~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:216:26: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' [ 177s] __raw_writel(tune_host, REG_AP_APB_USB_PHY_TUNE); [ 177s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 177s] In file included from include/linux/io.h:22:0, [ 177s] from drivers/usb/gadget/dwc_otg/usb_hw.c:25: [ 177s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 177s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 177s] ^~~~~~~~~~~~ [ 177s] In file included from drivers/usb/gadget/dwc_otg/usb_hw.c:23:0: [ 177s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 177s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 177s] ^ [ 177s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 177s] #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) [ 177s] ^~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:217:25: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' [ 177s] phy_tune = __raw_readl(REG_AP_APB_USB_PHY_TUNE); [ 177s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 177s] In file included from include/linux/io.h:22:0, [ 177s] from drivers/usb/gadget/dwc_otg/usb_hw.c:25: [ 177s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 177s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 177s] ^~~~~~~~~~~ [ 177s] In file included from drivers/usb/gadget/dwc_otg/usb_hw.c:23:0: [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_tune_dev': [ 177s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] [ 177s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 177s] ^ [ 177s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 177s] #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) [ 177s] ^~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:240:32: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' [ 177s] __raw_writel(tune_from_uboot, REG_AP_APB_USB_PHY_TUNE); [ 177s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 177s] In file included from include/linux/io.h:22:0, [ 177s] from drivers/usb/gadget/dwc_otg/usb_hw.c:25: [ 177s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:253:20: note: expected 'volatile void *' but argument is of type 'unsigned int' [ 177s] static inline void __raw_writel(u32 val, volatile void __iomem *addr) [ 177s] ^~~~~~~~~~~~ [ 177s] In file included from drivers/usb/gadget/dwc_otg/usb_hw.c:23:0: [ 177s] include/soc/sprd/sci_glb_regs.h:109:2: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] [ 177s] (phys_addr_t)((phys_addr_t)(x) + (phys_addr_t)(y)) [ 177s] ^ [ 177s] include/soc/sprd/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' [ 177s] #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) [ 177s] ^~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:241:25: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' [ 177s] phy_tune = __raw_readl(REG_AP_APB_USB_PHY_TUNE); [ 177s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 177s] In file included from include/linux/io.h:22:0, [ 177s] from drivers/usb/gadget/dwc_otg/usb_hw.c:25: [ 177s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/io.h:273:19: note: expected 'const volatile void *' but argument is of type 'unsigned int' [ 177s] static inline u32 __raw_readl(const volatile void __iomem *addr) [ 177s] ^~~~~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_ldo_switch': [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:74:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result] [ 177s] regulator_enable(usb_regulator); [ 177s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'charge_pump_set': [ 177s] drivers/usb/gadget/dwc_otg/usb_hw.c:395:5: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result] [ 177s] regulator_enable(usb_regulator); [ 177s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 177s] CC net/netfilter/nf_conntrack_l3proto_generic.o [ 177s] LD net/unix/unix.o [ 177s] LD net/unix/built-in.o [ 177s] CC net/wireless/mlme.o [ 177s] CC net/netfilter/nf_conntrack_proto_generic.o [ 177s] CC net/wireless/ibss.o [ 177s] CC net/netfilter/nf_conntrack_proto_udp.o [ 177s] CC net/netfilter/nf_conntrack_proto_tcp.o [ 177s] CC net/wireless/sme.o [ 177s] CC net/xfrm/xfrm_ipcomp.o [ 178s] LD drivers/usb/gadget/dwc_otg/dwc_otg.o [ 178s] CC net/sched/cls_api.o [ 178s] CC net/wireless/chan.o [ 178s] CC net/netfilter/nf_conntrack_extend.o [ 178s] CC net/wireless/ethtool.o [ 179s] CC net/netfilter/nf_conntrack_acct.o [ 179s] LD net/packet/built-in.o [ 179s] LD drivers/usb/gadget/dwc_otg/built-in.o [ 179s] CC net/wireless/mesh.o [ 179s] LD drivers/usb/gadget/built-in.o [ 179s] CC net/netfilter/nf_conntrack_ecache.o [ 179s] LD drivers/usb/built-in.o [ 179s] LD drivers/built-in.o [ 179s] CC net/wireless/ap.o [ 179s] CC net/netfilter/nf_conntrack_h323_main.o [ 180s] CC net/netfilter/nf_conntrack_h323_asn1.o [ 180s] CC net/netfilter/nf_nat_core.o [ 180s] CC net/wireless/trace.o [ 180s] CC net/netfilter/nf_nat_proto_unknown.o [ 180s] CC net/wireless/wext-compat.o [ 180s] CC net/netfilter/nf_nat_proto_common.o [ 180s] CC net/wireless/wext-sme.o [ 180s] CC net/netfilter/nf_nat_proto_udp.o [ 180s] CC net/wireless/wext-core.o [ 181s] CC net/wireless/wext-proc.o [ 181s] CC net/netfilter/nf_nat_proto_tcp.o [ 181s] CC net/netfilter/nf_nat_helper.o [ 181s] LD net/ipv4/netfilter/built-in.o [ 181s] LD net/ipv4/built-in.o [ 181s] CC net/netfilter/nfnetlink_queue_core.o [ 182s] CC net/sched/act_api.o [ 182s] CC net/netfilter/nfnetlink.o [ 182s] CC net/sched/sch_fifo.o [ 182s] CC net/netfilter/nfnetlink_acct.o [ 182s] CC net/netfilter/nfnetlink_log.o [ 182s] CC net/sched/sch_htb.o [ 182s] CC net/netfilter/nf_conntrack_proto_dccp.o [ 183s] CC net/sched/cls_u32.o [ 183s] CC net/netfilter/nf_conntrack_proto_gre.o [ 183s] CC net/netfilter/nf_conntrack_proto_sctp.o [ 183s] CC net/netfilter/nf_conntrack_proto_udplite.o [ 183s] CC net/netfilter/nf_conntrack_netlink.o [ 183s] CC net/netfilter/nf_conntrack_amanda.o [ 184s] CC net/netfilter/nf_conntrack_ftp.o [ 184s] CC net/sched/cls_cgroup.o [ 184s] CC net/sched/ematch.o [ 184s] CC net/netfilter/nf_conntrack_irc.o [ 184s] CC net/netfilter/nf_conntrack_broadcast.o [ 184s] CC net/sched/em_u32.o [ 184s] CC net/netfilter/nf_conntrack_netbios_ns.o [ 184s] LD net/xfrm/built-in.o [ 184s] CC net/netfilter/nf_conntrack_pptp.o [ 185s] CC net/netfilter/nf_conntrack_sane.o [ 185s] CC net/netfilter/nf_conntrack_sip.o [ 185s] CC net/netfilter/nf_conntrack_tftp.o [ 185s] CC net/netfilter/nf_nat_proto_dccp.o [ 185s] CC net/netfilter/nf_nat_proto_udplite.o [ 185s] CC net/netfilter/nf_nat_proto_sctp.o [ 185s] CC net/netfilter/nf_nat_amanda.o [ 186s] CC net/netfilter/nf_nat_ftp.o [ 186s] CC net/netfilter/nf_nat_irc.o [ 186s] CC net/netfilter/nf_nat_sip.o [ 186s] CC net/netfilter/nf_nat_tftp.o [ 186s] CC net/netfilter/nf_tproxy_core.o [ 186s] CC net/netfilter/x_tables.o [ 186s] CC net/netfilter/xt_tcpudp.o [ 186s] CC net/netfilter/xt_mark.o [ 186s] CC net/netfilter/xt_connmark.o [ 186s] CC net/netfilter/xt_nat.o [ 187s] CC net/netfilter/xt_AUDIT.o [ 187s] CC net/netfilter/xt_CLASSIFY.o [ 187s] CC net/netfilter/xt_NETMAP.o [ 187s] CC net/netfilter/xt_NFLOG.o [ 187s] CC net/netfilter/xt_NFQUEUE.o [ 187s] CC net/netfilter/xt_REDIRECT.o [ 187s] CC net/netfilter/xt_SECMARK.o [ 187s] CC net/netfilter/xt_TPROXY.o [ 187s] CC net/netfilter/xt_TRACE.o [ 187s] CC net/netfilter/xt_comment.o [ 187s] CC net/netfilter/xt_connlimit.o [ 187s] CC net/netfilter/xt_conntrack.o [ 188s] CC net/netfilter/xt_ecn.o [ 188s] CC net/netfilter/xt_hashlimit.o [ 188s] CC net/netfilter/xt_helper.o [ 188s] CC net/netfilter/xt_hl.o [ 188s] CC net/netfilter/xt_iprange.o [ 188s] CC net/netfilter/xt_length.o [ 188s] CC net/netfilter/xt_limit.o [ 188s] CC net/netfilter/xt_mac.o [ 188s] CC net/netfilter/xt_multiport.o [ 188s] CC net/netfilter/xt_nfacct.o [ 188s] CC net/netfilter/xt_cgroup.o [ 188s] CC net/netfilter/xt_pkttype.o [ 188s] CC net/netfilter/xt_policy.o [ 188s] CC net/netfilter/xt_qtaguid_print.o [ 188s] CC net/netfilter/xt_qtaguid.o [ 189s] LD net/sched/built-in.o [ 189s] CC net/netfilter/xt_quota.o [ 189s] CC net/netfilter/xt_quota2.o [ 189s] CC net/netfilter/xt_socket.o [ 189s] CC net/netfilter/xt_state.o [ 189s] CC net/netfilter/xt_statistic.o [ 189s] CC net/netfilter/xt_string.o [ 189s] CC net/netfilter/xt_time.o [ 189s] CC net/netfilter/xt_u32.o [ 189s] LD net/netfilter/netfilter.o [ 189s] LD net/netfilter/nfnetlink_queue.o [ 189s] LD net/netfilter/nf_conntrack.o [ 189s] LD net/netfilter/nf_conntrack_h323.o [ 189s] LD net/netfilter/nf_nat.o [ 191s] LD net/netfilter/built-in.o [ 191s] LD net/wireless/cfg80211.o [ 191s] LD net/wireless/built-in.o [ 191s] LD net/built-in.o [ 192s] LINK vmlinux [ 192s] LD vmlinux.o [ 193s] MODPOST vmlinux.o [ 197s] WARNING: modpost: Found 4 section mismatch(es). [ 197s] To see full details build your kernel with: [ 197s] 'make CONFIG_DEBUG_SECTION_MISMATCH=y' [ 197s] GEN .version [ 197s] CHK include/generated/compile.h [ 197s] UPD include/generated/compile.h [ 197s] CC init/version.o [ 197s] LD init/built-in.o [ 200s] KSYM .tmp_kallsyms1.o [ 207s] KSYM .tmp_kallsyms2.o [ 213s] LD vmlinux [ 215s] SORTEX vmlinux [ 215s] SYSMAP System.map [ 215s] OBJCOPY arch/arm/boot/Image [ 215s] Kernel: arch/arm/boot/Image is ready [ 215s] AS arch/arm/boot/compressed/head.o [ 215s] GZIP arch/arm/boot/compressed/piggy.gzip [ 215s] CC arch/arm/boot/compressed/misc.o [ 215s] CC arch/arm/boot/compressed/decompress.o [ 215s] CC arch/arm/boot/compressed/string.o [ 215s] SHIPPED arch/arm/boot/compressed/hyp-stub.S [ 215s] SHIPPED arch/arm/boot/compressed/lib1funcs.S [ 215s] SHIPPED arch/arm/boot/compressed/ashldi3.S [ 215s] AS arch/arm/boot/compressed/hyp-stub.o [ 215s] AS arch/arm/boot/compressed/lib1funcs.o [ 215s] AS arch/arm/boot/compressed/ashldi3.o [ 217s] AS arch/arm/boot/compressed/piggy.gzip.o [ 217s] LD arch/arm/boot/compressed/vmlinux [ 217s] OBJCOPY arch/arm/boot/zImage [ 217s] Kernel: arch/arm/boot/zImage is ready [ 217s] CC scripts/mod/devicetable-offsets.s [ 217s] GEN scripts/mod/devicetable-offsets.h [ 217s] HOSTCC scripts/mod/file2alias.o [ 218s] HOSTLD scripts/mod/modpost [ 218s] DTC arch/arm/boot/dts/sprd-scx35-tizen_z3-r00.dtb [ 218s] Warning (ranges_format): /sdios has empty "ranges" property but its #address-cells (2) differs from / (1) [ 218s] Warning (ranges_format): /sdios has empty "ranges" property but its #size-cells (2) differs from / (1) [ 218s] DTC arch/arm/boot/dts/sprd-scx35-tizen_z3-r01.dtb [ 218s] Warning (ranges_format): /sdios has empty "ranges" property but its #address-cells (2) differs from / (1) [ 218s] Warning (ranges_format): /sdios has empty "ranges" property but its #size-cells (2) differs from / (1) [ 219s] DTC arch/arm/boot/dts/sprd-scx35-tizen_z3-r02.dtb [ 219s] Warning (ranges_format): /sdios has empty "ranges" property but its #address-cells (2) differs from / (1) [ 219s] Warning (ranges_format): /sdios has empty "ranges" property but its #size-cells (2) differs from / (1) [ 219s] DTC arch/arm/boot/dts/sprd-scx35-tizen_z3-r03.dtb [ 219s] Warning (ranges_format): /sdios has empty "ranges" property but its #address-cells (2) differs from / (1) [ 219s] Warning (ranges_format): /sdios has empty "ranges" property but its #size-cells (2) differs from / (1) [ 220s] DTB input path is 'arch/arm/boot/dts' [ 220s] output path is './arch/arm/boot', output file is 'merged-dtb' [ 220s] page size is '2048' [ 220s] *HEADER 96[B] [ 222s] | PAD: 1952[B] [ 222s] *arch/arm/boot/dts/sprd-scx35-tizen_z3-r03.dtb 58432[B] [ 222s] | PAD: 960[B] [ 222s] *arch/arm/boot/dts/sprd-scx35-tizen_z3-r00.dtb 58367[B] [ 222s] | PAD: 1025[B] [ 223s] *arch/arm/boot/dts/sprd-scx35-tizen_z3-r01.dtb 58367[B] [ 223s] | PAD: 1025[B] [ 223s] *arch/arm/boot/dts/sprd-scx35-tizen_z3-r02.dtb 58843[B] [ 223s] | PAD: 549[B] [ 223s] ## OUT: merged-dtb size: 239616[B]; 234[KB] [ 223s] ./arch/arm/boot/merged-dtb (size: 234KB) is created. [ 223s] *HEADER 28[B] [ 223s] | PAD: 2020[B] [ 223s] *zImage 5132576[B] [ 224s] | PAD: 1760[B] [ 224s] *merged-dtb 239616[B] [ 224s] | PAD: 0[B] [ 224s] ## OUT: dzImage size: 5376000[B]; 5250[KB] [ 224s] + cp -f arch/arm/boot/zImage /home/abuild/rpmbuild/BUILD/zImage.tizen_tm1 [ 224s] + cp -f arch/arm/boot/dzImage /home/abuild/rpmbuild/BUILD/dzImage.tizen_tm1 [ 224s] + cp -f System.map /home/abuild/rpmbuild/BUILD/System.map.tizen_tm1 [ 224s] + cp -f .config /home/abuild/rpmbuild/BUILD/config.tizen_tm1 [ 224s] + cp -f vmlinux /home/abuild/rpmbuild/BUILD/vmlinux.tizen_tm1 [ 224s] + make modules [ 224s] CHK include/generated/uapi/linux/version.h [ 224s] CHK include/generated/utsrelease.h [ 224s] make[1]: 'include/generated/mach-types.h' is up to date. [ 224s] CALL scripts/checksyscalls.sh [ 225s] CC scripts/mod/devicetable-offsets.s [ 225s] GEN scripts/mod/devicetable-offsets.h [ 225s] HOSTCC scripts/mod/file2alias.o [ 225s] HOSTLD scripts/mod/modpost [ 226s] CC [M] drivers/autotst/autotstdrv.o [ 226s] drivers/autotst/autotstdrv.c: In function 'autotst_ioctl': [ 226s] drivers/autotst/autotstdrv.c:337:15: warning: unused variable 'i' [-Wunused-variable] [ 226s] int i; [ 226s] ^ [ 226s] drivers/autotst/autotstdrv.c:346:15: warning: unused variable 'i' [-Wunused-variable] [ 226s] int i; [ 226s] ^ [ 226s] CC [M] drivers/autotst/dispc.o [ 227s] In file included from drivers/autotst/dispc.c:23:0: [ 227s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 227s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dispc.c:19: [ 227s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 227s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 227s] [ 227s] In file included from drivers/autotst/dispc.c:23:0: [ 227s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 227s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dispc.c:19: [ 227s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 227s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 227s] [ 227s] In file included from drivers/autotst/dispc.c:23:0: [ 227s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 227s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dispc.c:19: [ 227s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 227s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 227s] [ 227s] In file included from drivers/autotst/dispc.c:23:0: [ 227s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 227s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dispc.c:19: [ 227s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 227s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 227s] [ 227s] In file included from drivers/autotst/dispc.c:23:0: [ 227s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 227s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 227s] ^~~~~~~~~~~~ [ 227s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 227s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 227s] ^~~~~~~~~~~~ [ 227s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 227s] #define SCI_ADDR(x, y) \ [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dispc.c:19: [ 227s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 227s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 227s] [ 227s] drivers/autotst/dispc.c:31:0: warning: "pr_debug" redefined [ 227s] #define pr_debug printk [ 227s] [ 227s] In file included from include/linux/kernel.h:13:0, [ 227s] from include/linux/clk.h:16, [ 227s] from drivers/autotst/dispc.c:14: [ 227s] include/linux/printk.h:243:0: note: this is the location of the previous definition [ 227s] #define pr_debug(fmt, ...) \ [ 227s] [ 227s] drivers/autotst/dispc.c: In function 'dispc_fb_prepare': [ 227s] drivers/autotst/dispc.c:987:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 227s] p_pixel = autotst_dispc_ctx.fb_addr_v; [ 227s] ^ [ 227s] CC [M] drivers/autotst/dsi.o [ 227s] In file included from drivers/autotst/dsi.c:26:0: [ 227s] include/soc/sprd/sci_glb_regs.h:48:0: warning: "REGS_GLB_BASE" redefined [ 227s] #define REGS_GLB_BASE SPRD_AONAPB_BASE [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dsi.c:22: [ 227s] include/soc/sprd/__hardware-sc7731.h:155:0: note: this is the location of the previous definition [ 227s] #define REGS_GLB_BASE ( SPRD_GREG_BASE ) [ 227s] [ 227s] In file included from drivers/autotst/dsi.c:26:0: [ 227s] include/soc/sprd/sci_glb_regs.h:50:0: warning: "REGS_AHB_BASE" redefined [ 227s] #define REGS_AHB_BASE (SPRD_AHB_BASE + 0x200) [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dsi.c:22: [ 227s] include/soc/sprd/__hardware-sc7731.h:144:0: note: this is the location of the previous definition [ 227s] #define REGS_AHB_BASE ( SPRD_AHB_BASE + 0x200) [ 227s] [ 227s] In file included from drivers/autotst/dsi.c:26:0: [ 227s] include/soc/sprd/sci_glb_regs.h:51:0: warning: "SPRD_MISC_BASE" redefined [ 227s] #define SPRD_MISC_BASE SPRD_ADI_BASE [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dsi.c:22: [ 227s] include/soc/sprd/__hardware-sc7731.h:122:0: note: this is the location of the previous definition [ 227s] #define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE) [ 227s] [ 227s] In file included from drivers/autotst/dsi.c:26:0: [ 227s] include/soc/sprd/sci_glb_regs.h:70:0: warning: "ANA_REGS_GLB_BASE" redefined [ 227s] #define ANA_REGS_GLB_BASE (REGS_ADISLAVE_BASE + 0x800) [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dsi.c:22: [ 227s] include/soc/sprd/__hardware-sc7731.h:156:0: note: this is the location of the previous definition [ 227s] #define ANA_REGS_GLB_BASE ( ANA_CTL_GLB_BASE ) [ 227s] [ 227s] In file included from drivers/autotst/dsi.c:26:0: [ 227s] include/soc/sprd/sci_glb_regs.h:80:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 227s] static inline unsigned long SPRD_DEV_P2V(paddr) [ 227s] ^~~~~~~~~~~~ [ 227s] include/soc/sprd/sci_glb_regs.h:93:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 227s] static inline unsigned long SPRD_DEV_V2P(vaddr) [ 227s] ^~~~~~~~~~~~ [ 227s] include/soc/sprd/sci_glb_regs.h:108:0: warning: "SCI_ADDR" redefined [ 227s] #define SCI_ADDR(x, y) \ [ 227s] [ 227s] In file included from include/soc/sprd/hardware.h:34:0, [ 227s] from drivers/autotst/dsi.c:22: [ 227s] include/soc/sprd/__hardware-sc7731.h:36:0: note: this is the location of the previous definition [ 227s] #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) [ 227s] [ 227s] drivers/autotst/dsi.c:36:0: warning: "pr_debug" redefined [ 227s] #define pr_debug printk [ 227s] [ 227s] In file included from include/linux/kernel.h:13:0, [ 227s] from include/linux/sched.h:15, [ 227s] from include/linux/ptrace.h:5, [ 227s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/kgdb.h:13, [ 227s] from include/linux/kgdb.h:20, [ 227s] from drivers/autotst/dsi.c:14: [ 227s] include/linux/printk.h:243:0: note: this is the location of the previous definition [ 227s] #define pr_debug(fmt, ...) \ [ 227s] [ 227s] drivers/autotst/dsi.c: In function 'dsi_module_init': [ 227s] drivers/autotst/dsi.c:215:6: warning: unused variable 'ret' [-Wunused-variable] [ 227s] int ret = 0; [ 227s] ^~~ [ 227s] CC [M] drivers/autotst/lcd_dummy.o [ 227s] CC [M] drivers/autotst/mipi_dsih_api.o [ 227s] CC [M] drivers/autotst/mipi_dsih_dphy.o [ 228s] CC [M] drivers/autotst/mipi_dsih_hal.o [ 228s] LD [M] drivers/autotst/autotst.o [ 228s] CHK drivers/gator/gator_src_md5.h [ 228s] CC [M] drivers/gator/gator_main.o [ 230s] CC [M] drivers/gator/gator_events_block.o [ 230s] CC [M] drivers/gator/gator_events_irq.o [ 231s] CC [M] drivers/gator/gator_events_meminfo.o [ 231s] CC [M] drivers/gator/gator_events_mmapped.o [ 231s] CC [M] drivers/gator/gator_events_net.o [ 231s] CC [M] drivers/gator/gator_events_sched.o [ 232s] CC [M] drivers/gator/gator_events_l2c-310.o [ 232s] LD [M] drivers/gator/gator.o [ 233s] CC [M] drivers/net/wireless/sc2331/wlan_core.o [ 233s] In file included from drivers/net/wireless/sc2331/wlan_core.c:18:0: [ 233s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 233s] #define ETH_ALEN (6) [ 233s] [ 233s] In file included from include/linux/if_ether.h:24:0, [ 233s] from include/uapi/linux/ethtool.h:17, [ 233s] from include/linux/ethtool.h:16, [ 233s] from include/linux/netdevice.h:42, [ 233s] from include/linux/inetdevice.h:8, [ 233s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 233s] from drivers/net/wireless/sc2331/wlan_core.c:18: [ 233s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 233s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 233s] [ 233s] drivers/net/wireless/sc2331/wlan_core.c: In function 'wlan_fb_notifier_callback': [ 233s] drivers/net/wireless/sc2331/wlan_core.c:560:15: warning: comparison between pointer and integer [ 233s] if((fb_event < 0xc0000000) || (fb_event->data < 0xc0000000) ) [ 233s] ^ [ 233s] drivers/net/wireless/sc2331/wlan_core.c:560:48: warning: comparison between pointer and integer [ 233s] if((fb_event < 0xc0000000) || (fb_event->data < 0xc0000000) ) [ 233s] ^ [ 233s] drivers/net/wireless/sc2331/wlan_core.c: In function 'wlan_tx': [ 233s] drivers/net/wireless/sc2331/wlan_core.c:690:7: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 233s] msg = msg_get(msg_q); [ 233s] ^ [ 233s] In file included from drivers/net/wireless/sc2331/wlan_core.c:18:0: [ 233s] drivers/net/wireless/sc2331/wlan_core.c: In function 'wlan_trans_thread': [ 233s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%d' expects a matching 'int' argument [-Wformat=] [ 233s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 233s] ^ [ 233s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 233s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 233s] ^~~~~~~~~~~~~~~~~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c:943:6: note: in expansion of macro 'printke' [ 233s] printke [ 233s] ^~~~~~~ [ 233s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: too many arguments for format [-Wformat-extra-args] [ 233s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 233s] ^ [ 233s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 233s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 233s] ^~~~~~~~~~~~~~~~~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c:950:5: note: in expansion of macro 'printke' [ 233s] printke("rx retry open wlan\n", ret); [ 233s] ^~~~~~~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1082:6: warning: passing argument 5 of 'tx_fifo_out' from incompatible pointer type [-Wincompatible-pointer-types] [ 233s] &send_pkt); [ 233s] ^ [ 233s] In file included from drivers/net/wireless/sc2331/wlan_common.h:50:0, [ 233s] from drivers/net/wireless/sc2331/wlan_core.c:18: [ 233s] drivers/net/wireless/sc2331/wlan_fifo.h:86:12: note: expected 'short unsigned int *' but argument is of type 'int *' [ 233s] extern int tx_fifo_out(const unsigned char netif_id, const unsigned chn, [ 233s] ^~~~~~~~~~~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c:924:1: warning: label 'RX' defined but not used [-Wunused-label] [ 233s] RX: [ 233s] ^~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c: In function 'wlan_tx_msg_q_alloc': [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1130:11: warning: unused variable 'q_id' [-Wunused-variable] [ 233s] int ret, q_id; [ 233s] ^~~~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c: In function 'wlan_tx_msg_q_free': [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1153:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 233s] msg = msg_get(msg_q); [ 233s] ^ [ 233s] drivers/net/wireless/sc2331/wlan_core.c: In function 'send_arp': [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1260:24: warning: array subscript has type 'char' [-Wchar-subscripts] [ 233s] msg_q = &(g_wlan.netif[vif_id].msg_q[1]); [ 233s] ^ [ 233s] drivers/net/wireless/sc2331/wlan_core.c: In function 'wlan_inetaddr_event': [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1273:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 233s] struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; [ 233s] ^~~~~~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c: At top level: [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1389:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 233s] .unlocked_ioctl = wlan_proc_ioctl, [ 233s] ^~~~~~~~~~~~~~~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1389:20: note: (near initialization for 'wlan_proc_fops.unlocked_ioctl') [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1396:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 233s] .unlocked_ioctl = lte_concur_proc_ioctl, [ 233s] ^~~~~~~~~~~~~~~~~~~~~ [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1396:20: note: (near initialization for 'lte_concur_proc_fops.unlocked_ioctl') [ 233s] drivers/net/wireless/sc2331/wlan_core.c: In function 'wlan_get_sleep_monitor_cb': [ 233s] drivers/net/wireless/sc2331/wlan_core.c:1410:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 233s] if (type = SLEEP_MONITOR_CHECK_HARD) { [ 233s] ^~ [ 235s] In file included from drivers/net/wireless/sc2331/wlan_core.c:18:0: [ 235s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 235s] #define ETH_ALEN (6) [ 235s] [ 235s] In file included from include/linux/if_ether.h:24:0, [ 235s] from include/uapi/linux/ethtool.h:17, [ 235s] from include/linux/ethtool.h:16, [ 235s] from include/linux/netdevice.h:42, [ 235s] from include/linux/inetdevice.h:8, [ 235s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 235s] from drivers/net/wireless/sc2331/wlan_core.c:18: [ 235s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 235s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 235s] [ 235s] CC [M] drivers/net/wireless/sc2331/wlan_fifo.o [ 235s] In file included from drivers/net/wireless/sc2331/wlan_fifo.c:19:0: [ 235s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 235s] #define ETH_ALEN (6) [ 235s] [ 235s] In file included from include/linux/if_ether.h:24:0, [ 235s] from include/uapi/linux/ethtool.h:17, [ 235s] from include/linux/ethtool.h:16, [ 235s] from include/linux/netdevice.h:42, [ 235s] from include/linux/inetdevice.h:8, [ 235s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 235s] from drivers/net/wireless/sc2331/wlan_fifo.c:19: [ 235s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 235s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 235s] [ 235s] In file included from drivers/net/wireless/sc2331/wlan_fifo.c:19:0: [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c: In function 'tx_fifo_check': [ 235s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'tx_big_hdr_t * {aka struct *}' [-Wformat=] [ 235s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 235s] ^ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 235s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 235s] ^~~~~~~~~~~~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c:106:3: note: in expansion of macro 'printke' [ 235s] printke("[%s][big_hdr:0x%x][%d]\n", __func__, big_hdr, [ 235s] ^~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'tx_big_hdr_t * {aka struct *}' [-Wformat=] [ 235s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 235s] ^ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 235s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 235s] ^~~~~~~~~~~~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c:116:4: note: in expansion of macro 'printke' [ 235s] printke("[%s][big_hdr:0x%x][0x%x][0x%x]\n", __func__, [ 235s] ^~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 't_msg_hdr_t * {aka struct *}' [-Wformat=] [ 235s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 235s] ^ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 235s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 235s] ^~~~~~~~~~~~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c:116:4: note: in expansion of macro 'printke' [ 235s] printke("[%s][big_hdr:0x%x][0x%x][0x%x]\n", __func__, [ 235s] ^~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 't_msg_hdr_t * {aka struct *}' [-Wformat=] [ 235s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 235s] ^ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 235s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 235s] ^~~~~~~~~~~~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c:116:4: note: in expansion of macro 'printke' [ 235s] printke("[%s][big_hdr:0x%x][0x%x][0x%x]\n", __func__, [ 235s] ^~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'tx_big_hdr_t * {aka struct *}' [-Wformat=] [ 235s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 235s] ^ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 235s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 235s] ^~~~~~~~~~~~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c:124:4: note: in expansion of macro 'printke' [ 235s] printke("[%s][big_hdr:0x%x][msg][0x%x,0x%x]\n", [ 235s] ^~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 't_msg_hdr_t * {aka struct *}' [-Wformat=] [ 235s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 235s] ^ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 235s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 235s] ^~~~~~~~~~~~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c:124:4: note: in expansion of macro 'printke' [ 235s] printke("[%s][big_hdr:0x%x][msg][0x%x,0x%x]\n", [ 235s] ^~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'tx_big_hdr_t * {aka struct *}' [-Wformat=] [ 235s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 235s] ^ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 235s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 235s] ^~~~~~~~~~~~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c:132:3: note: in expansion of macro 'printke' [ 235s] printke("[%s][big_hdr:0x%x][len][0x%x,0x%x]\n", __func__, [ 235s] ^~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c: In function 'tx_fifo_out': [ 235s] drivers/net/wireless/sc2331/wlan_common.h:89:31: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'txfifo_t * {aka struct *}' [-Wformat=] [ 235s] #define KERNEL_DEBUG_LEVE "\001" "0" [ 235s] ^ [ 235s] drivers/net/wireless/sc2331/wlan_common.h:96:40: note: in expansion of macro 'KERNEL_DEBUG_LEVE' [ 235s] #define printke(fmt, ...) ({printk(KERNEL_DEBUG_LEVE "[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 235s] ^~~~~~~~~~~~~~~~~ [ 235s] drivers/net/wireless/sc2331/wlan_fifo.c:230:3: note: in expansion of macro 'printke' [ 235s] printke("txfifo:0x%x,flush(%d,%d)\n", fifo, fifo->RD, [ 235s] ^~~~~~~ [ 236s] CC [M] drivers/net/wireless/sc2331/wlan_msg_q.o [ 236s] In file included from drivers/net/wireless/sc2331/wlan_msg_q.c:20:0: [ 236s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 236s] #define ETH_ALEN (6) [ 236s] [ 236s] In file included from include/linux/if_ether.h:24:0, [ 236s] from include/uapi/linux/ethtool.h:17, [ 236s] from include/linux/ethtool.h:16, [ 236s] from include/linux/netdevice.h:42, [ 236s] from include/linux/inetdevice.h:8, [ 236s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 236s] from drivers/net/wireless/sc2331/wlan_msg_q.c:20: [ 236s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 236s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 236s] [ 236s] CC [M] drivers/net/wireless/sc2331/wlan_cmd.o [ 236s] In file included from drivers/net/wireless/sc2331/wlan_cmd.c:18:0: [ 236s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 236s] #define ETH_ALEN (6) [ 236s] [ 236s] In file included from include/linux/if_ether.h:24:0, [ 236s] from include/uapi/linux/ethtool.h:17, [ 236s] from include/linux/ethtool.h:16, [ 236s] from include/linux/netdevice.h:42, [ 236s] from include/linux/inetdevice.h:8, [ 236s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 236s] from drivers/net/wireless/sc2331/wlan_cmd.c:18: [ 236s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 236s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 236s] [ 236s] drivers/net/wireless/sc2331/wlan_cmd.c: In function 'wlan_cmd_deinit': [ 236s] drivers/net/wireless/sc2331/wlan_cmd.c:122:6: warning: unused variable 'ret' [-Wunused-variable] [ 236s] int ret; [ 236s] ^~~ [ 236s] drivers/net/wireless/sc2331/wlan_cmd.c: In function 'wlan_cmd_unlock': [ 236s] drivers/net/wireless/sc2331/wlan_cmd.c:165:2: warning: 'return' with no value, in function returning non-void [-Wreturn-type] [ 236s] return; [ 236s] ^~~~~~ [ 236s] drivers/net/wireless/sc2331/wlan_cmd.c:161:5: note: declared here [ 236s] int wlan_cmd_unlock(wlan_cmd_t *cmd) [ 236s] ^~~~~~~~~~~~~~~ [ 236s] drivers/net/wireless/sc2331/wlan_cmd.c: In function 'wlan_cmd_assert': [ 236s] drivers/net/wireless/sc2331/wlan_cmd.c:975:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] [ 236s] struct wlan_cmd_assert_t *assert_cmd = NULL; [ 236s] ^~~~~~ [ 237s] CC [M] drivers/net/wireless/sc2331/wlan_npi.o [ 237s] In file included from drivers/net/wireless/sc2331/wlan_npi.c:24:0: [ 237s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 237s] #define ETH_ALEN (6) [ 237s] [ 237s] In file included from include/linux/if_ether.h:24:0, [ 237s] from include/uapi/linux/ethtool.h:17, [ 237s] from include/linux/ethtool.h:16, [ 237s] from include/linux/netdevice.h:42, [ 237s] from include/linux/inetdevice.h:8, [ 237s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 237s] from drivers/net/wireless/sc2331/wlan_npi.c:24: [ 237s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 237s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 237s] [ 237s] drivers/net/wireless/sc2331/wlan_npi.c: In function 'wlan_nl_npi_handler': [ 237s] drivers/net/wireless/sc2331/wlan_npi.c:128:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] [ 237s] } [ 237s] ^ [ 237s] CC [M] drivers/net/wireless/sc2331/wlan_hostapd_conf.o [ 237s] In file included from drivers/net/wireless/sc2331/wlan_hostapd_conf.c:9:0: [ 237s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 237s] #define ETH_ALEN (6) [ 237s] [ 237s] In file included from include/linux/if_ether.h:24:0, [ 237s] from include/uapi/linux/ethtool.h:17, [ 237s] from include/linux/ethtool.h:16, [ 237s] from include/linux/netdevice.h:42, [ 237s] from include/linux/inetdevice.h:8, [ 237s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 237s] from drivers/net/wireless/sc2331/wlan_hostapd_conf.c:9: [ 237s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 237s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 237s] [ 237s] CC [M] drivers/net/wireless/sc2331/wlan_cfg80211.o [ 238s] In file included from drivers/net/wireless/sc2331/wlan_cfg80211.c:18:0: [ 238s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 238s] #define ETH_ALEN (6) [ 238s] [ 238s] In file included from include/linux/if_ether.h:24:0, [ 238s] from include/uapi/linux/ethtool.h:17, [ 238s] from include/linux/ethtool.h:16, [ 238s] from include/linux/netdevice.h:42, [ 238s] from include/linux/inetdevice.h:8, [ 238s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 238s] from drivers/net/wireless/sc2331/wlan_cfg80211.c:18: [ 238s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 238s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 238s] [ 238s] In file included from drivers/net/wireless/sc2331/wlan_cfg80211.c:18:0: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'cfg80211_report_station': [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:27: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:35: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:43: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] In file included from include/linux/pm_qos.h:10:0, [ 238s] from include/linux/netdevice.h:28, [ 238s] from include/linux/inetdevice.h:8, [ 238s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 238s] from drivers/net/wireless/sc2331/wlan_cfg80211.c:18: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:575:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "New station (" MACSTR ") connected\n", [ 238s] ^~~~~~~~~~ [ 238s] In file included from drivers/net/wireless/sc2331/wlan_cfg80211.c:18:0: [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:27: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:35: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:43: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] In file included from include/linux/pm_qos.h:10:0, [ 238s] from include/linux/netdevice.h:28, [ 238s] from include/linux/inetdevice.h:8, [ 238s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 238s] from drivers/net/wireless/sc2331/wlan_cfg80211.c:18: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:21: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:579:3: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "A station (" MACSTR ") disconnected\n", [ 238s] ^~~~~~~~~~ [ 238s] In file included from include/asm-generic/bug.h:13:0, [ 238s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bug.h:61, [ 238s] from include/linux/bug.h:4, [ 238s] from include/linux/thread_info.h:11, [ 238s] from include/linux/preempt.h:9, [ 238s] from include/linux/spinlock.h:50, [ 238s] from include/linux/wait.h:7, [ 238s] from include/linux/fs.h:6, [ 238s] from include/linux/proc_fs.h:8, [ 238s] from drivers/net/wireless/sc2331/wlan_common.h:4, [ 238s] from drivers/net/wireless/sc2331/wlan_cfg80211.c:18: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'wlan_cfg80211_scan': [ 238s] include/linux/kernel.h:663:17: warning: comparison of distinct pointer types lacks a cast [ 238s] (void) (&_min1 == &_min2); \ [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:857:6: note: in expansion of macro 'min' [ 238s] n = min(request->n_channels, 14); [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'wlan_cfg80211_connect': [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:948:49: warning: passing argument 4 of 'itm_find_p2p_ie' from incompatible pointer type [-Wincompatible-pointer-types] [ 238s] if (itm_find_p2p_ie(sme->ie, sme->ie_len, buf, &p2p_len) == true) { [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:318:13: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'short unsigned int *' [ 238s] static bool itm_find_p2p_ie(const u8 *ie, size_t ie_len, u8 *p2p_ie, [ 238s] ^~~~~~~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'wlan_cfg80211_disconnect': [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:1240:7: warning: unused variable 'found' [-Wunused-variable] [ 238s] bool found = false; [ 238s] ^~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:1239:23: warning: unused variable 'bss' [-Wunused-variable] [ 238s] struct cfg80211_bss *bss = NULL; [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'wlan_cfg80211_add_key': [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:1265:16: warning: unused variable 'key' [-Wunused-variable] [ 238s] unsigned char key[32]; [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'cfg80211_report_scan_done': [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:1771:16: warning: unused variable 'bssid' [-Wunused-variable] [ 238s] unsigned char bssid[6] = { 0 }; [ 238s] ^~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:1770:16: warning: unused variable 'ssid' [-Wunused-variable] [ 238s] unsigned char ssid[33] = { 0 }; [ 238s] ^~~~ [ 238s] In file included from drivers/net/wireless/sc2331/wlan_cfg80211.c:18:0: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'cfg80211_report_scan_frame': [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:27: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:87:9: note: in expansion of macro 'MAC2STR' [ 238s] ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~ [ 238s] include/linux/device.h:1054:2: note: in expansion of macro 'dynamic_dev_dbg' [ 238s] dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~~~~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:35: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:87:9: note: in expansion of macro 'MAC2STR' [ 238s] ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~ [ 238s] include/linux/device.h:1054:2: note: in expansion of macro 'dynamic_dev_dbg' [ 238s] dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~~~~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:43: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:87:9: note: in expansion of macro 'MAC2STR' [ 238s] ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~ [ 238s] include/linux/device.h:1054:2: note: in expansion of macro 'dynamic_dev_dbg' [ 238s] dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~~~~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:87:9: note: in expansion of macro 'MAC2STR' [ 238s] ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~ [ 238s] include/linux/device.h:1054:2: note: in expansion of macro 'dynamic_dev_dbg' [ 238s] dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~~~~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:87:9: note: in expansion of macro 'MAC2STR' [ 238s] ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~ [ 238s] include/linux/device.h:1054:2: note: in expansion of macro 'dynamic_dev_dbg' [ 238s] dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \ [ 238s] ^~~~~~~~~~~~~~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] In file included from include/linux/kernel.h:14:0, [ 238s] from include/asm-generic/bug.h:13, [ 238s] from /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/arch/arm/include/asm/bug.h:61, [ 238s] from include/linux/bug.h:4, [ 238s] from include/linux/thread_info.h:11, [ 238s] from include/linux/preempt.h:9, [ 238s] from include/linux/spinlock.h:50, [ 238s] from include/linux/wait.h:7, [ 238s] from include/linux/fs.h:6, [ 238s] from include/linux/proc_fs.h:8, [ 238s] from drivers/net/wireless/sc2331/wlan_common.h:4, [ 238s] from drivers/net/wireless/sc2331/wlan_cfg80211.c:18: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:20: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:86:39: note: in definition of macro 'dynamic_dev_dbg' [ 238s] __dynamic_dev_dbg(&descriptor, dev, fmt, \ [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:20: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:86:39: note: in definition of macro 'dynamic_dev_dbg' [ 238s] __dynamic_dev_dbg(&descriptor, dev, fmt, \ [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:20: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:86:39: note: in definition of macro 'dynamic_dev_dbg' [ 238s] __dynamic_dev_dbg(&descriptor, dev, fmt, \ [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:20: warning: format '%u' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:86:39: note: in definition of macro 'dynamic_dev_dbg' [ 238s] __dynamic_dev_dbg(&descriptor, dev, fmt, \ [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:20: warning: format '%d' expects a matching 'int' argument [-Wformat=] [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^ [ 238s] include/linux/dynamic_debug.h:86:39: note: in definition of macro 'dynamic_dev_dbg' [ 238s] __dynamic_dev_dbg(&descriptor, dev, fmt, \ [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4364:2: note: in expansion of macro 'dev_dbg' [ 238s] dev_dbg(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2049:3: note: in expansion of macro 'wiphy_dbg' [ 238s] wiphy_dbg(wiphy, " %s, " MACSTR ", channel %2u, signal %d\n", [ 238s] ^~~~~~~~~ [ 238s] In file included from drivers/net/wireless/sc2331/wlan_cfg80211.c:18:0: [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:27: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:35: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:43: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:100:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 238s] #define MAC2STR(a) ((a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]) [ 238s] ^ [ 238s] include/linux/device.h:1049:58: note: in expansion of macro 'MAC2STR' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] include/net/cfg80211.h:4358:2: note: in expansion of macro 'dev_info' [ 238s] dev_info(&(wiphy)->dev, format, ##args) [ 238s] ^~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] In file included from include/linux/pm_qos.h:10:0, [ 238s] from include/linux/netdevice.h:28, [ 238s] from include/linux/inetdevice.h:8, [ 238s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 238s] from drivers/net/wireless/sc2331/wlan_cfg80211.c:18: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:22: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:22: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:22: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:22: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:22: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^ [ 238s] include/linux/device.h:1049:51: note: in definition of macro 'dev_info' [ 238s] #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) [ 238s] ^~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2078:4: note: in expansion of macro 'wiphy_info' [ 238s] wiphy_info(wiphy, "find beacon loss event " MACSTR "", [ 238s] ^~~~~~~~~~ [ 238s] In file included from drivers/net/wireless/sc2331/wlan_cfg80211.c:18:0: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'cfg80211_report_version': [ 238s] drivers/net/wireless/sc2331/wlan_common.h:81:46: warning: 'return' with a value, in function returning void [ 238s] #define OK (0) [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2205:9: note: in expansion of macro 'OK' [ 238s] return OK; [ 238s] ^~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2181:6: note: declared here [ 238s] void cfg80211_report_version(unsigned char vif_id, [ 238s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 238s] In file included from drivers/net/wireless/sc2331/wlan_cfg80211.c:18:0: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'wlan_change_beacon': [ 238s] drivers/net/wireless/sc2331/wlan_common.h:94:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u8 * {aka unsigned char *}' [-Wformat=] [ 238s] #define printkd(fmt, ...) ({if (WLAN_SYSTEM_DBG)printk("[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2376:4: note: in expansion of macro 'printkd' [ 238s] printkd("[%s][%d][%d]\n", __func__, __LINE__, ie_ptr); [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:94:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u8 * {aka unsigned char *}' [-Wformat=] [ 238s] #define printkd(fmt, ...) ({if (WLAN_SYSTEM_DBG)printk("[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2402:4: note: in expansion of macro 'printkd' [ 238s] printkd("[%s][%d][%d]\n", __func__, __LINE__, ie_ptr); [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:94:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u8 * {aka unsigned char *}' [-Wformat=] [ 238s] #define printkd(fmt, ...) ({if (WLAN_SYSTEM_DBG)printk("[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2429:4: note: in expansion of macro 'printkd' [ 238s] printkd("[%s][%d][%d]\n", __func__, __LINE__, ie_ptr); [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:94:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u8 * {aka unsigned char *}' [-Wformat=] [ 238s] #define printkd(fmt, ...) ({if (WLAN_SYSTEM_DBG)printk("[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2456:4: note: in expansion of macro 'printkd' [ 238s] printkd("[%s][%d][%d]\n", __func__, __LINE__, ie_ptr); [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_common.h:94:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u8 * {aka unsigned char *}' [-Wformat=] [ 238s] #define printkd(fmt, ...) ({if (WLAN_SYSTEM_DBG)printk("[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2484:4: note: in expansion of macro 'printkd' [ 238s] printkd("[%s][%d][%d]\n", __func__, __LINE__, ie_ptr); [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'wlan_cfg80211_set_mac_acl': [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2517:17: warning: unused variable 'vif_id' [-Wunused-variable] [ 238s] unsigned char vif_id = vif->id; [ 238s] ^~~~~~ [ 238s] In file included from drivers/net/wireless/sc2331/wlan_cfg80211.c:18:0: [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'itm_wlan_start_ap': [ 238s] drivers/net/wireless/sc2331/wlan_common.h:94:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'struct ieee80211_mgmt *' [-Wformat=] [ 238s] #define printkd(fmt, ...) ({if (WLAN_SYSTEM_DBG)printk("[SC2331]" fmt, ##__VA_ARGS__); 0; }) [ 238s] ^ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:2589:3: note: in expansion of macro 'printkd' [ 238s] printkd("[%s][%d][%d]\n", __func__, __LINE__, mgmt); [ 238s] ^~~~~~~ [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'wlan_wiphy_new': [ 238s] drivers/net/wireless/sc2331/wlan_cfg80211.c:3066:50: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 238s] *(struct wlan_info_t **)wiphy_priv(wlan->wiphy) = wlan; [ 238s] ^ [ 238s] CC [M] drivers/net/wireless/sc2331/wlan_wapi.o [ 239s] In file included from drivers/net/wireless/sc2331/wlan_wapi.h:22:0, [ 239s] from drivers/net/wireless/sc2331/wlan_wapi.c:20: [ 239s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 239s] #define ETH_ALEN (6) [ 239s] [ 239s] In file included from include/linux/if_ether.h:24:0, [ 239s] from include/uapi/linux/ethtool.h:17, [ 239s] from include/linux/ethtool.h:16, [ 239s] from include/linux/netdevice.h:42, [ 239s] from include/linux/inetdevice.h:8, [ 239s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 239s] from drivers/net/wireless/sc2331/wlan_wapi.h:22, [ 239s] from drivers/net/wireless/sc2331/wlan_wapi.c:20: [ 239s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 239s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 239s] [ 239s] CC [M] drivers/net/wireless/sc2331/wlan_tcp.o [ 239s] In file included from drivers/net/wireless/sc2331/wlan_tcp.c:18:0: [ 239s] drivers/net/wireless/sc2331/wlan_common.h:74:0: warning: "ETH_ALEN" redefined [ 239s] #define ETH_ALEN (6) [ 239s] [ 239s] In file included from include/linux/if_ether.h:24:0, [ 239s] from include/uapi/linux/ethtool.h:17, [ 239s] from include/linux/ethtool.h:16, [ 239s] from include/linux/netdevice.h:42, [ 239s] from include/linux/inetdevice.h:8, [ 239s] from drivers/net/wireless/sc2331/wlan_common.h:10, [ 239s] from drivers/net/wireless/sc2331/wlan_tcp.c:18: [ 239s] include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition [ 239s] #define ETH_ALEN 6 /* Octets in one ethernet addr */ [ 239s] [ 239s] drivers/net/wireless/sc2331/wlan_tcp.c: In function 'tcp_session_updata': [ 239s] drivers/net/wireless/sc2331/wlan_tcp.c:163:22: warning: unused variable 'session' [-Wunused-variable] [ 239s] wlan_tcp_session_t *session; [ 239s] ^~~~~~~ [ 239s] drivers/net/wireless/sc2331/wlan_tcp.c: In function 'wlan_tcpack_tx': [ 239s] drivers/net/wireless/sc2331/wlan_tcp.c:267:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 239s] msg = msg_get(msg_q); [ 239s] ^ [ 239s] drivers/net/wireless/sc2331/wlan_tcp.c: In function 'wlan_rx_buf_decode': [ 239s] drivers/net/wireless/sc2331/wlan_tcp.c:326:16: warning: unused variable 'event' [-Wunused-variable] [ 239s] unsigned char event; [ 239s] ^~~~~ [ 239s] drivers/net/wireless/sc2331/wlan_tcp.c: In function 'wlan_tx_buf_decode': [ 239s] drivers/net/wireless/sc2331/wlan_tcp.c:356:26: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 239s] tx_big_hdr_t *big_hdr = buf; [ 239s] ^~~ [ 239s] LD [M] drivers/net/wireless/sc2331/sprdwl.o [ 240s] CC [M] drivers/usb/gadget/dummy_hcd.o [ 240s] CC [M] drivers/usb/gadget/g_ffs.o [ 245s] Building modules, stage 2. [ 245s] MODPOST 5 modules [ 245s] CC drivers/autotst/autotst.mod.o [ 245s] LD [M] drivers/autotst/autotst.ko [ 245s] CC drivers/gator/gator.mod.o [ 245s] LD [M] drivers/gator/gator.ko [ 245s] CC drivers/net/wireless/sc2331/sprdwl.mod.o [ 246s] LD [M] drivers/net/wireless/sc2331/sprdwl.ko [ 246s] CC drivers/usb/gadget/dummy_hcd.mod.o [ 246s] LD [M] drivers/usb/gadget/dummy_hcd.ko [ 246s] CC drivers/usb/gadget/g_ffs.mod.o [ 246s] LD [M] drivers/usb/gadget/g_ffs.ko [ 246s] + make modules_install INSTALL_MOD_PATH=/home/abuild/rpmbuild/BUILD/mod_tizen_tm1 [ 246s] INSTALL drivers/autotst/autotst.ko [ 246s] INSTALL drivers/gator/gator.ko [ 246s] INSTALL drivers/net/wireless/sc2331/sprdwl.ko [ 246s] INSTALL drivers/usb/gadget/dummy_hcd.ko [ 246s] INSTALL drivers/usb/gadget/g_ffs.ko [ 246s] DEPMOD 3.10.65 [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '*\.HEX' -type f -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '.tmp_vmlinux*' -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '\.*dtb*tmp' -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '*\.*tmp' -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name vmlinux -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name bzImage -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name zImage -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name dzImage -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '*.cmd' -delete [ 247s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '*\.ko' -delete [ 248s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '*\.o' -delete [ 248s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '*\.S' -delete [ 248s] + find /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730 -name '*\.c' -not -path '/home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/scripts/*' -delete [ 248s] + cd /home/abuild/rpmbuild/BUILD [ 248s] + mv linux-3.10-sc7730-Tizen_sc7730 kernel-devel-tizen_tm1 [ 248s] + /bin/tar -xf /home/abuild/rpmbuild/SOURCES/linux-3.10-sc7730-Tizen_sc7730.tar.gz [ 252s] + cd linux-3.10-sc7730-Tizen_sc7730 [ 252s] + exit 0 [ 252s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XHKdf4 [ 252s] + umask 022 [ 252s] + cd /home/abuild/rpmbuild/BUILD [ 252s] + cd linux-3.10-sc7730-Tizen_sc7730 [ 252s] + LANG=C [ 252s] + export LANG [ 252s] + unset DISPLAY [ 252s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm [ 252s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm [ 252s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr [ 252s] + make mrproper [ 254s] + make headers_check [ 255s] CHK include/generated/uapi/linux/version.h [ 255s] UPD include/generated/uapi/linux/version.h [ 255s] HOSTCC scripts/basic/fixdep [ 255s] WRAP arch/arm/include/generated/asm/auxvec.h [ 255s] WRAP arch/arm/include/generated/asm/bitsperlong.h [ 255s] WRAP arch/arm/include/generated/asm/cputime.h [ 255s] WRAP arch/arm/include/generated/asm/current.h [ 255s] WRAP arch/arm/include/generated/asm/emergency-restart.h [ 255s] WRAP arch/arm/include/generated/asm/errno.h [ 255s] WRAP arch/arm/include/generated/asm/exec.h [ 255s] WRAP arch/arm/include/generated/asm/ioctl.h [ 255s] WRAP arch/arm/include/generated/asm/ipcbuf.h [ 255s] WRAP arch/arm/include/generated/asm/irq_regs.h [ 255s] WRAP arch/arm/include/generated/asm/kdebug.h [ 255s] WRAP arch/arm/include/generated/asm/local.h [ 255s] WRAP arch/arm/include/generated/asm/local64.h [ 255s] WRAP arch/arm/include/generated/asm/msgbuf.h [ 255s] WRAP arch/arm/include/generated/asm/param.h [ 255s] WRAP arch/arm/include/generated/asm/parport.h [ 255s] WRAP arch/arm/include/generated/asm/poll.h [ 255s] WRAP arch/arm/include/generated/asm/resource.h [ 255s] WRAP arch/arm/include/generated/asm/sections.h [ 255s] WRAP arch/arm/include/generated/asm/segment.h [ 255s] WRAP arch/arm/include/generated/asm/sembuf.h [ 255s] WRAP arch/arm/include/generated/asm/serial.h [ 255s] WRAP arch/arm/include/generated/asm/shmbuf.h [ 255s] WRAP arch/arm/include/generated/asm/siginfo.h [ 255s] WRAP arch/arm/include/generated/asm/sizes.h [ 255s] WRAP arch/arm/include/generated/asm/socket.h [ 255s] WRAP arch/arm/include/generated/asm/sockios.h [ 255s] WRAP arch/arm/include/generated/asm/termbits.h [ 255s] WRAP arch/arm/include/generated/asm/termios.h [ 255s] WRAP arch/arm/include/generated/asm/timex.h [ 255s] WRAP arch/arm/include/generated/asm/trace_clock.h [ 255s] WRAP arch/arm/include/generated/asm/types.h [ 255s] WRAP arch/arm/include/generated/asm/unaligned.h [ 255s] HOSTCC scripts/unifdef [ 255s] INSTALL include/asm-generic (35 files) [ 257s] INSTALL include/drm (18 files) [ 258s] INSTALL include/linux/byteorder (2 files) [ 258s] INSTALL include/linux/caif (2 files) [ 258s] INSTALL include/linux/can (5 files) [ 258s] INSTALL include/linux/dvb (8 files) [ 258s] INSTALL include/linux/hdlc (1 file) [ 258s] INSTALL include/linux/hsi (1 file) [ 258s] INSTALL include/linux/isdn (1 file) [ 259s] INSTALL include/linux/mmc (1 file) [ 259s] INSTALL include/linux/netfilter/ipset (4 files) [ 259s] INSTALL include/linux/netfilter (79 files) [ 262s] INSTALL include/linux/netfilter_arp (2 files) [ 262s] INSTALL include/linux/netfilter_bridge (18 files) [ 263s] INSTALL include/linux/netfilter_ipv4 (10 files) [ 263s] INSTALL include/linux/netfilter_ipv6 (12 files) [ 263s] INSTALL include/linux/nfsd (5 files) [ 264s] INSTALL include/linux/raid (2 files) [ 264s] INSTALL include/linux/spi (1 file) [ 264s] INSTALL include/linux/sunrpc (1 file) [ 264s] INSTALL include/linux/tc_act (7 files) [ 264s] INSTALL include/linux/tc_ematch (4 files) [ 264s] INSTALL include/linux/usb (11 files) [ 265s] INSTALL include/linux/wimax (1 file) [ 265s] INSTALL include/linux (388 files) [ 281s] INSTALL include/mtd (5 files) [ 282s] INSTALL include/rdma (6 files) [ 282s] INSTALL include/scsi/fc (4 files) [ 282s] INSTALL include/scsi (3 files) [ 282s] INSTALL include/sound (10 files) [ 283s] INSTALL include/video (17 files) [ 284s] INSTALL include/xen (2 files) [ 284s] INSTALL include/uapi (0 file) [ 284s] INSTALL include/asm (34 files) [ 284s] CHECK include/asm-generic (35 files) [ 285s] CHECK include/drm (18 files) [ 285s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/drm/tegra_drm.h:21: found __[us]{8,16,32,64} type without #include [ 285s] CHECK include/linux/byteorder (2 files) [ 285s] CHECK include/linux/caif (2 files) [ 286s] CHECK include/linux/can (5 files) [ 286s] CHECK include/linux/dvb (8 files) [ 286s] CHECK include/linux/hdlc (1 files) [ 286s] CHECK include/linux/hsi (1 files) [ 286s] CHECK include/linux/isdn (1 files) [ 286s] CHECK include/linux/mmc (1 files) [ 287s] CHECK include/linux/netfilter/ipset (4 files) [ 287s] CHECK include/linux/netfilter (79 files) [ 287s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/linux/netfilter/xt_socket.h:14: userspace cannot reference function or variable defined in the kernel [ 287s] CHECK include/linux/netfilter_arp (2 files) [ 287s] CHECK include/linux/netfilter_bridge (18 files) [ 288s] CHECK include/linux/netfilter_ipv4 (10 files) [ 288s] CHECK include/linux/netfilter_ipv6 (12 files) [ 288s] CHECK include/linux/nfsd (5 files) [ 288s] CHECK include/linux/raid (2 files) [ 288s] CHECK include/linux/spi (1 files) [ 288s] CHECK include/linux/sunrpc (1 files) [ 289s] CHECK include/linux/tc_act (7 files) [ 289s] CHECK include/linux/tc_ematch (4 files) [ 289s] CHECK include/linux/usb (11 files) [ 289s] CHECK include/linux/wimax (1 files) [ 289s] CHECK include/linux (388 files) [ 291s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/linux/kexec.h:49: userspace cannot reference function or variable defined in the kernel [ 292s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel [ 292s] CHECK include/mtd (5 files) [ 292s] CHECK include/rdma (6 files) [ 293s] CHECK include/scsi/fc (4 files) [ 293s] CHECK include/scsi (3 files) [ 293s] CHECK include/sound (10 files) [ 293s] CHECK include/video (17 files) [ 293s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/gsp_types_shark.h:17: userspace cannot reference function or variable defined in the kernel [ 293s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/ion_sprd.h:119: userspace cannot reference function or variable defined in the kernel [ 293s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/ion_sprd.h:121: userspace cannot reference function or variable defined in the kernel [ 293s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/ion_sprd.h:123: userspace cannot reference function or variable defined in the kernel [ 293s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/ion_sprd.h:126: userspace cannot reference function or variable defined in the kernel [ 293s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/ion_sprd.h:129: userspace cannot reference function or variable defined in the kernel [ 293s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/ion_sprd.h:131: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprd_rotation.h:53: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprd_rotation.h:54: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprd_rotation.h:55: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprd_scale.h:116: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprd_scale.h:117: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprd_scale.h:118: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprd_scale.h:119: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprdfb.h:102: userspace cannot reference function or variable defined in the kernel [ 294s] /home/abuild/rpmbuild/BUILD/linux-3.10-sc7730-Tizen_sc7730/usr/include/video/sprdfb.h:103: userspace cannot reference function or variable defined in the kernel [ 294s] CHECK include/xen (2 files) [ 294s] CHECK include/uapi (0 files) [ 294s] CHECK include/asm (34 files) [ 294s] + make headers_install INSTALL_HDR_PATH=/home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr [ 295s] CHK include/generated/uapi/linux/version.h [ 295s] INSTALL include/asm-generic (35 files) [ 296s] INSTALL include/drm (18 files) [ 297s] INSTALL include/linux/byteorder (2 files) [ 297s] INSTALL include/linux/caif (2 files) [ 297s] INSTALL include/linux/can (5 files) [ 297s] INSTALL include/linux/dvb (8 files) [ 298s] INSTALL include/linux/hdlc (1 file) [ 298s] INSTALL include/linux/hsi (1 file) [ 298s] INSTALL include/linux/isdn (1 file) [ 298s] INSTALL include/linux/mmc (1 file) [ 298s] INSTALL include/linux/netfilter/ipset (4 files) [ 298s] INSTALL include/linux/netfilter (79 files) [ 301s] INSTALL include/linux/netfilter_arp (2 files) [ 301s] INSTALL include/linux/netfilter_bridge (18 files) [ 302s] INSTALL include/linux/netfilter_ipv4 (10 files) [ 302s] INSTALL include/linux/netfilter_ipv6 (12 files) [ 303s] INSTALL include/linux/nfsd (5 files) [ 303s] INSTALL include/linux/raid (2 files) [ 303s] INSTALL include/linux/spi (1 file) [ 303s] INSTALL include/linux/sunrpc (1 file) [ 303s] INSTALL include/linux/tc_act (7 files) [ 304s] INSTALL include/linux/tc_ematch (4 files) [ 304s] INSTALL include/linux/usb (11 files) [ 304s] INSTALL include/linux/wimax (1 file) [ 304s] INSTALL include/linux (388 files) [ 321s] INSTALL include/mtd (5 files) [ 321s] INSTALL include/rdma (6 files) [ 321s] INSTALL include/scsi/fc (4 files) [ 322s] INSTALL include/scsi (3 files) [ 322s] INSTALL include/sound (10 files) [ 322s] INSTALL include/video (17 files) [ 323s] INSTALL include/xen (2 files) [ 323s] INSTALL include/uapi (0 file) [ 323s] INSTALL include/asm (34 files) [ 324s] + find /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr/include -name .install -delete [ 324s] + find /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr/include -name ..install.cmd -delete [ 324s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr/include/scsi [ 324s] + rm -f '/home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr/include/asm*/atomic.h' [ 324s] + rm -f '/home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr/include/asm*/io.h' [ 324s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/devel [ 324s] + for i in tizen_tm1 [ 324s] + target=tizen_tm1 [ 324s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/kernel-tizen_tm1 [ 324s] + mv /home/abuild/rpmbuild/BUILD/mod_tizen_tm1 /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/mod_tizen_tm1 [ 324s] + mv /home/abuild/rpmbuild/BUILD/zImage.tizen_tm1 /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/kernel-tizen_tm1/zImage [ 324s] + mv /home/abuild/rpmbuild/BUILD/dzImage.tizen_tm1 /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/kernel-tizen_tm1/dzImage [ 324s] + mv /home/abuild/rpmbuild/BUILD/System.map.tizen_tm1 /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/kernel-tizen_tm1/System.map [ 324s] + mv /home/abuild/rpmbuild/BUILD/config.tizen_tm1 /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/kernel-tizen_tm1/config [ 324s] + mv /home/abuild/rpmbuild/BUILD/vmlinux.tizen_tm1 /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/kernel-tizen_tm1/vmlinux [ 324s] + mv /home/abuild/rpmbuild/BUILD/kernel-devel-tizen_tm1 /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/devel/kernel-devel-tizen_tm1 [ 324s] + find /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/ -name '*.h' -print0 [ 324s] + xargs -0 chmod 644 [ 325s] + find /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/ -name System.map -not -path '/home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/devel/*' [ 325s] + find /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/ -name vmlinux -not -path '/home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/devel/*' [ 325s] + find /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/ -name '*.ko' -not -path '/home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/boot/kernel/devel/*' [ 325s] + cat develfiles.pre [ 325s] + sed -e s#/home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm##g [ 325s] + uniq [ 325s] + sort [ 325s] + /usr/lib/rpm/brp-compress [ 325s] Processing files: linux-3.10-sc7730_tizen_tm1-Tizen_sc7730-6.1.armv7l [ 325s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XVrtJp [ 325s] + umask 022 [ 325s] + cd /home/abuild/rpmbuild/BUILD [ 325s] + cd linux-3.10-sc7730-Tizen_sc7730 [ 325s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr/share/licenses/linux-3.10-sc7730_tizen_tm1 [ 325s] + export LICENSEDIR [ 325s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr/share/licenses/linux-3.10-sc7730_tizen_tm1 [ 325s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm/usr/share/licenses/linux-3.10-sc7730_tizen_tm1 [ 325s] + exit 0 [ 325s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 325s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 325s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 325s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 325s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 325s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 326s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 326s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 326s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 326s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 326s] Provides: ksym(3.10.65:gator_annotate) = bd28e9cb ksym(3.10.65:gator_annotate_channel) = 83efb41d ksym(3.10.65:gator_annotate_channel_color) = 947f4dab ksym(3.10.65:gator_annotate_channel_end) = d8d228c8 ksym(3.10.65:gator_annotate_color) = cfad3612 ksym(3.10.65:gator_annotate_end) = 7c062af9 ksym(3.10.65:gator_annotate_marker) = 9369356e ksym(3.10.65:gator_annotate_marker_color) = ad18a108 ksym(3.10.65:gator_annotate_marker_color_str) = 2eb3fe43 ksym(3.10.65:gator_annotate_marker_str) = c6d6e035 ksym(3.10.65:gator_annotate_name_channel) = 614f274c ksym(3.10.65:gator_annotate_name_group) = 570e7bf ksym(3.10.65:gator_annotate_visual) = 3aa78835 ksym(3.10.65:wlan_module_exit) = cf2d5d55 ksym(3.10.65:wlan_module_init) = 5915e30a linux-3.10-sc7730_tizen_tm1 = Tizen_sc7730-6.1 linux-3.10-sc7730_tizen_tm1(armv7l-32) = Tizen_sc7730-6.1 linux-kernel = 3.10.65 [ 326s] Requires(interp): /bin/sh [ 326s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 326s] Requires(post): /bin/sh coreutils [ 326s] Supplements: packageand(kernel-3.10.65:linux-3.10-sc7730) [ 326s] Processing files: linux-3.10-sc7730_tizen_tm1-debuginfo-Tizen_sc7730-6.1.armv7l [ 326s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 326s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 326s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 326s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 326s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 326s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 327s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 327s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 327s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 327s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 327s] Provides: ksym(3.10.65:gator_annotate) = bd28e9cb ksym(3.10.65:gator_annotate_channel) = 83efb41d ksym(3.10.65:gator_annotate_channel_color) = 947f4dab ksym(3.10.65:gator_annotate_channel_end) = d8d228c8 ksym(3.10.65:gator_annotate_color) = cfad3612 ksym(3.10.65:gator_annotate_end) = 7c062af9 ksym(3.10.65:gator_annotate_marker) = 9369356e ksym(3.10.65:gator_annotate_marker_color) = ad18a108 ksym(3.10.65:gator_annotate_marker_color_str) = 2eb3fe43 ksym(3.10.65:gator_annotate_marker_str) = c6d6e035 ksym(3.10.65:gator_annotate_name_channel) = 614f274c ksym(3.10.65:gator_annotate_name_group) = 570e7bf ksym(3.10.65:gator_annotate_visual) = 3aa78835 ksym(3.10.65:wlan_module_exit) = cf2d5d55 ksym(3.10.65:wlan_module_init) = 5915e30a linux-3.10-sc7730_tizen_tm1-debuginfo = Tizen_sc7730-6.1 linux-3.10-sc7730_tizen_tm1-debuginfo(armv7l-32) = Tizen_sc7730-6.1 [ 327s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 327s] Supplements: packageand(kernel-3.10.65:linux-3.10-sc7730) [ 327s] Processing files: kernel-headers-3.10-sc7730-Tizen_sc7730-6.1.armv7l [ 328s] Provides: kernel-headers-3.10-sc7730 = Tizen_sc7730-6.1 kernel-headers-3.10-sc7730(armv7l-32) = Tizen_sc7730-6.1 kernel-headers-tizen-dev [ 328s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 328s] Processing files: kernel-devel-3.10-sc7730-Tizen_sc7730-6.1.armv7l [ 407s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 407s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 407s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 407s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 407s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 408s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 408s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 408s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 408s] error: Couldn't exec /usr/lib/rpm/find-requires.ksyms: No such file or directory [ 408s] sed: can't read /usr/src/packages/SOURCES/linux-3.10-sc7730.spec: No such file or directory [ 408s] Provides: kernel-devel-3.10-sc7730 = Tizen_sc7730-6.1 kernel-devel-3.10-sc7730(armv7l-32) = Tizen_sc7730-6.1 ksym(3.10.65:gator_annotate) = bd28e9cb ksym(3.10.65:gator_annotate_channel) = 83efb41d ksym(3.10.65:gator_annotate_channel_color) = 947f4dab ksym(3.10.65:gator_annotate_channel_end) = d8d228c8 ksym(3.10.65:gator_annotate_color) = cfad3612 ksym(3.10.65:gator_annotate_end) = 7c062af9 ksym(3.10.65:gator_annotate_marker) = 9369356e ksym(3.10.65:gator_annotate_marker_color) = ad18a108 ksym(3.10.65:gator_annotate_marker_color_str) = 2eb3fe43 ksym(3.10.65:gator_annotate_marker_str) = c6d6e035 ksym(3.10.65:gator_annotate_name_channel) = 614f274c ksym(3.10.65:gator_annotate_name_group) = 570e7bf ksym(3.10.65:gator_annotate_visual) = 3aa78835 ksym(3.10.65:wlan_module_exit) = cf2d5d55 ksym(3.10.65:wlan_module_init) = 5915e30a perl(Perf::Trace::Context) = 0.01 perl(Perf::Trace::Core) = 0.01 perl(Perf::Trace::Util) = 0.01 [ 408s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 408s] Requires: /bin/bash /bin/sh /usr/bin/awk /usr/bin/perl /usr/bin/python libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) [ 408s] Supplements: packageand(kernel-3.10.65:linux-3.10-sc7730) [ 408s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm [ 408s] warning: Could not canonicalize hostname: obspw11 [ 413s] Wrote: /home/abuild/rpmbuild/SRPMS/linux-3.10-sc7730-Tizen_sc7730-6.1.src.rpm [ 415s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/linux-3.10-sc7730_tizen_tm1-Tizen_sc7730-6.1.armv7l.rpm [ 429s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/linux-3.10-sc7730_tizen_tm1-debuginfo-Tizen_sc7730-6.1.armv7l.rpm [ 430s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/kernel-headers-3.10-sc7730-Tizen_sc7730-6.1.armv7l.rpm [ 447s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/kernel-devel-3.10-sc7730-Tizen_sc7730-6.1.armv7l.rpm [ 447s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ol6Qmr [ 447s] + umask 022 [ 447s] + cd /home/abuild/rpmbuild/BUILD [ 447s] + cd linux-3.10-sc7730-Tizen_sc7730 [ 447s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-3.10-sc7730-Tizen_sc7730-6.1.arm [ 447s] + rm -rf /home/abuild/rpmbuild/BUILD [ 448s] + exit 0 [ 448s] ... checking for files with abuild user/group [ 449s] ... creating baselibs [ 450s] ... comparing built packages with the former built [ 450s] /usr/lib/build/pkg-diff.sh [ 450s] compare /.build.oldpackages/linux-3.10-sc7730-Tizen_sc7730-5.1.src.rpm /home/abuild/rpmbuild/SRPMS/linux-3.10-sc7730-Tizen_sc7730-6.1.src.rpm [ 450s] This is not a prerelease project. Compare the project name. [ 450s] comparing rpmtags [ 450s] comparing RELEASE [ 450s] comparing PROVIDES [ 450s] comparing scripts [ 450s] comparing filelist [ 450s] comparing file checksum [ 450s] RPM meta information is identical [ 450s] compare /.build.oldpackages/kernel-devel-3.10-sc7730-Tizen_sc7730-5.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/kernel-devel-3.10-sc7730-Tizen_sc7730-6.1.armv7l.rpm [ 450s] Comparing kernel-devel-3.10-sc7730-Tizen_sc7730-5.1.armv7l.rpm to kernel-devel-3.10-sc7730-Tizen_sc7730-6.1.armv7l.rpm [ 450s] This is not a prerelease project. Compare the project name. [ 450s] comparing rpmtags [ 450s] --- /tmp/tmp.jXDGt53007/tmp.uFljg53025 2017-10-18 23:24:23.795834297 +0000 [ 450s] +++ /tmp/tmp.jXDGt53007/tmp.Dosfr53027 2017-10-18 23:24:23.807834326 +0000 [ 450s] @@ -8,4 +8,4 @@ [ 450s] cpio xz 5T [ 450s] [ 450s] (none) (none) (none) [ 450s] -obs://build.tizen.org/Tizen:4.0:Unified/standard/7b38665f11f82fd7e9e6854996fa6799-linux-3.10-sc7730 Tizen:4.0:Unified [ 450s] +obs://build.tizen.org/Tizen:4.0:Unified/standard/1f96b297f1e0de1160954f8f62294659-linux-3.10-sc7730 Tizen:4.0:Unified [ 450s] RPM meta information is different [ 450s] compare /.build.oldpackages/kernel-headers-3.10-sc7730-Tizen_sc7730-5.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/kernel-headers-3.10-sc7730-Tizen_sc7730-6.1.armv7l.rpm [ 450s] Comparing kernel-headers-3.10-sc7730-Tizen_sc7730-5.1.armv7l.rpm to kernel-headers-3.10-sc7730-Tizen_sc7730-6.1.armv7l.rpm [ 451s] This is not a prerelease project. Compare the project name. [ 451s] comparing rpmtags [ 451s] --- /tmp/tmp.UbHTY53045/tmp.unnwa53063 2017-10-18 23:24:24.019834821 +0000 [ 451s] +++ /tmp/tmp.UbHTY53045/tmp.kXbST53065 2017-10-18 23:24:24.027834840 +0000 [ 451s] @@ -10,4 +10,4 @@ [ 451s] cpio xz 5T [ 451s] [ 451s] (none) (none) (none) [ 451s] -obs://build.tizen.org/Tizen:4.0:Unified/standard/7b38665f11f82fd7e9e6854996fa6799-linux-3.10-sc7730 Tizen:4.0:Unified [ 451s] +obs://build.tizen.org/Tizen:4.0:Unified/standard/1f96b297f1e0de1160954f8f62294659-linux-3.10-sc7730 Tizen:4.0:Unified [ 451s] RPM meta information is different [ 451s] compare /.build.oldpackages/linux-3.10-sc7730_tizen_tm1-Tizen_sc7730-5.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/linux-3.10-sc7730_tizen_tm1-Tizen_sc7730-6.1.armv7l.rpm [ 451s] Comparing linux-3.10-sc7730_tizen_tm1-Tizen_sc7730-5.1.armv7l.rpm to linux-3.10-sc7730_tizen_tm1-Tizen_sc7730-6.1.armv7l.rpm [ 451s] This is not a prerelease project. Compare the project name. [ 451s] comparing rpmtags [ 451s] --- /tmp/tmp.WNiwj53083/tmp.HUMsN53101 2017-10-18 23:24:24.239835335 +0000 [ 451s] +++ /tmp/tmp.WNiwj53083/tmp.dWMAe53103 2017-10-18 23:24:24.247835354 +0000 [ 451s] @@ -8,4 +8,4 @@ [ 451s] cpio xz 5T [ 451s] [ 451s] (none) (none) (none) [ 451s] -obs://build.tizen.org/Tizen:4.0:Unified/standard/7b38665f11f82fd7e9e6854996fa6799-linux-3.10-sc7730 Tizen:4.0:Unified [ 451s] +obs://build.tizen.org/Tizen:4.0:Unified/standard/1f96b297f1e0de1160954f8f62294659-linux-3.10-sc7730 Tizen:4.0:Unified [ 451s] RPM meta information is different [ 451s] compare /.build.oldpackages/linux-3.10-sc7730_tizen_tm1-debuginfo-Tizen_sc7730-5.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/linux-3.10-sc7730_tizen_tm1-debuginfo-Tizen_sc7730-6.1.armv7l.rpm [ 451s] skipping -debuginfo package [ 451s] [ 451s] obspw11 finished "build linux-3.10-sc7730.spec" at Wed Oct 18 23:24:24 UTC 2017. [ 451s]