[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.27 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-154 started "build u-boot-lpi4a-16g.spec" at Sun Dec 29 04:53:47 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j32 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241229.024307/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241229.024307/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.27/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.27/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/riscv64/RPMS [ 0s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241229.024307/repos/standard/packages/ [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241229.024307/repos/standard/debug/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 8s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 8s] breaking dependency libxcrypt-devel -> glibc-devel [ 8s] cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] reordering done [ 9s] [1/112] keeping libmagic-data-5.45-1.8 [ 9s] [2/112] cumulate opensbi-1.5-0 [ 9s] [3/112] keeping setup-0.9-1.5 [ 9s] [4/112] keeping filesystem-3.1-1.1 [ 9s] [5/112] keeping glibc-2.40-1.1 [ 9s] [6/112] keeping bash-3.2.57-1.1 [ 9s] [7/112] keeping cpio-2.8-1.1 [ 9s] [8/112] keeping diffutils-3.10-1.1 [ 9s] [9/112] keeping findutils-4.3.8-1.8 [ 9s] [10/112] keeping gdbm-1.8.3-1.12 [ 9s] [11/112] keeping hostname-3.23-1.1 [ 9s] [12/112] keeping libatomic-14.2.0-1.11 [ 9s] [13/112] keeping libattr-2.5.1-1.9 [ 9s] [14/112] keeping libblkid-2.39.3-1.8 [ 9s] [15/112] keeping libbz2-1.0.8-1.10 [ 9s] [16/112] keeping libexpat-2.6.2-1.11 [ 9s] [17/112] keeping libffi-3.4.2-1.10 [ 9s] [18/112] keeping libfreebl3-3.98-1.13 [ 9s] [19/112] keeping libgcc-14.2.0-1.11 [ 9s] [20/112] keeping libgomp-14.2.0-1.11 [ 9s] [21/112] keeping libitm-14.2.0-1.11 [ 9s] [22/112] keeping libltdl-2.4.7-1.12 [ 9s] [23/112] keeping liblua-5.1.5-1.8 [ 9s] [24/112] keeping liblzma-5.6.3-1.4 [ 9s] [25/112] keeping libopenssl3-3.0.13-1.12 [ 9s] [26/112] keeping libpcre-8.45-1.8 [ 9s] [27/112] keeping libpopt-1.16-1.8 [ 9s] [28/112] keeping libpython3_121_0-3.12.0-1.11 [ 9s] [29/112] keeping libsmack-1.3.1-1.8 [ 9s] [30/112] keeping libsmartcols-2.39.3-1.8 [ 9s] [31/112] keeping libsqlite-3.48.0-1.5 [ 9s] [32/112] keeping libuuid-2.39.3-1.8 [ 9s] [33/112] keeping libxcrypt-4.4.36-1.10 [ 9s] [34/112] keeping libzstd1-1.5.6-1.4 [ 9s] [35/112] keeping m4-1.4.19-1.1 [ 9s] [36/112] keeping net-tools-2.0_20121208git-1.7 [ 9s] [37/112] keeping nspr-4.35-1.8 [ 9s] [38/112] keeping patch-2.7.6-1.8 [ 9s] [39/112] keeping pkg-config-0.29.2-1.10 [ 9s] [40/112] keeping sed-4.1c-1.8 [ 9s] [41/112] keeping update-alternatives-1.22.2-1.1 [ 9s] [42/112] keeping which-2.17-1.1 [ 9s] [43/112] keeping zlib-1.3.1-1.4 [ 9s] [44/112] keeping build-compare-2023.06.18-1.5 [ 9s] [45/112] keeping hal-rootstrap-checker-0.1.0-2.1 [ 9s] [46/112] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.5 [ 9s] [47/112] keeping binutils-libs-2.43-1.12 [ 9s] [48/112] keeping coreutils-6.9-14.4 [ 9s] [49/112] keeping cpp-14.2.0-1.11 [ 9s] [50/112] cumulate flex-2.6.4-1.10 [ 9s] [51/112] keeping gawk-3.1.5-1.1 [ 9s] [52/112] keeping gcc-c++-14.2.0-1.11 [ 9s] [53/112] keeping grep-2.5.2-1.8 [ 9s] [54/112] keeping libacl-2.3.2-1.8 [ 9s] [55/112] keeping libcap-2.69-1.10 [ 9s] [56/112] keeping libelf-0.189-1.11 [ 9s] [57/112] keeping libgfortran-14.2.0-1.11 [ 9s] [58/112] keeping libmount-2.39.3-1.8 [ 9s] [59/112] keeping libstdc++-14.2.0-1.11 [ 9s] [60/112] keeping make-4.4-1.8 [ 9s] [61/112] keeping nss-certs-3.98-1.13 [ 9s] [62/112] keeping smack-1.3.1-1.8 [ 9s] [63/112] cumulate bison-3.0.5-1.10 [ 9s] [64/112] keeping bzip2-1.0.8-1.10 [ 9s] [65/112] keeping libfdisk-2.39.3-1.8 [ 9s] [66/112] keeping libmagic-5.45-1.8 [ 9s] [67/112] keeping libxml2-2.12.5-1.9 [ 9s] [68/112] keeping xz-5.6.3-1.4 [ 9s] [69/112] keeping perl-5.38.0-1.10 [ 9s] [70/112] keeping build-mkbaselibs-20120927-1.1 [ 9s] [71/112] keeping libstdc++-devel-14.2.0-1.11 [ 9s] [72/112] keeping linux-glibc-devel-6.6-1.11 [ 9s] [73/112] keeping binutils-2.43-1.12 [ 9s] [74/112] keeping file-5.45-1.8 [ 9s] [75/112] keeping tar-1.17-1.1 [ 9s] [76/112] keeping terminfo-base-full-6.4-1.12 [ 9s] [77/112] keeping autoconf-2.71-1.13 [ 9s] [78/112] keeping glibc-locale-2.40-1.1 [ 9s] [79/112] keeping gzip-1.3.12-1.8 [ 9s] [80/112] keeping libcc1-14.2.0-1.11 [ 9s] [81/112] keeping libubsan-14.2.0-1.11 [ 9s] [82/112] keeping pam-1.1.6-1.8 [ 9s] [83/112] cumulate swig-4.0.2-0 [ 9s] [84/112] keeping tzdata-2023c-1.1 [ 9s] [85/112] keeping libdw-0.189-1.11 [ 9s] [86/112] keeping libarchive-3.7.2-1.10 [ 9s] [87/112] keeping automake-1.16.5-1.12 [ 9s] [88/112] keeping libasm-0.189-1.11 [ 9s] [89/112] keeping libncurses6-6.4-1.12 [ 9s] [90/112] keeping build-20120927-1.1 [ 9s] [91/112] keeping gcc-14.2.0-1.11 [ 9s] [92/112] keeping libncurses-6.4-1.12 [ 9s] [93/112] keeping less-668-1.1 [ 9s] [94/112] keeping libreadline-5.2-1.10 [ 9s] [95/112] keeping qemu-accel-x86_64-riscv64-0.4-1.5 [ 9s] [96/112] keeping libtool-2.4.7-1.12 [ 9s] [97/112] keeping elfutils-0.189-1.11 [ 9s] [98/112] cumulate bc-1.06-1.1 [ 9s] [99/112] keeping python3-base-3.12.0-1.11 [ 9s] [100/112] keeping util-linux-2.39.3-1.8 [ 9s] [101/112] keeping python3-3.12.0-1.1 [ 9s] [102/112] keeping util-linux-su-2.39.3-1.8 [ 9s] [103/112] keeping python3-devel-3.12.0-1.11 [ 9s] [104/112] keeping python3-setuptools-69.0.2-1.5 [ 9s] [105/112] keeping libxcrypt-devel-4.4.36-1.10 [ 9s] [106/112] keeping nss-3.98-1.13 [ 9s] [107/112] keeping glibc-devel-2.40-1.1 [ 9s] [108/112] keeping libsoftokn3-3.98-1.13 [ 9s] [109/112] keeping rpm-4.14.1.1-1.12 [ 9s] [110/112] cumulate zlib-devel-1.3.1-1.4 [ 9s] [111/112] keeping rpm-build-4.14.1.1-1.12 [ 9s] [112/112] cumulate libopenssl3-devel-3.0.13-1.12 [ 9s] now installing cumulated packages [ 10s] Preparing... ######################################## [ 10s] Updating / installing... [ 10s] zlib-devel-1.3.1-1.4 ######################################## [ 10s] libopenssl3-devel-3.0.13-1.12 ######################################## [ 10s] bc-1.06-1.1 ######################################## [ 10s] swig-4.0.2-0 ######################################## [ 10s] bison-3.0.5-1.10 ######################################## [ 10s] flex-2.6.4-1.10 ######################################## [ 10s] opensbi-1.5-0 ######################################## [ 10s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.27/etc/nsswitch.conf... [ 10s] now finalizing build dir... [ 12s] ----------------------------------------------------------------- [ 12s] ----- building u-boot-lpi4a-16g.spec (user abuild) [ 12s] ----------------------------------------------------------------- [ 12s] ----------------------------------------------------------------- [ 12s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j32' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec [ 12s] Building target platforms: riscv64-tizen-linux [ 12s] Building for target riscv64-tizen-linux [ 12s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mz3alk [ 12s] + umask 022 [ 12s] + cd /home/abuild/rpmbuild/BUILD [ 12s] + cd /home/abuild/rpmbuild/BUILD [ 12s] + rm -rf u-boot-2020.01 [ 12s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 12s] + /bin/tar -xof - [ 19s] + STATUS=0 [ 19s] + '[' 0 -ne 0 ']' [ 19s] + cd u-boot-2020.01 [ 19s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 19s] + exit 0 [ 19s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9sadZw [ 19s] + umask 022 [ 19s] + cd /home/abuild/rpmbuild/BUILD [ 19s] + cd u-boot-2020.01 [ 19s] + ref=/usr/lib/rpm [ 19s] + mints=0 [ 19s] + case $(uname -m) in [ 19s] ++ uname -m [ 19s] + mints=20160911 [ 19s] + for s in guess sub [ 19s] ++ find -maxdepth 8 -name config.guess [ 19s] + for s in guess sub [ 19s] ++ find -maxdepth 8 -name config.sub [ 19s] + LANG=C [ 19s] + export LANG [ 19s] + unset DISPLAY [ 19s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 19s] + export CFLAGS [ 19s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 19s] + export CXXFLAGS [ 19s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir' [ 19s] + export FFLAGS [ 19s] + LDFLAGS= [ 19s] + export LDFLAGS [ 19s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-16g.manifest . [ 19s] + CONFIG=tizen_lpi4a_16g_defconfig [ 19s] + make mrproper [ 22s] + make tizen_lpi4a_16g_defconfig [ 22s] HOSTCC scripts/basic/fixdep [ 23s] HOSTCC scripts/kconfig/conf.o [ 23s] YACC scripts/kconfig/zconf.tab.c [ 23s] LEX scripts/kconfig/zconf.lex.c [ 24s] HOSTCC scripts/kconfig/zconf.tab.o [ 27s] HOSTLD scripts/kconfig/conf [ 28s] # [ 28s] # configuration written to .config [ 28s] # [ 28s] + make -j8 'HOSTCC=gcc -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' HOSTSTRIP=/bin/true tools [ 29s] HOSTCC scripts/basic/fixdep [ 30s] HOSTCC scripts/kconfig/conf.o [ 30s] HOSTCC scripts/kconfig/zconf.tab.o [ 34s] HOSTLD scripts/kconfig/conf [ 34s] scripts/kconfig/conf --syncconfig Kconfig [ 34s] CHK include/config.h [ 34s] UPD include/config.h [ 34s] CFG u-boot.cfg [ 34s] GEN include/autoconf.mk.dep [ 34s] CFG spl/u-boot.cfg [ 34s] GEN include/autoconf.mk [ 34s] GEN spl/include/autoconf.mk [ 36s] CHK include/config/uboot.release [ 36s] CHK include/generated/timestamp_autogenerated.h [ 36s] HOSTCC scripts/basic/fixdep [ 36s] UPD include/config/uboot.release [ 36s] CHK include/generated/version_autogenerated.h [ 36s] UPD include/generated/version_autogenerated.h [ 36s] UPD include/generated/timestamp_autogenerated.h [ 36s] CC lib/asm-offsets.s [ 36s] CC arch/riscv/lib/asm-offsets.s [ 36s] In file included from include/linux/bitops.h:136, [ 36s] from include/common.h:26, [ 36s] from arch/riscv/lib/asm-offsets.c:11: [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 36s] 98 | out = __test_and_clear_bit(nr, addr); [ 36s] | ^~~~ [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 36s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 36s] | ~~~~~~^~~~ [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 36s] 95 | unsigned long flags = 0; [ 36s] | ^~~~~ [ 36s] In file included from include/linux/bitops.h:136, [ 36s] from include/common.h:26, [ 36s] from lib/asm-offsets.c:14: [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 36s] 98 | out = __test_and_clear_bit(nr, addr); [ 36s] | ^~~~ [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 36s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 36s] | ~~~~~~^~~~ [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 36s] 95 | unsigned long flags = 0; [ 36s] | ^~~~~ [ 36s] HOSTCC scripts/dtc/dtc.o [ 36s] HOSTCC scripts/dtc/flattree.o [ 36s] HOSTCC scripts/dtc/fstree.o [ 36s] HOSTCC scripts/dtc/data.o [ 36s] HOSTCC scripts/dtc/livetree.o [ 36s] HOSTCC scripts/dtc/treesource.o [ 36s] HOSTCC scripts/dtc/srcpos.o [ 36s] CHK include/generated/asm-offsets.h [ 36s] UPD include/generated/asm-offsets.h [ 36s] CHK include/generated/generic-asm-offsets.h [ 36s] UPD include/generated/generic-asm-offsets.h [ 36s] HOSTCC scripts/dtc/checks.o [ 36s] HOSTCC scripts/dtc/util.o [ 36s] LEX scripts/dtc/dtc-lexer.lex.c [ 36s] YACC scripts/dtc/dtc-parser.tab.h [ 36s] YACC scripts/dtc/dtc-parser.tab.c [ 36s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 36s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 37s] HOSTLD scripts/dtc/dtc [ 37s] HOSTCC tools/gen_eth_addr [ 37s] HOSTCC tools/bmp_logo [ 37s] HOSTCC tools/gen_ethaddr_crc.o [ 37s] WRAP tools/lib/crc8.c [ 37s] HOSTCC tools/img2srec [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 37s] HOSTCC tools/mkenvimage.o [ 37s] WRAP tools/lib/crc32.c [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 37s] HOSTCC tools/os_support.o [ 37s] HOSTCC tools/aisimage.o [ 37s] HOSTCC tools/atmelimage.o [ 37s] WRAP tools/common/bootm.c [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 37s] HOSTCC tools/lib/crc32.o [ 37s] HOSTCC tools/default_image.o [ 37s] WRAP tools/lib/fdtdec_common.c [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 37s] WRAP tools/lib/fdtdec.c [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 37s] WRAP tools/common/image.c [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 37s] HOSTCC tools/imagetool.o [ 37s] HOSTCC tools/imximage.o [ 37s] HOSTCC tools/imx8image.o [ 37s] HOSTCC tools/imx8mimage.o [ 37s] HOSTCC tools/kwbimage.o [ 37s] WRAP tools/lib/md5.c [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/md5.c'. [ 38s] HOSTCC tools/lpc32xximage.o [ 38s] HOSTCC tools/mxsimage.o [ 38s] HOSTCC tools/omapimage.o [ 38s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 38s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 38s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 38s] 251 | int zero = 0; [ 38s] | ^~~~ [ 38s] In file included from tools/imagetool.h:21, [ 38s] from tools/imx8mimage.c:9: [ 38s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 38s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 38s] | ^~~~~ [ 38s] HOSTCC tools/pblimage.o [ 38s] HOSTCC tools/pbl_crc32.o [ 38s] tools/imx8image.c: In function 'copy_file.constprop': [ 38s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 38s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 38s] 367 | int zero = 0; [ 38s] | ^~~~ [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 38s] from include/imx8image.h:13, [ 38s] from tools/imx8image.c:8: [ 38s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 38s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 38s] | ^~~~~ [ 38s] HOSTCC tools/vybridimage.o [ 38s] HOSTCC tools/stm32image.o [ 38s] WRAP tools/lib/rc4.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/rc4.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/rc4.c'. [ 38s] HOSTCC tools/rkcommon.o [ 38s] HOSTCC tools/rkimage.o [ 38s] HOSTCC tools/rksd.o [ 38s] HOSTCC tools/rkspi.o [ 38s] HOSTCC tools/socfpgaimage.o [ 38s] WRAP tools/lib/crc16.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc16.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc16.c'. [ 38s] WRAP tools/lib/sha1.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha1.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha1.c'. [ 38s] WRAP tools/lib/sha256.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha256.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha256.c'. [ 38s] WRAP tools/common/hash.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/hash.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/hash.c'. [ 38s] HOSTCC tools/ublimage.o [ 38s] HOSTCC tools/zynqimage.o [ 38s] HOSTCC tools/zynqmpimage.o [ 38s] HOSTCC tools/libfdt/fdt.o [ 38s] HOSTCC tools/zynqmpbif.o [ 38s] HOSTCC tools/libfdt/fdt_wip.o [ 38s] HOSTCC tools/libfdt/fdt_sw.o [ 38s] HOSTCC tools/libfdt/fdt_rw.o [ 38s] HOSTCC tools/libfdt/fdt_strerror.o [ 38s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 38s] HOSTCC tools/libfdt/fdt_addresses.o [ 38s] HOSTCC tools/libfdt/fdt_overlay.o [ 38s] WRAP tools/lib/libfdt/fdt_ro.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/libfdt/fdt_ro.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/libfdt/fdt_ro.c'. [ 38s] WRAP tools/lib/libfdt/fdt_region.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/libfdt/fdt_region.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/libfdt/fdt_region.c'. [ 38s] HOSTCC tools/gpimage.o [ 38s] HOSTCC tools/gpimage-common.o [ 38s] HOSTCC tools/mtk_image.o [ 38s] HOSTCC tools/dumpimage.o [ 38s] HOSTCC tools/common/bootm.o [ 38s] HOSTCC tools/lib/fdtdec_common.o [ 39s] HOSTCC tools/lib/fdtdec.o [ 39s] HOSTCC tools/common/image.o [ 39s] HOSTCC tools/lib/md5.o [ 39s] HOSTCC tools/lib/rc4.o [ 39s] HOSTCC tools/lib/crc16.o [ 39s] HOSTCC tools/lib/sha1.o [ 39s] HOSTCC tools/lib/sha256.o [ 39s] HOSTCC tools/common/hash.o [ 39s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 39s] HOSTCC tools/lib/libfdt/fdt_region.o [ 39s] HOSTCC tools/mkimage.o [ 39s] HOSTCC tools/proftool [ 39s] HOSTCC tools/prelink-riscv [ 39s] HOSTCC tools/fdtgrep.o [ 39s] HOSTCC tools/spl_size_limit [ 39s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 39s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 39s] HOSTCC tools/lib/crc8.o [ 39s] HOSTLD tools/mkenvimage [ 39s] HOSTLD tools/gen_ethaddr_crc [ 40s] HOSTLD tools/fdtgrep [ 41s] HOSTLD tools/dumpimage [ 41s] HOSTLD tools/mkimage [ 41s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 41s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 41s] ++ echo platform/kernel/u-boot-thead#2798bead8cc5bbd8856e04485abbc79889d32839 [ 41s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 41s] + make -j8 EXTRAVERSION=-g2798bead8-TIZEN.org [ 42s] HOSTCC scripts/basic/fixdep [ 43s] HOSTCC scripts/kconfig/conf.o [ 44s] HOSTCC scripts/kconfig/zconf.tab.o [ 48s] HOSTLD scripts/kconfig/conf [ 48s] scripts/kconfig/conf --syncconfig Kconfig [ 48s] CHK include/config.h [ 48s] CFG u-boot.cfg [ 48s] GEN include/autoconf.mk.dep [ 48s] CFG spl/u-boot.cfg [ 48s] GEN include/autoconf.mk [ 48s] GEN spl/include/autoconf.mk [ 50s] CHK include/config/uboot.release [ 50s] CHK include/generated/timestamp_autogenerated.h [ 51s] UPD include/config/uboot.release [ 51s] UPD include/generated/timestamp_autogenerated.h [ 51s] CHK include/generated/version_autogenerated.h [ 51s] HOSTCC scripts/dtc/dtc.o [ 51s] HOSTCC scripts/dtc/flattree.o [ 51s] UPD include/generated/version_autogenerated.h [ 51s] HOSTCC scripts/dtc/fstree.o [ 51s] HOSTCC scripts/dtc/data.o [ 51s] HOSTCC scripts/dtc/treesource.o [ 51s] HOSTCC scripts/dtc/srcpos.o [ 51s] HOSTCC scripts/dtc/livetree.o [ 51s] HOSTCC scripts/dtc/checks.o [ 51s] HOSTCC scripts/dtc/util.o [ 51s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 51s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 51s] CC lib/asm-offsets.s [ 51s] CC arch/riscv/lib/asm-offsets.s [ 51s] In file included from include/linux/bitops.h:136, [ 51s] from include/common.h:26, [ 51s] from arch/riscv/lib/asm-offsets.c:11: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 51s] 98 | out = __test_and_clear_bit(nr, addr); [ 51s] | ^~~~ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 51s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 51s] | ~~~~~~^~~~ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 51s] 95 | unsigned long flags = 0; [ 51s] | ^~~~~ [ 51s] In file included from include/linux/bitops.h:136, [ 51s] from include/common.h:26, [ 51s] from lib/asm-offsets.c:14: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 51s] 98 | out = __test_and_clear_bit(nr, addr); [ 51s] | ^~~~ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 51s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 51s] | ~~~~~~^~~~ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 51s] 95 | unsigned long flags = 0; [ 51s] | ^~~~~ [ 52s] CHK include/generated/generic-asm-offsets.h [ 52s] CHK include/generated/asm-offsets.h [ 52s] LDS u-boot.lds [ 52s] HOSTLD scripts/dtc/dtc [ 52s] HOSTCC tools/bmp_logo [ 52s] HOSTCC tools/gen_eth_addr [ 52s] HOSTCC tools/gen_ethaddr_crc.o [ 52s] HOSTCC tools/lib/crc8.o [ 52s] HOSTCC tools/img2srec [ 52s] HOSTCC tools/mkenvimage.o [ 52s] HOSTCC tools/os_support.o [ 52s] HOSTCC tools/lib/crc32.o [ 52s] HOSTCC tools/aisimage.o [ 52s] HOSTCC tools/atmelimage.o [ 52s] HOSTCC tools/common/bootm.o [ 52s] HOSTCC tools/default_image.o [ 52s] HOSTCC tools/lib/fdtdec_common.o [ 52s] HOSTCC tools/lib/fdtdec.o [ 52s] HOSTCC tools/common/image.o [ 53s] In file included from tools/default_image.c:20: [ 53s] In function 'image_set_name', [ 53s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 53s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 53s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 53s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 53s] HOSTCC tools/imagetool.o [ 53s] HOSTCC tools/imximage.o [ 53s] HOSTCC tools/imx8image.o [ 53s] HOSTCC tools/imx8mimage.o [ 53s] HOSTCC tools/kwbimage.o [ 53s] HOSTCC tools/lib/md5.o [ 53s] HOSTCC tools/lpc32xximage.o [ 53s] HOSTCC tools/mxsimage.o [ 53s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 53s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 53s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 53s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 53s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 53s] 251 | int zero = 0; [ 53s] | ^~~~ [ 53s] In file included from tools/imagetool.h:21, [ 53s] from tools/imx8mimage.c:9: [ 53s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 53s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 53s] | ^~~~~ [ 53s] tools/imx8image.c: In function 'copy_file.constprop': [ 53s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 53s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 53s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 53s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 53s] 367 | int zero = 0; [ 53s] | ^~~~ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 53s] from include/imx8image.h:13, [ 53s] from tools/imx8image.c:8: [ 53s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 53s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 53s] | ^~~~~ [ 53s] HOSTCC tools/omapimage.o [ 53s] HOSTCC tools/pblimage.o [ 53s] HOSTCC tools/pbl_crc32.o [ 53s] HOSTCC tools/vybridimage.o [ 53s] HOSTCC tools/stm32image.o [ 53s] HOSTCC tools/lib/rc4.o [ 53s] HOSTCC tools/rkcommon.o [ 53s] HOSTCC tools/rkimage.o [ 53s] HOSTCC tools/rksd.o [ 53s] HOSTCC tools/rkspi.o [ 53s] HOSTCC tools/socfpgaimage.o [ 53s] HOSTCC tools/lib/crc16.o [ 53s] HOSTCC tools/lib/sha1.o [ 53s] HOSTCC tools/lib/sha256.o [ 53s] HOSTCC tools/common/hash.o [ 53s] HOSTCC tools/ublimage.o [ 53s] HOSTCC tools/zynqimage.o [ 53s] HOSTCC tools/zynqmpimage.o [ 53s] HOSTCC tools/zynqmpbif.o [ 54s] HOSTCC tools/libfdt/fdt.o [ 54s] HOSTCC tools/libfdt/fdt_wip.o [ 54s] HOSTCC tools/libfdt/fdt_sw.o [ 54s] HOSTCC tools/libfdt/fdt_rw.o [ 54s] HOSTCC tools/libfdt/fdt_strerror.o [ 54s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 54s] HOSTCC tools/libfdt/fdt_addresses.o [ 54s] HOSTCC tools/libfdt/fdt_overlay.o [ 54s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 54s] HOSTCC tools/lib/libfdt/fdt_region.o [ 54s] HOSTCC tools/gpimage.o [ 54s] HOSTCC tools/gpimage-common.o [ 54s] HOSTCC tools/mtk_image.o [ 54s] HOSTCC tools/dumpimage.o [ 54s] HOSTCC tools/mkimage.o [ 54s] HOSTCC tools/proftool [ 54s] HOSTCC tools/prelink-riscv [ 54s] HOSTCC tools/fdtgrep.o [ 54s] HOSTCC tools/spl_size_limit [ 54s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 54s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 54s] HOSTLD tools/gen_ethaddr_crc [ 54s] HOSTLD tools/mkenvimage [ 55s] HOSTLD tools/fdtgrep [ 56s] HOSTLD tools/dumpimage [ 56s] HOSTLD tools/mkimage [ 56s] CC arch/riscv/cpu/cpu.o [ 56s] AS arch/riscv/cpu/mtrap.o [ 56s] AS arch/riscv/cpu/start.o [ 56s] CC arch/riscv/cpu/c9xx/dram.o [ 56s] CC arch/riscv/cpu/c9xx/cpu.o [ 56s] CC board/thead/common/board_common.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/cpu/cpu.c:6: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/cpu/c9xx/dram.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from board/thead/common/board_common.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] CC arch/riscv/lib/bootm.o [ 56s] CC board/thead/light-c910/light.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/lib/bootm.c:9: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] CC arch/riscv/cpu/c9xx/feature.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from board/thead/light-c910/light.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/cpu/c9xx/feature.c:1: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] arch/riscv/lib/bootm.c: At top level: [ 56s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 56s] 34 | extern void secondary_entry(); [ 56s] | ^~~~~~ [ 56s] board/thead/light-c910/light.c: In function 'do_board_check_hibernate': [ 56s] board/thead/light-c910/light.c:2563:14: warning: variable 'fastresume' set but not used [-Wunused-but-set-variable] [ 56s] 2563 | bool fastresume = 0; [ 56s] | ^~~~~~~~~~ [ 56s] board/thead/light-c910/light.c: In function 'do_fixup_memory_region': [ 56s] board/thead/light-c910/light.c:2728:90: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] [ 56s] 2728 | printf("fixup memory region from [0x%09lx ~ 0x%09lx] to [0x%09lx ~ 0x%09lx]\n", [ 56s] | ~~~~^ [ 56s] | | [ 56s] | long unsigned int [ 56s] | %09llx [ 56s] 2729 | gd->ram_base, gd->ram_base+gd->ram_size, gd->ram_base, gd->ram_base+size); [ 56s] | ~~~~~~~~~~~~~~~~~ [ 56s] | | [ 56s] | long long unsigned int [ 56s] board/thead/light-c910/light.c:2709:13: warning: variable 'base' set but not used [-Wunused-but-set-variable] [ 56s] 2709 | u64 base, size; [ 56s] | ^~~~ [ 56s] LD board/thead/common/built-in.o [ 56s] CC board/thead/light-c910/board.o [ 56s] CC arch/riscv/lib/image.o [ 56s] CC arch/riscv/lib/boot.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from board/thead/light-c910/board.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] LD arch/riscv/cpu/built-in.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/lib/image.c:9: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] LD arch/riscv/cpu/c9xx/built-in.o [ 56s] CC arch/riscv/lib/cache.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/lib/boot.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] CC arch/riscv/lib/thead_ipi.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/lib/cache.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 56s] board/thead/light-c910/board.c:283:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 56s] 283 | int sc_err = SC_FAIL; [ 56s] | ^~~~~~ [ 56s] LD cmd/riscv/built-in.o [ 56s] CC arch/riscv/lib/rdtime.o [ 56s] CC cmd/boot.o [ 56s] CC disk/part.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from cmd/boot.c:10: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] CC disk/part_efi.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/lib/rdtime.c:10: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from disk/part.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from disk/part_efi.c:13: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] CC board/thead/light-c910/clock_config.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from board/thead/light-c910/clock_config.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] CC arch/riscv/lib/interrupts.o [ 56s] CC arch/riscv/lib/reset.o [ 56s] CC cmd/bootm.o [ 56s] CC common/main.o [ 56s] CC common/init/board_init.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/lib/interrupts.c:10: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from arch/riscv/lib/reset.c:6: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from cmd/bootm.c:10: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from common/main.c:9: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from common/init/board_init.c:9: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] CC common/exports.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from common/exports.c:1: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] CC cmd/help.o [ 56s] LD common/init/built-in.o [ 56s] CC cmd/version.o [ 56s] CC common/hash.o [ 56s] AS arch/riscv/lib/setjmp.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from cmd/version.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from cmd/help.c:7: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 56s] 98 | out = __test_and_clear_bit(nr, addr); [ 56s] | ^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 56s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 56s] | ~~~~~~^~~~ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 56s] 95 | unsigned long flags = 0; [ 56s] | ^~~~~ [ 57s] CC common/cli_hush.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/hash.c:13: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/cli_hush.c:78: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC arch/riscv/lib/smp.o [ 57s] CC board/thead/light-c910/sec_check.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from arch/riscv/lib/smp.c:7: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC board/thead/light-c910/boot.o [ 57s] CC board/thead/light-c910/sbmeta/sbmeta.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from board/thead/light-c910/boot.c:3: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from board/thead/light-c910/sec_check.c:7: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] LD disk/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from board/thead/light-c910/sbmeta/sbmeta.h:9, [ 57s] from board/thead/light-c910/sbmeta/sbmeta.c:6: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC cmd/blk_common.o [ 57s] CC arch/riscv/lib/locks.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/blk_common.c:11: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 57s] CC cmd/source.o [ 57s] CC cmd/bdinfo.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/source.c:17: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] LD arch/riscv/lib/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/bdinfo.c:10: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC board/thead/light-c910/lpddr4/src/ddr_retention.o [ 57s] CC common/autoboot.o [ 57s] LD drivers/dma/ti/built-in.o [ 57s] LD drivers/adc/built-in.o [ 57s] LD drivers/dma/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/autoboot.c:7: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] LD drivers/ata/built-in.o [ 57s] LD drivers/axi/built-in.o [ 57s] CC drivers/block/blk-uclass.o [ 57s] CC drivers/gpio/dwapb_gpio.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/block/blk-uclass.c:7: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC cmd/blkcache.o [ 57s] CC drivers/block/blkcache.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/gpio/dwapb_gpio.c:8: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/block/blkcache.c:8: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/blkcache.c:8: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC cmd/bmp.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/bmp.c:11: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] LD drivers/board/built-in.o [ 57s] CC common/board_f.o [ 57s] LD drivers/cache/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/board_f.c:12: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC common/board_r.o [ 57s] CC common/board_info.o [ 57s] CC drivers/gpio/gpio-uclass.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/board_r.c:12: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] LD drivers/clk/analogbits/built-in.o [ 57s] LD drivers/clk/imx/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/board_info.c:3: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/gpio/gpio-uclass.c:6: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] LD drivers/clk/tegra/built-in.o [ 57s] CC drivers/clk/clk-uclass.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/clk/clk-uclass.c:9: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC cmd/booti.o [ 57s] LD drivers/block/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/booti.c:7: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC board/thead/light-c910/light-sv/pll_io_test.o [ 57s] CC common/bootm.o [ 57s] CC drivers/i2c/i2c-uclass.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/bootm.c:8: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from board/thead/light-c910/light-sv/pll_io_test.c:6: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/i2c/i2c-uclass.c:6: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 57s] CC cmd/console.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/console.c:10: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 57s] 98 | out = __test_and_clear_bit(nr, addr); [ 57s] | ^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 57s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 57s] | ~~~~~~^~~~ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 57s] 95 | unsigned long flags = 0; [ 57s] | ^~~~~ [ 58s] CC board/thead/light-c910/light-sv/adc_test.o [ 58s] CC drivers/core/device.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/core/device.c:11: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC common/bootm_os.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/bootm_os.c:7: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC cmd/cpu.o [ 58s] CC drivers/clk/clk_fixed_rate.o [ 58s] CC drivers/gpio/pca953x_gpio.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/clk/clk_fixed_rate.c:6: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/cpu.c:8: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC board/thead/light-c910/version_rollback.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/gpio/pca953x_gpio.c:22: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from board/thead/light-c910/version_rollback.c:7: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC common/fdt_support.o [ 58s] CC drivers/i2c/designware_i2c.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/fdt_support.c:9: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/i2c/designware_i2c.c:8: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC drivers/clk/clk_fixed_factor.o [ 58s] CC common/miiphyutil.o [ 58s] CC cmd/dm.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/miiphyutil.c:12: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/clk/clk_fixed_factor.c:8: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/dm.c:9: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] LD board/thead/light-c910/built-in.o [ 58s] CC drivers/core/fdtaddr.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/core/fdtaddr.c:11: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] LD drivers/gpio/built-in.o [ 58s] LD drivers/net/mscc_eswitch/built-in.o [ 58s] CC drivers/core/lists.o [ 58s] LD drivers/net/ti/built-in.o [ 58s] LD drivers/clk/built-in.o [ 58s] CC drivers/net/designware.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/core/lists.c:11: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC cmd/echo.o [ 58s] CC drivers/net/phy/phy.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/net/designware.c:11: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/net/phy/phy.c:10: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] LD drivers/i2c/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/echo.c:7: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC drivers/cpu/cpu-uclass.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/cpu/cpu-uclass.c:7: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC drivers/crypto/fsl/sec.o [ 58s] CC common/usb.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/usb.c:28: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/crypto/fsl/sec.c:6: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC drivers/core/root.o [ 58s] CC cmd/elf.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/core/root.c:9: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] LD drivers/crypto/fsl/built-in.o [ 58s] LD drivers/crypto/rsa_mod_exp/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/elf.c:16: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] LD drivers/crypto/built-in.o [ 58s] CC drivers/cpu/riscv_cpu.o [ 58s] CC common/usb_hub.o [ 58s] CC common/iomux.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/cpu/riscv_cpu.c:6: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/usb_hub.c:24: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] LD drivers/net/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/iomux.c:7: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 58s] 98 | out = __test_and_clear_bit(nr, addr); [ 58s] | ^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 58s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 58s] | ~~~~~~^~~~ [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 58s] 95 | unsigned long flags = 0; [ 58s] | ^~~~~ [ 58s] CC drivers/net/phy/marvell.o [ 59s] LD drivers/dfu/built-in.o [ 59s] CC cmd/exit.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/net/phy/marvell.c:8: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC drivers/core/uclass.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/core/uclass.c:11: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] LD drivers/cpu/built-in.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from cmd/exit.c:7: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC common/splash.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from common/splash.c:23: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC drivers/core/util.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/core/util.c:6: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC cmd/ext4.o [ 59s] CC drivers/net/phy/realtek.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from cmd/ext4.c:28: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC drivers/core/device-remove.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/core/device-remove.c:11: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/net/phy/realtek.c:9: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] LD drivers/power/built-in.o [ 59s] CC common/menu.o [ 59s] CC drivers/fastboot/fb_common.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from common/menu.c:7: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC common/cli_readline.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/fastboot/fb_common.c:13: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC cmd/ext2.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from common/cli_readline.c:11: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC common/cli_simple.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from include/fs.h:8, [ 59s] from cmd/ext2.c:22: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC drivers/core/simple-bus.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from common/cli_simple.c:11: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/core/simple-bus.c:6: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC drivers/fastboot/fb_getvar.o [ 59s] CC drivers/net/phy/mscc.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from include/miiphy.h:17, [ 59s] from drivers/net/phy/mscc.c:12: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/fastboot/fb_getvar.c:6: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC cmd/fat.o [ 59s] CC drivers/fastboot/fb_command.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from cmd/fat.c:10: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/fastboot/fb_command.c:6: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC drivers/core/dump.o [ 59s] CC common/bouncebuf.o [ 59s] CC drivers/core/regmap.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from common/bouncebuf.c:8: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/core/dump.c:6: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/core/regmap.c:7: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC common/console.o [ 59s] CC cmd/fdt.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from common/console.c:7: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from cmd/fdt.c:10: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] CC drivers/fastboot/fb_mmc.o [ 59s] CC common/dlmalloc.o [ 59s] CC cmd/flash.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/fastboot/fb_mmc.c:7: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from common/dlmalloc.c:1: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from cmd/flash.c:10: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] LD drivers/power/battery/built-in.o [ 60s] LD drivers/net/phy/built-in.o [ 60s] CC drivers/core/syscon-uclass.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/core/syscon-uclass.c:7: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] CC drivers/core/of_extra.o [ 60s] LD drivers/power/domain/built-in.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/core/of_extra.c:7: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] CC common/malloc_simple.o [ 60s] CC cmd/fs.o [ 60s] CC common/image.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from common/malloc_simple.c:10: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] LD drivers/fastboot/built-in.o [ 60s] CC common/image-fdt.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from cmd/fs.c:8: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from common/image.c:10: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] CC common/memsize.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from common/image-fdt.c:11: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from common/memsize.c:7: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] CC drivers/core/ofnode.o [ 60s] CC common/stdio.o [ 60s] CC cmd/i2c.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from common/stdio.c:12: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/core/ofnode.c:7: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from cmd/i2c.c:67: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] CC drivers/core/read_extra.o [ 60s] CC drivers/input/key_matrix.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/input/key_matrix.c:9: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/core/read_extra.c:7: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] LD drivers/mailbox/built-in.o [ 60s] LD drivers/power/fuel_gauge/built-in.o [ 60s] LD drivers/memory/built-in.o [ 60s] CC drivers/misc/misc-uclass.o [ 60s] CC common/cli.o [ 60s] CC drivers/mmc/mmc.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from common/cli.c:11: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] LD drivers/input/built-in.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/misc/misc-uclass.c:6: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/mmc/mmc.c:10: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] CC drivers/misc/light_regu.o [ 60s] CC drivers/mmc/mmc-uclass.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/misc/light_regu.c:1: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] CC drivers/mtd/nand/spi/core.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/mmc/mmc-uclass.c:7: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/mtd/nand/spi/core.c:23: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] LD drivers/core/built-in.o [ 60s] CC common/command.o [ 60s] CC cmd/itest.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from common/command.c:11: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] CC drivers/mtd/nand/core.o [ 60s] common/command.c: At top level: [ 60s] common/command.c:582:20: warning: conflicting types for 'cmd_process' due to enum/integer mismatch; have 'enum command_ret_t(int, int, char * const*, int *, ulong *)' {aka 'enum command_ret_t(int, int, char * const*, int *, long unsigned int *)'} [-Wenum-int-mismatch] [ 60s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 60s] | ^~~~~~~~~~~ [ 60s] In file included from include/image.h:45, [ 60s] from include/common.h:40: [ 60s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 60s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 60s] | ^~~~~~~~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from cmd/itest.c:14: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/mtd/nand/core.c:12: [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 60s] 98 | out = __test_and_clear_bit(nr, addr); [ 60s] | ^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 60s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 60s] | ~~~~~~^~~~ [ 60s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 60s] 95 | unsigned long flags = 0; [ 60s] | ^~~~~ [ 61s] CC drivers/mmc/mmc_write.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mmc/mmc_write.c:10: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC cmd/load.o [ 61s] CC common/s_record.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from cmd/load.c:10: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from common/s_record.c:7: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC drivers/mtd/nand/bbt.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mtd/nand/bbt.c:12: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC drivers/mmc/mmc_boot.o [ 61s] CC common/xyzModem.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mmc/mmc_boot.c:7: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from common/xyzModem.c:24: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC drivers/mtd/nand/spi/gigadevice.o [ 61s] LD drivers/misc/built-in.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from include/linux/mtd/spinand.h:20, [ 61s] from drivers/mtd/nand/spi/gigadevice.c:13: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC drivers/mtd/nand/spi/macronix.o [ 61s] CC drivers/phy/phy-uclass.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/phy/phy-uclass.c:7: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC drivers/mmc/dw_mmc.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from include/linux/mtd/spinand.h:20, [ 61s] from drivers/mtd/nand/spi/macronix.c:12: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mmc/dw_mmc.c:9: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] LD drivers/power/mfd/built-in.o [ 61s] CC drivers/mmc/snps_dw_mmc.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mmc/snps_dw_mmc.c:10: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC cmd/mem.o [ 61s] CC cmd/mii.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from cmd/mem.c:13: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC drivers/mtd/nand/spi/micron.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from cmd/mii.c:11: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC cmd/mdio.o [ 61s] LD common/built-in.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from include/linux/mtd/spinand.h:20, [ 61s] from drivers/mtd/nand/spi/micron.c:13: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from cmd/mdio.c:11: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] LD drivers/phy/built-in.o [ 61s] CC drivers/mmc/rpmb.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mmc/rpmb.c:11: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] LD drivers/mtd/nand/nandcore.o [ 61s] LD drivers/mtd/onenand/built-in.o [ 61s] CC drivers/mmc/sdhci.o [ 61s] CC drivers/mmc/snps_sdhci.o [ 61s] CC drivers/mtd/nand/spi/winbond.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from include/linux/mtd/spinand.h:20, [ 61s] from drivers/mtd/nand/spi/winbond.c:14: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mmc/sdhci.c:10: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mmc/snps_sdhci.c:6: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] LD drivers/phy/allwinner/built-in.o [ 61s] CC drivers/mtd/spi/sf-uclass.o [ 61s] CC cmd/misc.o [ 61s] LD drivers/phy/marvell/built-in.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from drivers/mtd/spi/sf-uclass.c:6: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from cmd/misc.c:10: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] CC cmd/mmc.o [ 61s] CC drivers/mtd/mtdcore.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from include/ubi_uboot.h:17, [ 61s] from drivers/mtd/mtdcore.c:30: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from cmd/mmc.c:7: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 61s] 98 | out = __test_and_clear_bit(nr, addr); [ 61s] | ^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 61s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 61s] | ~~~~~~^~~~ [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 61s] 95 | unsigned long flags = 0; [ 61s] | ^~~~~ [ 61s] LD drivers/mtd/nand/spi/spinand.o [ 62s] LD drivers/pwm/built-in.o [ 62s] LD drivers/mtd/nand/spi/built-in.o [ 62s] CC drivers/mtd/mtd_uboot.o [ 62s] CC drivers/mtd/mtd-uclass.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/mtd/mtd_uboot.c:6: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] LD drivers/mtd/nand/built-in.o [ 62s] CC drivers/mtd/spi/sf_probe.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/mtd/mtd-uclass.c:6: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/mtd/spi/sf_probe.c:10: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] CC drivers/mtd/spi/spi-nor-ids.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/mtd/spi/spi-nor-ids.c:9: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] CC drivers/mtd/spi/spi-nor-core.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/mtd/spi/spi-nor-core.c:12: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] LD drivers/power/pmic/built-in.o [ 62s] LD drivers/mmc/built-in.o [ 62s] LD drivers/power/regulator/built-in.o [ 62s] LD drivers/reset/built-in.o [ 62s] CC drivers/mtd/mtdpart.o [ 62s] CC cmd/mtd.o [ 62s] LD drivers/scsi/built-in.o [ 62s] CC drivers/rtc/rtc-lib.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/mtd/mtdpart.c:20: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] CC cmd/legacy-mtd-utils.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/rtc/rtc-lib.c:13: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] LD drivers/smem/built-in.o [ 62s] CC cmd/net.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/mtd.c:12: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/legacy-mtd-utils.c:3: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/net.c:10: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] CC cmd/part.o [ 62s] LD drivers/soc/built-in.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/part.c:18: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] LD drivers/sound/built-in.o [ 62s] LD drivers/rtc/built-in.o [ 62s] LD drivers/spmi/built-in.o [ 62s] LD drivers/thermal/built-in.o [ 62s] CC cmd/pxe.o [ 62s] CC drivers/timer/timer-uclass.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/timer/timer-uclass.c:6: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/pxe.c:7: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] CC drivers/timer/riscv_timer.o [ 62s] CC cmd/pxe_utils.o [ 62s] LD drivers/mtd/spi/spi-nor.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/timer/riscv_timer.c:14: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] CC cmd/read.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/pxe_utils.c:7: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] LD drivers/mtd/spi/built-in.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/read.c:11: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] CC cmd/sf.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/sf.c:8: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] LD drivers/mtd/mtd.o [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] CC drivers/serial/serial-uclass.o [ 62s] LD drivers/timer/built-in.o [ 62s] LD drivers/mtd/built-in.o [ 62s] CC cmd/setexpr.o [ 62s] CC drivers/serial/ns16550.o [ 62s] CC cmd/spi.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/setexpr.c:11: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/serial/serial-uclass.c:6: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] LD drivers/ufs/built-in.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from drivers/serial/ns16550.c:7: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from cmd/spi.c:11: [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 62s] 98 | out = __test_and_clear_bit(nr, addr); [ 62s] | ^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 62s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 62s] | ~~~~~~^~~~ [ 62s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 62s] 95 | unsigned long flags = 0; [ 62s] | ^~~~~ [ 62s] LD drivers/watchdog/built-in.o [ 62s] CC cmd/sysboot.o [ 62s] CC drivers/video/bridge/video-bridge-uclass.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/sysboot.c:3: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/bridge/video-bridge-uclass.c:7: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/video/light/vs_dpu.o [ 63s] LD drivers/video/sunxi/built-in.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/light/vs_dpu.c:3: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/video/light/dw_dsi_light.o [ 63s] CC drivers/video/light/dw_dsi_host.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/light/dw_dsi_light.c:3: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/video/light/phy-dw-dphy.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/light/dw_dsi_host.c:3: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] LD drivers/serial/built-in.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/light/phy-dw-dphy.c:3: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC cmd/test.o [ 63s] CC drivers/spi/spi-uclass.o [ 63s] CC drivers/video/console_normal.o [ 63s] LD drivers/video/bridge/built-in.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/console_normal.c:10: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/spi/spi-uclass.c:6: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] LD drivers/usb/cdns3/built-in.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/test.c:7: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/video/backlight-uclass.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/backlight-uclass.c:7: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/video/dsi-host-uclass.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/dsi-host-uclass.c:8: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/video/panel-uclass.o [ 63s] CC drivers/video/simple_panel.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/simple_panel.c:7: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/panel-uclass.c:7: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/spi/spi-mem.o [ 63s] CC drivers/spi/designware_spi.o [ 63s] CC cmd/unzip.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from include/spi.h:12, [ 63s] from drivers/spi/spi-mem.c:14: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] LD drivers/video/light/built-in.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/unzip.c:7: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/spi/designware_spi.c:12: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC cmd/lzmadec.o [ 63s] LD drivers/usb/common/built-in.o [ 63s] CC cmd/fastboot.o [ 63s] CC drivers/video/video-uclass.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/lzmadec.c:12: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/fastboot.c:9: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/video-uclass.c:6: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/video/vidconsole-uclass.o [ 63s] CC drivers/video/video_bmp.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/vidconsole-uclass.c:10: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/video_bmp.c:6: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC cmd/usb_mass_storage.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/usb_mass_storage.c:10: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/spi/designware_qspi.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/spi/designware_qspi.c:12: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC cmd/ximg.o [ 63s] CC drivers/video/ilitek-ili9881c.o [ 63s] CC drivers/video/mipi_dsi.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/ximg.c:14: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/ilitek-ili9881c.c:3: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/video/mipi_dsi.c:35: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC cmd/gpt.o [ 63s] CC cmd/ddrscan.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/gpt.c:13: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] CC drivers/usb/dwc3/core.o [ 63s] LD drivers/usb/emul/built-in.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/ddrscan.c:11: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/usb/dwc3/core.c:16: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] LD drivers/usb/eth/built-in.o [ 63s] CC drivers/usb/gadget/epautoconf.o [ 63s] CC cmd/nvedit.o [ 63s] CC drivers/usb/gadget/config.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from drivers/usb/gadget/epautoconf.c:11: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from cmd/nvedit.c:26: [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 63s] 98 | out = __test_and_clear_bit(nr, addr); [ 63s] | ^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 63s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 63s] | ~~~~~~^~~~ [ 63s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 63s] 95 | unsigned long flags = 0; [ 63s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from drivers/usb/gadget/config.c:11: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] LD drivers/video/built-in.o [ 64s] LD drivers/spi/built-in.o [ 64s] CC drivers/usb/gadget/usbstring.o [ 64s] LD drivers/built-in.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from drivers/usb/gadget/usbstring.c:9: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC drivers/usb/gadget/g_dnl.o [ 64s] CC drivers/usb/gadget/f_mass_storage.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from drivers/usb/gadget/g_dnl.c:9: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC drivers/usb/gadget/udc/udc-core.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from drivers/usb/gadget/f_mass_storage.c:245: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 64s] from drivers/usb/gadget/udc/udc-core.c:19: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC drivers/usb/gadget/udc/udc-uclass.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from drivers/usb/gadget/udc/udc-uclass.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC drivers/usb/gadget/f_fastboot.o [ 64s] CC drivers/usb/dwc3/gadget.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from drivers/usb/gadget/f_fastboot.c:14: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC drivers/usb/dwc3/ep0.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from drivers/usb/dwc3/gadget.c:16: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from drivers/usb/dwc3/ep0.c:15: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] LD cmd/built-in.o [ 64s] LD drivers/usb/host/built-in.o [ 64s] LD drivers/usb/gadget/udc/built-in.o [ 64s] LD drivers/usb/musb/built-in.o [ 64s] LD drivers/usb/phy/built-in.o [ 64s] LD drivers/usb/ulpi/built-in.o [ 64s] DTC arch/riscv/dts/light-a-ref.dtb [ 64s] CC env/common.o [ 64s] CC fs/ext4/ext4fs.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from env/common.c:10: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] LD drivers/usb/musb-new/built-in.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from fs/ext4/ext4fs.c:23: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC env/env.o [ 64s] CC fs/fat/fat_write.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from env/env.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from fs/fat/fat_write.c:8: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC env/attr.o [ 64s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from env/attr.c:12: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] DTC arch/riscv/dts/light-b-ref.dtb [ 65s] CC fs/fs.o [ 65s] CC fs/ext4/ext4_common.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from fs/fs.c:8: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from fs/ext4/ext4_common.c:21: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC fs/fs_internal.o [ 65s] LD drivers/usb/gadget/built-in.o [ 65s] CC env/callback.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from fs/fs_internal.c:8: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] LD drivers/usb/dwc3/dwc3.o [ 65s] DTC arch/riscv/dts/light-a-val.dtb [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from env/callback.c:7: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] LD drivers/usb/dwc3/built-in.o [ 65s] CC env/flags.o [ 65s] arch/riscv/dts/light-a-val.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 65s] CC env/fat.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from env/flags.c:21: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from env/fat.c:9: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] DTC arch/riscv/dts/light-b-product.dtb [ 65s] CC fs/ext4/dev.o [ 65s] CC fs/ext4/ext4_write.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from fs/ext4/dev.c:25: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from fs/ext4/ext4_write.c:24: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] LD lib/crypto/built-in.o [ 65s] LD env/built-in.o [ 65s] CC lib/libfdt/fdt.o [ 65s] CC net/checksum.o [ 65s] CC fs/ext4/ext4_journal.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from fs/ext4/ext4_journal.c:16: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC net/arp.o [ 65s] DTC arch/riscv/dts/light-a-product.dtb [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from net/arp.c:12: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from net/checksum.c:10: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] LD fs/fat/built-in.o [ 65s] CC net/bootp.o [ 65s] DTC arch/riscv/dts/light-ant-ref.dtb [ 65s] CC lib/libfdt/fdt_wip.o [ 66s] CC net/eth-uclass.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from net/bootp.c:11: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC fs/ext4/crc16.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from net/eth-uclass.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from fs/ext4/crc16.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC net/eth_common.o [ 66s] CC lib/lzma/LzmaDec.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from net/eth_common.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC lib/libfdt/fdt_strerror.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from lib/lzma/LzmaDec.c:5: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] DTC arch/riscv/dts/light-beagle.dtb [ 66s] CC lib/libfdt/fdt_sw.o [ 66s] LD fs/ext4/built-in.o [ 66s] DTC arch/riscv/dts/light-b-power.dtb [ 66s] LD fs/built-in.o [ 66s] CC lib/zlib/zlib.o [ 66s] CC lib/lzma/LzmaTools.o [ 66s] DTC arch/riscv/dts/light-lpi4a.dtb [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from lib/lzma/LzmaTools.c:21: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from lib/zlib/zlib.c:15: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 66s] CC net/net.o [ 66s] arch/riscv/dts/light-lpi4a.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 66s] CC lib/libfdt/fdt_rw.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from net/net.c:90: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC lib/crc7.o [ 66s] CC net/nfs.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from net/nfs.c:29: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC lib/crc8.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from lib/crc8.c:9: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] LD lib/lzma/built-in.o [ 66s] CC lib/crc16.o [ 66s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from lib/crc16.c:28: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC lib/image-sparse.o [ 66s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/image-sparse.c:38: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] arch/riscv/dts/light-lpi4a-laptop.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 67s] CC lib/libfdt/fdt_empty_tree.o [ 67s] CC lib/ldiv.o [ 67s] CC lib/net_utils.o [ 67s] CC net/ping.o [ 67s] SHIPPED dts/dt.dtb [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/net_utils.c:12: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC net/tftp.o [ 67s] CC lib/libfdt/fdt_addresses.o [ 67s] DTB dts/dt.dtb.S [ 67s] CC lib/rc4.o [ 67s] AS dts/dt.dtb.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from net/ping.h:15, [ 67s] from net/ping.c:12: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] LD dts/built-in.o [ 67s] CC lib/libfdt/fdt_ro.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/rc4.c:11: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] LD lib/zlib/built-in.o [ 67s] CC lib/libfdt/fdt_region.o [ 67s] CC net/fastboot.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from net/tftp.c:9: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC lib/sha256.o [ 67s] CC lib/list_sort.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from net/fastboot.c:6: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/sha256.c:9: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/list_sort.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC lib/gunzip.o [ 67s] CC lib/fdtdec_common.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/gunzip.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/fdtdec_common.c:11: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC lib/fdtdec.o [ 67s] CC lib/qsort.o [ 67s] LD net/built-in.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/fdtdec.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/qsort.c:19: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC lib/hashtable.o [ 67s] CC lib/errno.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/hashtable.c:32: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC lib/display_options.o [ 67s] CC lib/crc32.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/crc32.c:15: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/display_options.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC lib/ctype.o [ 67s] LD lib/libfdt/built-in.o [ 67s] CC lib/div64.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/linux/math64.h:5, [ 67s] from lib/div64.c:22: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC lib/hang.o [ 67s] CC lib/linux_compat.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/hang.c:10: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/linux_compat.c:2: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC lib/linux_string.o [ 68s] CC lib/lmb.o [ 68s] CC lib/membuff.o [ 68s] CC lib/slre.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/membuff.c:9: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC lib/string.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/slre.c:23: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/lmb.c:9: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC lib/tables_csum.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/tables_csum.c:6: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC lib/time.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/time.c:7: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC lib/hexdump.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/hexdump.c:11: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC lib/uuid.o [ 68s] CC lib/rand.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/uuid.c:6: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC lib/panic.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/rand.c:10: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC lib/vsprintf.o [ 68s] CC lib/strto.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/panic.c:12: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/strto.c:12: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/vsprintf.c:16: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC lib/abuf.o [ 68s] CC lib/date.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/abuf.c:10: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from lib/date.c:7: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 69s] LD lib/built-in.o [ 69s] CC examples/standalone/hello_world.o [ 69s] CC examples/standalone/stubs.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from examples/standalone/hello_world.c:7: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from examples/standalone/stubs.c:1: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] LD examples/standalone/libstubs.o [ 69s] LD examples/standalone/hello_world [ 69s] OBJCOPY examples/standalone/hello_world.srec [ 69s] OBJCOPY examples/standalone/hello_world.bin [ 70s] LD u-boot [ 70s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 70s] OBJCOPY u-boot.srec [ 70s] OBJCOPY u-boot-nodtb.bin [ 70s] SYM u-boot.sym [ 70s] FDTGREP dts/dt-spl.dtb [ 70s] COPY u-boot.bin [ 70s] MKIMAGE u-boot.img [ 70s] CC spl/arch/riscv/cpu/cpu.o [ 70s] AS spl/arch/riscv/cpu/mtrap.o [ 70s] CC spl/arch/riscv/lib/bootm.o [ 71s] CC spl/common/init/board_init.o [ 71s] CC spl/board/thead/common/board_common.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/cpu/cpu.c:6: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/common/spl/spl.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/lib/bootm.c:9: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/init/board_init.c:9: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from board/thead/common/board_common.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/spl/spl.c:9: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] arch/riscv/lib/bootm.c: At top level: [ 71s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 71s] 34 | extern void secondary_entry(); [ 71s] | ^~~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/cpu/c9xx/dram.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/board/thead/light-c910/spl.o [ 71s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from board/thead/light-c910/spl.c:8: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 71s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 71s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 71s] | ^ [ 71s] LD spl/board/thead/common/built-in.o [ 71s] LD spl/common/init/built-in.o [ 71s] AS spl/arch/riscv/cpu/start.o [ 71s] CC spl/arch/riscv/lib/image.o [ 71s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 71s] CC spl/common/fdt_support.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/lib/image.c:9: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/cpu/c9xx/feature.c:1: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/fdt_support.c:9: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/arch/riscv/lib/boot.o [ 71s] LD spl/arch/riscv/cpu/built-in.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/lib/boot.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/arch/riscv/lib/cache.o [ 71s] CC spl/common/bouncebuf.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/lib/cache.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/bouncebuf.c:8: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/common/spl/spl_mmc.o [ 71s] CC spl/board/thead/light-c910/sys_clk.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/spl/spl_mmc.c:8: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from board/thead/light-c910/sys_clk.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/cmd/nvedit.o [ 71s] CC spl/env/common.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/nvedit.c:26: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from env/common.c:10: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/disk/part.o [ 71s] CC spl/arch/riscv/lib/thead_ipi.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from disk/part.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/common/spl/spl_ram.o [ 71s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 71s] CC spl/lib/libfdt/fdt.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/spl/spl_ram.c:12: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/arch/riscv/lib/rdtime.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from board/thead/light-c910/lpddr-regu/ddr_regu.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/lib/rdtime.c:10: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/env/env.o [ 71s] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 71s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 71s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 71s] | ^~~~~~~~~~~~~~ [ 71s] LD spl/cmd/built-in.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from env/env.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD spl/common/spl/built-in.o [ 71s] CC spl/arch/riscv/lib/interrupts.o [ 71s] CC spl/lib/libfdt/fdt_wip.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/lib/interrupts.c:10: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/disk/part_efi.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from disk/part_efi.c:13: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC spl/common/console.o [ 71s] LD spl/env/built-in.o [ 71s] CC spl/common/dlmalloc.o [ 71s] CC spl/drivers/block/blk-uclass.o [ 71s] CC spl/arch/riscv/lib/reset.o [ 71s] CC spl/lib/libfdt/fdt_strerror.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/console.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/block/blk-uclass.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from arch/riscv/lib/reset.c:6: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/dlmalloc.c:1: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD spl/drivers/clk/analogbits/built-in.o [ 71s] CC spl/lib/libfdt/fdt_sw.o [ 71s] LD spl/drivers/clk/imx/built-in.o [ 71s] AS spl/arch/riscv/lib/setjmp.o [ 71s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 71s] LD spl/drivers/clk/tegra/built-in.o [ 71s] CC spl/drivers/clk/clk-uclass.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/clk/clk-uclass.c:9: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/arch/riscv/lib/smp.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from arch/riscv/lib/smp.c:7: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 72s] CC spl/lib/libfdt/fdt_rw.o [ 72s] LD spl/drivers/block/built-in.o [ 72s] CC spl/common/malloc_simple.o [ 72s] LD spl/disk/built-in.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from common/malloc_simple.c:10: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/common/image.o [ 72s] CC spl/arch/riscv/lib/spl.o [ 72s] CC spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from common/image.c:10: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from arch/riscv/lib/spl.c:6: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] FDTGREP spl/dts/dt-spl.dtb [ 72s] CC spl/drivers/clk/clk_fixed_rate.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/clk/clk_fixed_rate.c:6: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/common/image-fdt.o [ 72s] DTB spl/dts/dt-spl.dtb.S [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from common/image-fdt.c:11: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/arch/riscv/lib/locks.o [ 72s] CC spl/board/thead/light-c910/lpddr4/src/ddr_retention.o [ 72s] AS spl/dts/dt-spl.dtb.o [ 72s] CC spl/lib/libfdt/fdt_empty_tree.o [ 72s] LD spl/dts/built-in.o [ 72s] CC spl/drivers/clk/clk_fixed_factor.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/clk/clk_fixed_factor.c:8: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/lib/libfdt/fdt_addresses.o [ 72s] CC spl/lib/libfdt/fdt_ro.o [ 72s] LD spl/arch/riscv/lib/built-in.o [ 72s] CC spl/lib/libfdt/fdt_region.o [ 72s] CC spl/common/memsize.o [ 72s] CC spl/fs/fs_internal.o [ 72s] CC spl/common/stdio.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from common/memsize.c:7: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from common/stdio.c:12: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from fs/fs_internal.c:8: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] LD spl/drivers/clk/built-in.o [ 72s] CC spl/drivers/core/device.o [ 72s] CC spl/drivers/cpu/cpu-uclass.o [ 72s] CC spl/drivers/cpu/riscv_cpu.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/core/device.c:11: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/cpu/cpu-uclass.c:7: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/cpu/riscv_cpu.c:6: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] LD spl/fs/built-in.o [ 72s] CC spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 72s] CC spl/common/cli.o [ 72s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from common/cli.c:11: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:8:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 72s] 8 | int dwc_ddrphy_phyinit_regInterface(); [ 72s] | ^~~ [ 72s] CC spl/lib/fdtdec_common.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from lib/fdtdec_common.c:11: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/drivers/core/fdtaddr.o [ 72s] LD spl/drivers/cpu/built-in.o [ 72s] LD spl/lib/libfdt/built-in.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/core/fdtaddr.c:11: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/common/command.o [ 72s] LD spl/drivers/mtd/built-in.o [ 72s] CC spl/drivers/mmc/mmc.o [ 72s] CC spl/drivers/mmc/mmc-uclass.o [ 72s] LDS spl/u-boot-spl.lds [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from common/command.c:11: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/mmc/mmc-uclass.c:7: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/mmc/mmc.c:10: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] common/command.c: At top level: [ 72s] common/command.c:582:20: warning: conflicting types for 'cmd_process' due to enum/integer mismatch; have 'enum command_ret_t(int, int, char * const*, int *, ulong *)' {aka 'enum command_ret_t(int, int, char * const*, int *, long unsigned int *)'} [-Wenum-int-mismatch] [ 72s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 72s] | ^~~~~~~~~~~ [ 72s] In file included from include/image.h:45, [ 72s] from include/common.h:40: [ 72s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 72s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 72s] | ^~~~~~~~~~~ [ 73s] CC spl/lib/fdtdec.o [ 73s] CC spl/drivers/serial/serial-uclass.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/serial/serial-uclass.c:6: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/fdtdec.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/lib/qsort.o [ 73s] CC spl/drivers/core/lists.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/qsort.c:19: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/lists.c:11: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/drivers/mmc/mmc_boot.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/mmc/mmc_boot.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/drivers/serial/ns16550.o [ 73s] CC spl/drivers/timer/timer-uclass.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/serial/ns16550.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/timer/timer-uclass.c:6: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/common/s_record.o [ 73s] CC spl/drivers/core/root.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from common/s_record.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/root.c:9: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/drivers/core/uclass.o [ 73s] LD spl/board/thead/light-c910/built-in.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/uclass.c:11: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/drivers/timer/riscv_timer.o [ 73s] CC spl/common/xyzModem.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/timer/riscv_timer.c:14: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/drivers/core/util.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from common/xyzModem.c:24: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/util.c:6: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] LD spl/drivers/serial/built-in.o [ 73s] CC spl/drivers/mmc/dw_mmc.o [ 73s] CC spl/drivers/core/simple-bus.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/mmc/dw_mmc.c:9: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/simple-bus.c:6: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] LD spl/drivers/timer/built-in.o [ 73s] CC spl/drivers/core/of_extra.o [ 73s] CC spl/drivers/core/dump.o [ 73s] CC spl/drivers/mmc/snps_dw_mmc.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/of_extra.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/dump.c:6: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/mmc/snps_dw_mmc.c:10: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/drivers/core/ofnode.o [ 73s] CC spl/lib/hashtable.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/ofnode.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] LD spl/common/built-in.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/hashtable.c:32: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/lib/errno.o [ 73s] CC spl/drivers/core/read_extra.o [ 73s] CC spl/lib/display_options.o [ 73s] CC spl/drivers/mmc/rpmb.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/core/read_extra.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/display_options.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/mmc/rpmb.c:11: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/drivers/mmc/sdhci.o [ 73s] CC spl/lib/crc32.o [ 73s] CC spl/lib/ctype.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from drivers/mmc/sdhci.c:10: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/crc32.c:15: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/lib/div64.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/linux/math64.h:5, [ 73s] from lib/div64.c:22: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/lib/hang.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/hang.c:10: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC spl/lib/linux_compat.o [ 73s] LD spl/drivers/core/built-in.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/linux_compat.c:2: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 74s] CC spl/drivers/mmc/snps_sdhci.o [ 74s] CC spl/lib/linux_string.o [ 74s] CC spl/lib/membuff.o [ 74s] CC spl/lib/slre.o [ 74s] CC spl/lib/lmb.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/lmb.c:9: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/membuff.c:9: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from drivers/mmc/snps_sdhci.c:6: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/slre.c:23: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC spl/lib/string.o [ 74s] CC spl/lib/tables_csum.o [ 74s] CC spl/lib/time.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/time.c:7: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC spl/lib/hexdump.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/tables_csum.c:6: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/hexdump.c:11: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC spl/lib/uuid.o [ 74s] CC spl/lib/rand.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/uuid.c:6: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] LD spl/drivers/mmc/built-in.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/rand.c:10: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC spl/lib/panic.o [ 74s] CC spl/lib/vsprintf.o [ 74s] LD spl/drivers/built-in.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/vsprintf.c:16: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/panic.c:12: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC spl/lib/strto.o [ 74s] CC spl/lib/abuf.o [ 74s] CC spl/lib/date.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/abuf.c:10: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/strto.c:12: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/date.c:7: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] LD spl/lib/built-in.o [ 75s] LD spl/u-boot-spl [ 75s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 75s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 75s] COPY spl/u-boot-spl.bin [ 75s] CAT u-boot-with-spl.bin [ 75s] ===================== WARNING ====================== [ 75s] This board does not use CONFIG_DM_USB. Please update [ 75s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 75s] Failure to update by the deadline may result in board removal. [ 75s] See doc/driver-model/MIGRATION.txt for more info. [ 75s] ==================================================== [ 75s] ===================== WARNING ====================== [ 75s] CONFIG_OF_EMBED is enabled. This option should only [ 75s] be used for debugging purposes. Please use [ 75s] CONFIG_OF_SEPARATE for boards in mainline. [ 75s] See doc/README.fdt-control for more info. [ 75s] ==================================================== [ 75s] CFGCHK u-boot.cfg [ 76s] + ./scripts/get_default_envs.sh [ 76s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 76s] + rm default_envs.txt [ 76s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 76s] Image Name: Tizen LicheePi4A Board Script [ 76s] Created: Sun Dec 29 04:55:03 2024 [ 76s] Image Type: RISC-V Linux Script (uncompressed) [ 76s] Data Size: 4261 Bytes = 4.16 KiB = 0.00 MiB [ 76s] Load Address: 00000000 [ 76s] Entry Point: 00000000 [ 76s] Contents: [ 76s] Image 0: 4253 Bytes = 4.15 KiB = 0.00 MiB [ 76s] + exit 0 [ 76s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Q3KtJl [ 76s] + umask 022 [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + cd u-boot-2020.01 [ 76s] + LANG=C [ 76s] + export LANG [ 76s] + unset DISPLAY [ 76s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 76s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 76s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 76s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot [ 76s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp [ 76s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 76s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 76s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 77s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 77s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 77s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 77s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 77s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 2020.01-0 --unique-debug-src-base u-boot-lpi4a-16g-2020.01-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/u-boot-2020.01 [ 77s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debuginfo.manifest [ 77s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debugsource.manifest [ 77s] + /usr/lib/rpm/check-buildroot [ 78s] + /usr/lib/rpm//brp-compress [ 78s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 78s] + /usr/lib/rpm/brp-python-hardlink [ 78s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 78s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 78s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 78s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 78s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 78s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 78s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 78s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 78s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 78s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 79s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 79s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 79s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 79s] Processing files: u-boot-lpi4a-16g-2020.01-0.riscv64 [ 79s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 79s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 79s] [ 79s] Provides: u-boot-lpi4a-16g = 2020.01-0 u-boot-lpi4a-16g(riscv-64) = 2020.01-0 [ 79s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 79s] Processing files: u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64 [ 79s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 79s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 79s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 79s] [ 79s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 81s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-lpi4a-16g-2020.01-0.src.rpm [ 84s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-2020.01-0.riscv64.rpm [ 84s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64.rpm [ 84s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MfeTY0 [ 84s] + umask 022 [ 84s] + cd /home/abuild/rpmbuild/BUILD [ 84s] + cd u-boot-2020.01 [ 84s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 84s] + exit 0 [ 84s] ... checking for files with abuild user/group [ 85s] ... creating baselibs [ 85s] [ 85s] ip-192-168-56-154 finished "build u-boot-lpi4a-16g.spec" at Sun Dec 29 04:55:12 UTC 2024. [ 85s]