[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.12 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-85 started "build u-boot-lpi4a-16g.spec" at Thu Dec 19 07:03:38 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_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/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.12/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.12/.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_20241215.110758/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_20241215.110758/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 [ 8s] deleting libtzplatform-config [ 8s] deleting libtzplatform-config-devel [ 8s] deleting tizen-platform-config [ 8s] [1/112] keeping libmagic-data-5.45-1.4 [ 8s] [2/112] cumulate opensbi-1.5-0 [ 8s] [3/112] keeping setup-0.9-1.1 [ 8s] [4/112] keeping filesystem-3.1-1.1 [ 8s] [5/112] keeping glibc-2.39-1.6 [ 8s] [6/112] keeping bash-3.2.57-1.1 [ 8s] [7/112] keeping cpio-2.8-1.1 [ 8s] [8/112] keeping diffutils-3.10-1.1 [ 8s] [9/112] keeping findutils-4.3.8-1.4 [ 8s] [10/112] keeping gdbm-1.8.3-1.6 [ 8s] [11/112] keeping hostname-3.23-1.1 [ 8s] [12/112] keeping libatomic-14.2.0-1.6 [ 8s] [13/112] keeping libattr-2.5.1-1.5 [ 8s] [14/112] keeping libblkid-2.39.3-1.4 [ 8s] [15/112] keeping libbz2-1.0.8-1.5 [ 8s] [16/112] cumulate libexpat-2.6.2-1.5 [ 8s] [17/112] cumulate libffi-3.4.2-1.5 [ 8s] [18/112] keeping libfreebl3-3.98-1.6 [ 8s] [19/112] keeping libgcc-14.2.0-1.6 [ 8s] [20/112] keeping libgomp-14.2.0-1.6 [ 8s] [21/112] keeping libitm-14.2.0-1.6 [ 8s] [22/112] keeping libltdl-2.4.7-1.6 [ 8s] [23/112] keeping liblua-5.1.5-1.4 [ 8s] [24/112] keeping liblzma-5.4.5-1.6 [ 8s] [25/112] keeping libopenssl3-3.0.13-1.6 [ 8s] [26/112] keeping libpcre-8.45-1.4 [ 8s] [27/112] keeping libpopt-1.16-1.4 [ 9s] [28/112] cumulate libpython3_121_0-3.12.0-1.5 [ 9s] [29/112] keeping libsmack-1.3.1-1.4 [ 9s] [30/112] keeping libsmartcols-2.39.3-1.4 [ 9s] [31/112] keeping libsqlite-3.44.0-1.5 [ 9s] [32/112] keeping libuuid-2.39.3-1.4 [ 9s] [33/112] keeping libxcrypt-4.4.36-1.5 [ 9s] [34/112] keeping libzstd1-1.5.5-1.5 [ 9s] [35/112] keeping m4-1.4.19-1.1 [ 9s] [36/112] keeping net-tools-2.0_20121208git-1.3 [ 9s] [37/112] keeping nspr-4.35-1.4 [ 9s] [38/112] keeping patch-2.7.6-1.4 [ 9s] [39/112] keeping pkg-config-0.29.2-1.5 [ 9s] [40/112] keeping sed-4.1c-1.4 [ 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.5 [ 9s] [44/112] keeping build-compare-2023.06.18-1.1 [ 9s] [45/112] keeping hal-rootstrap-checker-0.1.0-1.1 [ 9s] [46/112] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 9s] [47/112] keeping binutils-libs-2.43-1.6 [ 9s] [48/112] keeping coreutils-6.9-14.1 [ 9s] [49/112] keeping cpp-14.2.0-1.6 [ 9s] [50/112] cumulate flex-2.6.4-1.5 [ 9s] [51/112] keeping gawk-3.1.5-1.1 [ 9s] [52/112] keeping gcc-c++-14.2.0-1.6 [ 9s] [53/112] keeping grep-2.5.2-1.4 [ 9s] [54/112] keeping libacl-2.3.2-1.4 [ 9s] [55/112] keeping libcap-2.69-1.5 [ 9s] [56/112] keeping libelf-0.189-1.6 [ 9s] [57/112] keeping libgfortran-14.2.0-1.6 [ 9s] [58/112] keeping libmount-2.39.3-1.4 [ 9s] [59/112] keeping libstdc++-14.2.0-1.6 [ 9s] [60/112] keeping make-4.4-1.4 [ 9s] [61/112] keeping nss-certs-3.98-1.6 [ 9s] [62/112] keeping smack-1.3.1-1.4 [ 9s] [63/112] cumulate bison-3.0.5-1.5 [ 9s] [64/112] keeping bzip2-1.0.8-1.5 [ 9s] [65/112] keeping libfdisk-2.39.3-1.4 [ 9s] [66/112] keeping libmagic-5.45-1.4 [ 9s] [67/112] keeping libxml2-2.12.5-1.5 [ 9s] [68/112] keeping xz-5.4.5-1.6 [ 9s] [69/112] keeping perl-5.38.0-1.5 [ 9s] [70/112] keeping build-mkbaselibs-20120927-1.1 [ 9s] [71/112] keeping libstdc++-devel-14.2.0-1.6 [ 9s] [72/112] keeping linux-glibc-devel-6.6-1.5 [ 9s] [73/112] keeping binutils-2.43-1.6 [ 9s] [74/112] keeping file-5.45-1.4 [ 9s] [75/112] keeping tar-1.17-1.1 [ 9s] [76/112] keeping terminfo-base-full-6.4-1.6 [ 9s] [77/112] keeping autoconf-2.71-1.7 [ 9s] [78/112] keeping glibc-locale-2.39-1.6 [ 9s] [79/112] keeping gzip-1.3.12-1.4 [ 9s] [80/112] keeping libcc1-14.2.0-1.6 [ 9s] [81/112] keeping libubsan-14.2.0-1.6 [ 9s] [82/112] keeping pam-1.1.6-1.4 [ 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.6 [ 9s] [86/112] keeping libarchive-3.7.2-1.5 [ 9s] [87/112] keeping automake-1.16.5-1.6 [ 9s] [88/112] keeping libasm-0.189-1.6 [ 9s] [89/112] keeping libncurses6-6.4-1.6 [ 9s] [90/112] keeping build-20120927-1.1 [ 9s] [91/112] keeping gcc-14.2.0-1.6 [ 9s] [92/112] keeping libncurses-6.4-1.6 [ 9s] [93/112] keeping less-643-1.1 [ 9s] [94/112] keeping libreadline-5.2-1.5 [ 9s] [95/112] keeping qemu-accel-x86_64-riscv64-0.4-1.1 [ 9s] [96/112] keeping libtool-2.4.7-1.6 [ 9s] [97/112] keeping elfutils-0.189-1.6 [ 9s] [98/112] cumulate bc-1.06-1.1 [ 9s] [99/112] cumulate python3-base-3.12.0-1.5 [ 9s] [100/112] keeping util-linux-2.39.3-1.4 [ 9s] [101/112] cumulate python3-3.12.0-1.1 [ 9s] [102/112] keeping util-linux-su-2.39.3-1.4 [ 9s] [103/112] cumulate python3-devel-3.12.0-1.5 [ 9s] [104/112] cumulate python3-setuptools-69.0.2-1.1 [ 9s] [105/112] keeping libxcrypt-devel-4.4.36-1.5 [ 9s] [106/112] keeping nss-3.98-1.6 [ 9s] [107/112] keeping glibc-devel-2.39-1.6 [ 9s] [108/112] keeping libsoftokn3-3.98-1.6 [ 9s] [109/112] keeping rpm-4.14.1.1-1.6 [ 9s] [110/112] cumulate zlib-devel-1.3-1.5 [ 9s] [111/112] keeping rpm-build-4.14.1.1-1.6 [ 9s] [112/112] cumulate libopenssl3-devel-3.0.13-1.6 [ 9s] now installing cumulated packages [ 9s] Preparing... ######################################## [ 9s] Updating / installing... [ 9s] libpython3_121_0-3.12.0-1.5 ######################################## [ 9s] zlib-devel-1.3-1.5 ######################################## [ 9s] libffi-3.4.2-1.5 ######################################## [ 9s] libexpat-2.6.2-1.5 ######################################## [ 11s] python3-base-3.12.0-1.5 ######################################## [ 11s] python3-3.12.0-1.1 ######################################## [ 11s] python3-setuptools-69.0.2-1.1 ######################################## [ 11s] python3-devel-3.12.0-1.5 ######################################## [ 12s] libopenssl3-devel-3.0.13-1.6 ######################################## [ 12s] bc-1.06-1.1 ######################################## [ 12s] swig-4.0.2-0 ######################################## [ 12s] bison-3.0.5-1.5 ######################################## [ 12s] flex-2.6.4-1.5 ######################################## [ 12s] opensbi-1.5-0 ######################################## [ 12s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.12/etc/nsswitch.conf... [ 12s] now finalizing build dir... [ 13s] ----------------------------------------------------------------- [ 13s] ----- building u-boot-lpi4a-16g.spec (user abuild) [ 13s] ----------------------------------------------------------------- [ 13s] ----------------------------------------------------------------- [ 13s] + 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 [ 13s] Building target platforms: riscv64-tizen-linux [ 13s] Building for target riscv64-tizen-linux [ 13s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.miXuQD [ 13s] + umask 022 [ 13s] + cd /home/abuild/rpmbuild/BUILD [ 13s] + cd /home/abuild/rpmbuild/BUILD [ 13s] + rm -rf u-boot-2020.01 [ 13s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 13s] + /bin/tar -xof - [ 20s] + STATUS=0 [ 20s] + '[' 0 -ne 0 ']' [ 20s] + cd u-boot-2020.01 [ 20s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 20s] + exit 0 [ 20s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DliXsZ [ 20s] + umask 022 [ 20s] + cd /home/abuild/rpmbuild/BUILD [ 20s] + cd u-boot-2020.01 [ 20s] + ref=/usr/lib/rpm [ 20s] + mints=0 [ 20s] + case $(uname -m) in [ 20s] ++ uname -m [ 20s] + mints=20160911 [ 20s] + for s in guess sub [ 20s] ++ find -maxdepth 8 -name config.guess [ 20s] + for s in guess sub [ 20s] ++ find -maxdepth 8 -name config.sub [ 20s] + LANG=C [ 20s] + export LANG [ 20s] + unset DISPLAY [ 20s] + 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' [ 20s] + export CFLAGS [ 20s] + 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' [ 20s] + export CXXFLAGS [ 20s] + 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' [ 20s] + export FFLAGS [ 20s] + LDFLAGS= [ 20s] + export LDFLAGS [ 20s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-16g.manifest . [ 20s] + CONFIG=tizen_lpi4a_16g_defconfig [ 20s] + make mrproper [ 23s] + make tizen_lpi4a_16g_defconfig [ 23s] HOSTCC scripts/basic/fixdep [ 24s] HOSTCC scripts/kconfig/conf.o [ 24s] YACC scripts/kconfig/zconf.tab.c [ 24s] LEX scripts/kconfig/zconf.lex.c [ 25s] HOSTCC scripts/kconfig/zconf.tab.o [ 28s] HOSTLD scripts/kconfig/conf [ 29s] # [ 29s] # configuration written to .config [ 29s] # [ 29s] + 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 [ 30s] HOSTCC scripts/basic/fixdep [ 30s] HOSTCC scripts/kconfig/conf.o [ 31s] HOSTCC scripts/kconfig/zconf.tab.o [ 34s] HOSTLD scripts/kconfig/conf [ 35s] scripts/kconfig/conf --syncconfig Kconfig [ 35s] CHK include/config.h [ 35s] UPD include/config.h [ 35s] CFG u-boot.cfg [ 35s] GEN include/autoconf.mk.dep [ 35s] CFG spl/u-boot.cfg [ 35s] GEN include/autoconf.mk [ 35s] 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] 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] 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] 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] CHK include/generated/generic-asm-offsets.h [ 36s] UPD include/generated/generic-asm-offsets.h [ 36s] CHK include/generated/asm-offsets.h [ 36s] HOSTCC scripts/dtc/srcpos.o [ 36s] UPD include/generated/asm-offsets.h [ 36s] HOSTCC scripts/dtc/checks.o [ 36s] HOSTCC scripts/dtc/util.o [ 37s] LEX scripts/dtc/dtc-lexer.lex.c [ 37s] YACC scripts/dtc/dtc-parser.tab.h [ 37s] YACC scripts/dtc/dtc-parser.tab.c [ 37s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 37s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 37s] HOSTLD scripts/dtc/dtc [ 38s] HOSTCC tools/gen_eth_addr [ 38s] HOSTCC tools/bmp_logo [ 38s] HOSTCC tools/gen_ethaddr_crc.o [ 38s] HOSTCC tools/img2srec [ 38s] WRAP tools/lib/crc8.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 38s] HOSTCC tools/mkenvimage.o [ 38s] HOSTCC tools/os_support.o [ 38s] WRAP tools/lib/crc32.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 38s] HOSTCC tools/aisimage.o [ 38s] HOSTCC tools/atmelimage.o [ 38s] WRAP tools/common/bootm.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 38s] HOSTCC tools/lib/crc32.o [ 38s] HOSTCC tools/default_image.o [ 38s] WRAP tools/lib/fdtdec_common.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 38s] WRAP tools/lib/fdtdec.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 38s] WRAP tools/common/image.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 38s] HOSTCC tools/imagetool.o [ 38s] HOSTCC tools/imximage.o [ 38s] HOSTCC tools/imx8image.o [ 38s] HOSTCC tools/imx8mimage.o [ 38s] HOSTCC tools/kwbimage.o [ 38s] WRAP tools/lib/md5.c [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 38s] /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] HOSTCC tools/pblimage.o [ 38s] HOSTCC tools/pbl_crc32.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] 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/zynqmpbif.o [ 38s] HOSTCC tools/libfdt/fdt.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 [ 39s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 39s] HOSTCC tools/libfdt/fdt_addresses.o [ 39s] HOSTCC tools/libfdt/fdt_overlay.o [ 39s] WRAP tools/lib/libfdt/fdt_ro.c [ 39s] /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'. [ 39s] /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'. [ 39s] WRAP tools/lib/libfdt/fdt_region.c [ 39s] /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'. [ 39s] /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'. [ 39s] HOSTCC tools/gpimage.o [ 39s] HOSTCC tools/gpimage-common.o [ 39s] HOSTCC tools/mtk_image.o [ 39s] HOSTCC tools/dumpimage.o [ 39s] HOSTCC tools/common/bootm.o [ 39s] 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 [ 40s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 40s] HOSTCC tools/spl_size_limit [ 40s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 40s] HOSTCC tools/lib/crc8.o [ 40s] HOSTLD tools/mkenvimage [ 40s] HOSTLD tools/gen_ethaddr_crc [ 40s] HOSTLD tools/fdtgrep [ 41s] HOSTLD tools/mkimage [ 41s] HOSTLD tools/dumpimage [ 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 [ 46s] HOSTLD scripts/kconfig/conf [ 46s] scripts/kconfig/conf --syncconfig Kconfig [ 47s] CHK include/config.h [ 47s] CFG u-boot.cfg [ 47s] GEN include/autoconf.mk.dep [ 47s] CFG spl/u-boot.cfg [ 47s] GEN include/autoconf.mk [ 47s] GEN spl/include/autoconf.mk [ 48s] CHK include/config/uboot.release [ 48s] CHK include/generated/timestamp_autogenerated.h [ 48s] UPD include/config/uboot.release [ 48s] UPD include/generated/timestamp_autogenerated.h [ 48s] CHK include/generated/version_autogenerated.h [ 48s] UPD include/generated/version_autogenerated.h [ 48s] HOSTCC scripts/dtc/dtc.o [ 48s] HOSTCC scripts/dtc/flattree.o [ 48s] HOSTCC scripts/dtc/fstree.o [ 48s] HOSTCC scripts/dtc/data.o [ 48s] HOSTCC scripts/dtc/livetree.o [ 48s] HOSTCC scripts/dtc/treesource.o [ 48s] HOSTCC scripts/dtc/srcpos.o [ 48s] HOSTCC scripts/dtc/checks.o [ 48s] HOSTCC scripts/dtc/util.o [ 49s] CC lib/asm-offsets.s [ 49s] CC arch/riscv/lib/asm-offsets.s [ 49s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 49s] In file included from include/linux/bitops.h:136, [ 49s] from include/common.h:26, [ 49s] from arch/riscv/lib/asm-offsets.c:11: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 49s] 98 | out = __test_and_clear_bit(nr, addr); [ 49s] | ^~~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 49s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 49s] | ~~~~~~^~~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 49s] 95 | unsigned long flags = 0; [ 49s] | ^~~~~ [ 49s] In file included from include/linux/bitops.h:136, [ 49s] from include/common.h:26, [ 49s] from lib/asm-offsets.c:14: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 49s] 98 | out = __test_and_clear_bit(nr, addr); [ 49s] | ^~~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 49s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 49s] | ~~~~~~^~~~ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 49s] 95 | unsigned long flags = 0; [ 49s] | ^~~~~ [ 49s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 49s] CHK include/generated/generic-asm-offsets.h [ 49s] CHK include/generated/asm-offsets.h [ 49s] LDS u-boot.lds [ 49s] HOSTLD scripts/dtc/dtc [ 49s] HOSTCC tools/bmp_logo [ 49s] HOSTCC tools/gen_eth_addr [ 49s] HOSTCC tools/gen_ethaddr_crc.o [ 49s] HOSTCC tools/lib/crc8.o [ 49s] HOSTCC tools/img2srec [ 49s] HOSTCC tools/mkenvimage.o [ 49s] HOSTCC tools/os_support.o [ 49s] HOSTCC tools/lib/crc32.o [ 49s] HOSTCC tools/aisimage.o [ 49s] HOSTCC tools/atmelimage.o [ 49s] HOSTCC tools/common/bootm.o [ 49s] HOSTCC tools/default_image.o [ 49s] HOSTCC tools/lib/fdtdec_common.o [ 49s] HOSTCC tools/lib/fdtdec.o [ 49s] HOSTCC tools/common/image.o [ 49s] HOSTCC tools/imagetool.o [ 49s] HOSTCC tools/imximage.o [ 50s] In file included from tools/default_image.c:20: [ 50s] In function 'image_set_name', [ 50s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 50s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 50s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 50s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 50s] HOSTCC tools/imx8image.o [ 50s] HOSTCC tools/imx8mimage.o [ 50s] HOSTCC tools/kwbimage.o [ 50s] HOSTCC tools/lib/md5.o [ 50s] HOSTCC tools/lpc32xximage.o [ 50s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 50s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 50s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 50s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 50s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 50s] 251 | int zero = 0; [ 50s] | ^~~~ [ 50s] In file included from tools/imagetool.h:21, [ 50s] from tools/imx8mimage.c:9: [ 50s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 50s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 50s] | ^~~~~ [ 50s] HOSTCC tools/mxsimage.o [ 50s] tools/imx8image.c: In function 'copy_file.constprop': [ 50s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 50s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 50s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 50s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 50s] 367 | int zero = 0; [ 50s] | ^~~~ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 50s] from include/imx8image.h:13, [ 50s] from tools/imx8image.c:8: [ 50s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 50s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 50s] | ^~~~~ [ 50s] HOSTCC tools/omapimage.o [ 50s] HOSTCC tools/pblimage.o [ 50s] HOSTCC tools/pbl_crc32.o [ 50s] HOSTCC tools/vybridimage.o [ 50s] HOSTCC tools/stm32image.o [ 50s] HOSTCC tools/lib/rc4.o [ 50s] HOSTCC tools/rkcommon.o [ 50s] HOSTCC tools/rksd.o [ 50s] HOSTCC tools/rkimage.o [ 50s] HOSTCC tools/rkspi.o [ 50s] HOSTCC tools/socfpgaimage.o [ 50s] HOSTCC tools/lib/crc16.o [ 50s] HOSTCC tools/lib/sha1.o [ 50s] HOSTCC tools/lib/sha256.o [ 50s] HOSTCC tools/common/hash.o [ 50s] HOSTCC tools/ublimage.o [ 50s] HOSTCC tools/zynqimage.o [ 50s] HOSTCC tools/zynqmpimage.o [ 50s] HOSTCC tools/zynqmpbif.o [ 50s] HOSTCC tools/libfdt/fdt.o [ 50s] HOSTCC tools/libfdt/fdt_wip.o [ 50s] HOSTCC tools/libfdt/fdt_sw.o [ 50s] HOSTCC tools/libfdt/fdt_rw.o [ 51s] HOSTCC tools/libfdt/fdt_strerror.o [ 51s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 51s] HOSTCC tools/libfdt/fdt_addresses.o [ 51s] HOSTCC tools/libfdt/fdt_overlay.o [ 51s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 51s] HOSTCC tools/lib/libfdt/fdt_region.o [ 51s] HOSTCC tools/gpimage.o [ 51s] HOSTCC tools/gpimage-common.o [ 51s] HOSTCC tools/mtk_image.o [ 51s] HOSTCC tools/dumpimage.o [ 51s] HOSTCC tools/mkimage.o [ 51s] HOSTCC tools/proftool [ 51s] HOSTCC tools/prelink-riscv [ 51s] HOSTCC tools/spl_size_limit [ 51s] HOSTCC tools/fdtgrep.o [ 51s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 51s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 51s] HOSTLD tools/gen_ethaddr_crc [ 51s] HOSTLD tools/mkenvimage [ 52s] HOSTLD tools/fdtgrep [ 52s] HOSTLD tools/dumpimage [ 52s] HOSTLD tools/mkimage [ 52s] CC arch/riscv/cpu/cpu.o [ 52s] AS arch/riscv/cpu/mtrap.o [ 52s] AS arch/riscv/cpu/start.o [ 52s] CC board/thead/common/board_common.o [ 53s] CC arch/riscv/cpu/c9xx/dram.o [ 53s] CC arch/riscv/lib/bootm.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/cpu/cpu.c:6: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/cpu/c9xx/dram.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/common/board_common.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC board/thead/light-c910/light.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/lib/bootm.c:9: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC arch/riscv/cpu/c9xx/cpu.o [ 53s] CC board/thead/light-c910/board.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/light.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] LD cmd/riscv/built-in.o [ 53s] CC cmd/boot.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/board.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] arch/riscv/lib/bootm.c: At top level: [ 53s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 53s] 34 | extern void secondary_entry(); [ 53s] | ^~~~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/boot.c:10: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] board/thead/light-c910/light.c: In function 'do_board_check_hibernate': [ 53s] board/thead/light-c910/light.c:2563:14: warning: variable 'fastresume' set but not used [-Wunused-but-set-variable] [ 53s] 2563 | bool fastresume = 0; [ 53s] | ^~~~~~~~~~ [ 53s] board/thead/light-c910/light.c: In function 'do_fixup_memory_region': [ 53s] 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=] [ 53s] 2728 | printf("fixup memory region from [0x%09lx ~ 0x%09lx] to [0x%09lx ~ 0x%09lx]\n", [ 53s] | ~~~~^ [ 53s] | | [ 53s] | long unsigned int [ 53s] | %09llx [ 53s] 2729 | gd->ram_base, gd->ram_base+gd->ram_size, gd->ram_base, gd->ram_base+size); [ 53s] | ~~~~~~~~~~~~~~~~~ [ 53s] | | [ 53s] | long long unsigned int [ 53s] board/thead/light-c910/light.c:2709:13: warning: variable 'base' set but not used [-Wunused-but-set-variable] [ 53s] 2709 | u64 base, size; [ 53s] | ^~~~ [ 53s] LD board/thead/common/built-in.o [ 53s] LD arch/riscv/cpu/built-in.o [ 53s] CC arch/riscv/lib/image.o [ 53s] CC arch/riscv/lib/boot.o [ 53s] CC cmd/bootm.o [ 53s] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 53s] board/thead/light-c910/board.c:283:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 53s] 283 | int sc_err = SC_FAIL; [ 53s] | ^~~~~~ [ 53s] CC arch/riscv/cpu/c9xx/feature.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/lib/image.c:9: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/lib/boot.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/bootm.c:10: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC cmd/help.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/cpu/c9xx/feature.c:1: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC board/thead/light-c910/clock_config.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/clock_config.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/help.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC arch/riscv/lib/cache.o [ 53s] LD arch/riscv/cpu/c9xx/built-in.o [ 53s] CC board/thead/light-c910/sec_check.o [ 53s] CC arch/riscv/lib/thead_ipi.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/sec_check.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/lib/cache.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC board/thead/light-c910/boot.o [ 53s] CC cmd/version.o [ 53s] CC cmd/blk_common.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/boot.c:3: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/blk_common.c:11: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/version.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC common/init/board_init.o [ 53s] CC board/thead/light-c910/sbmeta/sbmeta.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from common/init/board_init.c:9: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/sbmeta/sbmeta.h:9, [ 53s] from board/thead/light-c910/sbmeta/sbmeta.c:6: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC arch/riscv/lib/rdtime.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/lib/rdtime.c:10: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC common/main.o [ 53s] CC cmd/source.o [ 53s] LD common/init/built-in.o [ 53s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 53s] CC cmd/bdinfo.o [ 53s] CC board/thead/light-c910/lpddr4/src/ddr_retention.o [ 53s] CC common/exports.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from common/main.c:9: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/bdinfo.c:10: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC arch/riscv/lib/interrupts.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/source.c:17: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from common/exports.c:1: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/lib/interrupts.c:10: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 53s] CC board/thead/light-c910/light-sv/pll_io_test.o [ 53s] CC cmd/blkcache.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/light-sv/pll_io_test.c:6: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC common/hash.o [ 53s] CC disk/part.o [ 53s] CC common/cli_hush.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from common/hash.c:13: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/blkcache.c:8: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC board/thead/light-c910/light-sv/adc_test.o [ 53s] CC arch/riscv/lib/reset.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from common/cli_hush.c:78: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from disk/part.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/lib/reset.c:6: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC board/thead/light-c910/version_rollback.o [ 53s] CC cmd/bmp.o [ 53s] AS arch/riscv/lib/setjmp.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from board/thead/light-c910/version_rollback.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/bmp.c:11: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] CC cmd/booti.o [ 53s] CC arch/riscv/lib/smp.o [ 53s] CC arch/riscv/lib/locks.o [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from cmd/booti.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 53s] In file included from include/linux/bitops.h:136, [ 53s] from include/common.h:26, [ 53s] from arch/riscv/lib/smp.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 53s] 98 | out = __test_and_clear_bit(nr, addr); [ 53s] | ^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 53s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 53s] | ~~~~~~^~~~ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 53s] 95 | unsigned long flags = 0; [ 53s] | ^~~~~ [ 54s] CC cmd/console.o [ 54s] CC cmd/cpu.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from cmd/console.c:10: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC disk/part_efi.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from disk/part_efi.c:13: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from cmd/cpu.c:8: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] LD board/thead/light-c910/built-in.o [ 54s] CC cmd/dm.o [ 54s] LD arch/riscv/lib/built-in.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from cmd/dm.c:9: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC cmd/echo.o [ 54s] LD drivers/dma/ti/built-in.o [ 54s] LD drivers/adc/built-in.o [ 54s] LD drivers/dma/built-in.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from cmd/echo.c:7: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] LD drivers/ata/built-in.o [ 54s] LD drivers/axi/built-in.o [ 54s] CC common/autoboot.o [ 54s] CC drivers/gpio/dwapb_gpio.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from common/autoboot.c:7: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC drivers/block/blk-uclass.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/gpio/dwapb_gpio.c:8: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/block/blk-uclass.c:7: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] LD drivers/board/built-in.o [ 54s] CC cmd/elf.o [ 54s] LD drivers/cache/built-in.o [ 54s] CC cmd/exit.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from cmd/elf.c:16: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from cmd/exit.c:7: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] LD drivers/clk/analogbits/built-in.o [ 54s] CC common/board_f.o [ 54s] LD drivers/clk/imx/built-in.o [ 54s] CC drivers/core/device.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from common/board_f.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/core/device.c:11: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC drivers/gpio/gpio-uclass.o [ 54s] LD drivers/clk/tegra/built-in.o [ 54s] CC cmd/ext4.o [ 54s] CC drivers/clk/clk-uclass.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/gpio/gpio-uclass.c:6: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from cmd/ext4.c:28: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] LD disk/built-in.o [ 54s] CC drivers/core/fdtaddr.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/clk/clk-uclass.c:9: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC drivers/core/lists.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/core/lists.c:11: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC drivers/block/blkcache.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/core/fdtaddr.c:11: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/block/blkcache.c:8: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC cmd/ext2.o [ 54s] CC common/board_r.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from include/fs.h:8, [ 54s] from cmd/ext2.c:22: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from common/board_r.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] LD drivers/block/built-in.o [ 54s] CC drivers/core/root.o [ 54s] CC common/board_info.o [ 54s] CC cmd/fat.o [ 54s] CC drivers/clk/clk_fixed_rate.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/core/root.c:9: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC drivers/cpu/cpu-uclass.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from common/board_info.c:3: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/cpu/cpu-uclass.c:7: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC drivers/crypto/fsl/sec.o [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/clk/clk_fixed_rate.c:6: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from cmd/fat.c:10: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] In file included from include/linux/bitops.h:136, [ 54s] from include/common.h:26, [ 54s] from drivers/crypto/fsl/sec.c:6: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 98 | out = __test_and_clear_bit(nr, addr); [ 54s] | ^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 54s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 54s] | ~~~~~~^~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 54s] 95 | unsigned long flags = 0; [ 54s] | ^~~~~ [ 54s] CC drivers/gpio/pca953x_gpio.o [ 55s] LD drivers/dfu/built-in.o [ 55s] CC cmd/fdt.o [ 55s] CC common/bootm.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/gpio/pca953x_gpio.c:22: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from common/bootm.c:8: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from cmd/fdt.c:10: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] LD drivers/crypto/fsl/built-in.o [ 55s] CC drivers/cpu/riscv_cpu.o [ 55s] CC drivers/clk/clk_fixed_factor.o [ 55s] CC drivers/core/uclass.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/clk/clk_fixed_factor.c:8: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/cpu/riscv_cpu.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] LD drivers/crypto/rsa_mod_exp/built-in.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/uclass.c:11: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/core/util.o [ 55s] LD drivers/crypto/built-in.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/util.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC cmd/flash.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from cmd/flash.c:10: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] LD drivers/gpio/built-in.o [ 55s] LD drivers/cpu/built-in.o [ 55s] CC cmd/fs.o [ 55s] LD drivers/clk/built-in.o [ 55s] CC drivers/core/device-remove.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from cmd/fs.c:8: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/fastboot/fb_common.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/device-remove.c:11: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/fastboot/fb_getvar.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/fastboot/fb_common.c:13: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/fastboot/fb_command.o [ 55s] CC common/bootm_os.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/fastboot/fb_getvar.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/fastboot/fb_command.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from common/bootm_os.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/fastboot/fb_mmc.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/fastboot/fb_mmc.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/core/simple-bus.o [ 55s] CC drivers/input/key_matrix.o [ 55s] CC cmd/i2c.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/input/key_matrix.c:9: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/core/dump.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/dump.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from cmd/i2c.c:67: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/simple-bus.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] LD drivers/mailbox/built-in.o [ 55s] CC drivers/core/regmap.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/regmap.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC common/fdt_support.o [ 55s] LD drivers/memory/built-in.o [ 55s] CC drivers/core/syscon-uclass.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from common/fdt_support.c:9: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC cmd/itest.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/syscon-uclass.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] LD drivers/fastboot/built-in.o [ 55s] CC cmd/load.o [ 55s] LD drivers/input/built-in.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from cmd/itest.c:14: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/core/of_extra.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/of_extra.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from cmd/load.c:10: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/misc/misc-uclass.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/misc/misc-uclass.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC drivers/misc/light_regu.o [ 55s] CC drivers/core/ofnode.o [ 55s] CC drivers/core/read_extra.o [ 55s] CC common/miiphyutil.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/misc/light_regu.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/ofnode.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from drivers/core/read_extra.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from common/miiphyutil.c:12: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] CC common/usb.o [ 55s] CC cmd/mem.o [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from common/usb.c:28: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 55s] In file included from include/linux/bitops.h:136, [ 55s] from include/common.h:26, [ 55s] from cmd/mem.c:13: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 98 | out = __test_and_clear_bit(nr, addr); [ 55s] | ^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 55s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 55s] | ~~~~~~^~~~ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 55s] 95 | unsigned long flags = 0; [ 55s] | ^~~~~ [ 56s] CC common/usb_hub.o [ 56s] CC common/iomux.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from common/usb_hub.c:24: [ 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/iomux.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 cmd/mii.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from cmd/mii.c:11: [ 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 drivers/core/built-in.o [ 56s] CC drivers/i2c/i2c-uclass.o [ 56s] CC common/splash.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from drivers/i2c/i2c-uclass.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 common/splash.c:23: [ 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 drivers/net/mscc_eswitch/built-in.o [ 56s] LD drivers/net/ti/built-in.o [ 56s] CC drivers/net/designware.o [ 56s] CC cmd/mdio.o [ 56s] CC cmd/misc.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from cmd/mdio.c:11: [ 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 drivers/net/designware.c:11: [ 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/misc.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] LD drivers/misc/built-in.o [ 56s] CC common/menu.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from common/menu.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 drivers/mmc/mmc.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from drivers/mmc/mmc.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] LD drivers/mtd/onenand/built-in.o [ 56s] CC drivers/mtd/nand/spi/core.o [ 56s] CC drivers/mmc/mmc-uclass.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from drivers/mtd/nand/spi/core.c:23: [ 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 drivers/i2c/designware_i2c.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from drivers/mmc/mmc-uclass.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 drivers/i2c/designware_i2c.c:8: [ 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/mmc.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from cmd/mmc.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 common/cli_readline.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from common/cli_readline.c:11: [ 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 drivers/net/built-in.o [ 56s] CC drivers/mtd/nand/core.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from drivers/mtd/nand/core.c:12: [ 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 drivers/i2c/built-in.o [ 56s] CC drivers/mmc/mmc_write.o [ 56s] CC drivers/mtd/spi/sf-uclass.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from drivers/mtd/spi/sf-uclass.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] CC drivers/mtd/spi/sf_probe.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from drivers/mmc/mmc_write.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 drivers/mtd/spi/sf_probe.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 common/cli_simple.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from common/cli_simple.c:11: [ 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 drivers/mtd/spi/spi-nor-ids.o [ 56s] In file included from include/linux/bitops.h:136, [ 56s] from include/common.h:26, [ 56s] from drivers/mtd/spi/spi-nor-ids.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 drivers/net/phy/phy.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/net/phy/phy.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 drivers/mtd/spi/spi-nor-core.o [ 57s] CC drivers/mtd/nand/spi/gigadevice.o [ 57s] CC cmd/mtd.o [ 57s] LD drivers/power/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mtd/spi/spi-nor-core.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from include/linux/mtd/spinand.h:20, [ 57s] from drivers/mtd/nand/spi/gigadevice.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 cmd/mtd.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 drivers/phy/phy-uclass.o [ 57s] CC drivers/mtd/mtdcore.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/phy/phy-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 common/bouncebuf.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from include/ubi_uboot.h:17, [ 57s] from drivers/mtd/mtdcore.c:30: [ 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/bouncebuf.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 drivers/mmc/mmc_boot.o [ 57s] CC drivers/mtd/nand/spi/macronix.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mmc/mmc_boot.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from include/linux/mtd/spinand.h:20, [ 57s] from drivers/mtd/nand/spi/macronix.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/console.o [ 57s] LD drivers/phy/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/console.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/power/battery/built-in.o [ 57s] CC drivers/mmc/dw_mmc.o [ 57s] CC common/dlmalloc.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/dlmalloc.c:1: [ 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/mmc/dw_mmc.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 drivers/mtd/nand/spi/micron.o [ 57s] CC drivers/net/phy/marvell.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from include/linux/mtd/spinand.h:20, [ 57s] from drivers/mtd/nand/spi/micron.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] CC cmd/legacy-mtd-utils.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/net/phy/marvell.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 cmd/legacy-mtd-utils.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] LD drivers/mtd/spi/spi-nor.o [ 57s] LD drivers/mtd/spi/built-in.o [ 57s] CC drivers/net/phy/realtek.o [ 57s] CC drivers/net/phy/mscc.o [ 57s] CC drivers/mtd/nand/spi/winbond.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from include/miiphy.h:17, [ 57s] from drivers/net/phy/mscc.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/net/phy/realtek.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from include/linux/mtd/spinand.h:20, [ 57s] from drivers/mtd/nand/spi/winbond.c:14: [ 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 drivers/mtd/mtd_uboot.o [ 57s] CC cmd/net.o [ 57s] CC drivers/mmc/snps_dw_mmc.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mtd/mtd_uboot.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 cmd/net.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mmc/snps_dw_mmc.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] LD drivers/mtd/nand/spi/spinand.o [ 57s] LD drivers/mtd/nand/spi/built-in.o [ 57s] CC drivers/mtd/mtd-uclass.o [ 57s] CC drivers/mmc/rpmb.o [ 57s] CC common/malloc_simple.o [ 57s] CC drivers/mtd/nand/bbt.o [ 57s] CC cmd/part.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mmc/rpmb.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/malloc_simple.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mtd/nand/bbt.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mtd/mtd-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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/part.c:18: [ 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/image.o [ 57s] CC common/image-fdt.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/image.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/image-fdt.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 drivers/mtd/mtdpart.o [ 57s] CC common/memsize.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mtd/mtdpart.c:20: [ 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/memsize.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/net/phy/built-in.o [ 57s] CC cmd/pxe.o [ 57s] LD drivers/mtd/nand/nandcore.o [ 57s] CC common/stdio.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from cmd/pxe.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/mtd/nand/built-in.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/stdio.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/cli.o [ 57s] CC drivers/mmc/sdhci.o [ 57s] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from common/cli.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] In file included from include/linux/bitops.h:136, [ 57s] from include/common.h:26, [ 57s] from drivers/mmc/sdhci.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 common/command.o [ 57s] LD drivers/power/domain/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/command.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/power/fuel_gauge/built-in.o [ 58s] CC common/s_record.o [ 58s] CC cmd/pxe_utils.o [ 58s] common/command.c: At top level: [ 58s] 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] [ 58s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 58s] | ^~~~~~~~~~~ [ 58s] In file included from include/image.h:45, [ 58s] from include/common.h:40: [ 58s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 58s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 58s] | ^~~~~~~~~~~ [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/s_record.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/xyzModem.o [ 58s] CC cmd/read.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/pxe_utils.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] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from common/xyzModem.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] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/read.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/phy/allwinner/built-in.o [ 58s] LD drivers/phy/marvell/built-in.o [ 58s] CC cmd/sf.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/sf.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 cmd/setexpr.o [ 58s] CC cmd/spi.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/setexpr.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/mtd/mtd.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/spi.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/mtd/built-in.o [ 58s] LD drivers/pwm/built-in.o [ 58s] LD drivers/power/mfd/built-in.o [ 58s] LD drivers/power/pmic/built-in.o [ 58s] LD drivers/reset/built-in.o [ 58s] LD common/built-in.o [ 58s] CC drivers/rtc/rtc-lib.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/rtc/rtc-lib.c:13: [ 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/power/regulator/built-in.o [ 58s] LD drivers/scsi/built-in.o [ 58s] CC drivers/mmc/snps_sdhci.o [ 58s] CC drivers/serial/serial-uclass.o [ 58s] CC drivers/serial/ns16550.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/serial/serial-uclass.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 drivers/mmc/snps_sdhci.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 cmd/sysboot.o [ 58s] CC cmd/test.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/serial/ns16550.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] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/sysboot.c:3: [ 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/test.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] LD drivers/smem/built-in.o [ 58s] LD drivers/rtc/built-in.o [ 58s] CC cmd/unzip.o [ 58s] LD drivers/soc/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/unzip.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/spi/spi-uclass.o [ 58s] LD drivers/usb/cdns3/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/spi/spi-uclass.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 cmd/lzmadec.o [ 58s] LD drivers/sound/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/lzmadec.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] CC drivers/spi/spi-mem.o [ 58s] CC cmd/fastboot.o [ 58s] LD drivers/usb/common/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from include/spi.h:12, [ 58s] from drivers/spi/spi-mem.c:14: [ 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/serial/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/fastboot.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/spmi/built-in.o [ 58s] CC drivers/usb/dwc3/core.o [ 58s] CC drivers/usb/dwc3/gadget.o [ 58s] LD drivers/thermal/built-in.o [ 58s] LD drivers/mmc/built-in.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/usb/dwc3/core.c:16: [ 58s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 58s] CC cmd/usb_mass_storage.o [ 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/usb/dwc3/gadget.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] CC drivers/usb/dwc3/ep0.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/usb_mass_storage.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] CC drivers/timer/timer-uclass.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/usb/dwc3/ep0.c:15: [ 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/timer/timer-uclass.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] LD drivers/usb/emul/built-in.o [ 58s] CC drivers/timer/riscv_timer.o [ 58s] CC cmd/ximg.o [ 58s] CC drivers/spi/designware_spi.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/timer/riscv_timer.c:14: [ 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/spi/designware_spi.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 cmd/ximg.c:14: [ 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/spi/designware_qspi.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from drivers/spi/designware_qspi.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] LD drivers/usb/eth/built-in.o [ 58s] LD drivers/timer/built-in.o [ 58s] CC cmd/gpt.o [ 58s] In file included from include/linux/bitops.h:136, [ 58s] from include/common.h:26, [ 58s] from cmd/gpt.c:13: [ 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] | ^~~~~ [ 59s] LD drivers/ufs/built-in.o [ 59s] CC drivers/usb/gadget/udc/udc-core.o [ 59s] CC drivers/usb/gadget/epautoconf.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 59s] from drivers/usb/gadget/udc/udc-core.c:19: [ 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/watchdog/built-in.o [ 59s] LD drivers/usb/host/built-in.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/usb/gadget/epautoconf.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 drivers/usb/gadget/config.o [ 59s] CC drivers/video/bridge/video-bridge-uclass.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/usb/gadget/config.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/video/bridge/video-bridge-uclass.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] LD drivers/usb/musb-new/built-in.o [ 59s] CC drivers/usb/gadget/udc/udc-uclass.o [ 59s] CC cmd/ddrscan.o [ 59s] CC drivers/usb/gadget/usbstring.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from cmd/ddrscan.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/usb/gadget/udc/udc-uclass.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 drivers/usb/gadget/usbstring.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/spi/built-in.o [ 59s] CC drivers/usb/gadget/g_dnl.o [ 59s] CC cmd/nvedit.o [ 59s] LD drivers/usb/musb/built-in.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from cmd/nvedit.c:26: [ 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/usb/gadget/g_dnl.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/video/bridge/built-in.o [ 59s] LD drivers/usb/phy/built-in.o [ 59s] LD drivers/usb/ulpi/built-in.o [ 59s] CC drivers/video/light/vs_dpu.o [ 59s] LD drivers/video/sunxi/built-in.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/video/light/vs_dpu.c:3: [ 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/video/light/dw_dsi_light.o [ 59s] LD drivers/usb/gadget/udc/built-in.o [ 59s] LD drivers/usb/dwc3/dwc3.o [ 59s] CC drivers/video/console_normal.o [ 59s] LD drivers/usb/dwc3/built-in.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/video/light/dw_dsi_light.c:3: [ 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/usb/gadget/f_mass_storage.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/video/console_normal.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/usb/gadget/f_mass_storage.c:245: [ 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] DTC arch/riscv/dts/light-a-ref.dtb [ 59s] DTC arch/riscv/dts/light-b-ref.dtb [ 59s] CC drivers/video/light/dw_dsi_host.o [ 59s] CC drivers/video/light/phy-dw-dphy.o [ 59s] DTC arch/riscv/dts/light-a-val.dtb [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/video/light/dw_dsi_host.c:3: [ 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/video/light/phy-dw-dphy.c:3: [ 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] DTC arch/riscv/dts/light-b-product.dtb [ 59s] DTC arch/riscv/dts/light-a-product.dtb [ 59s] arch/riscv/dts/light-a-val.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 59s] LD cmd/built-in.o [ 59s] CC drivers/usb/gadget/f_fastboot.o [ 59s] DTC arch/riscv/dts/light-ant-ref.dtb [ 59s] DTC arch/riscv/dts/light-beagle.dtb [ 59s] DTC arch/riscv/dts/light-b-power.dtb [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/usb/gadget/f_fastboot.c:14: [ 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] DTC arch/riscv/dts/light-lpi4a.dtb [ 59s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 59s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 59s] LD drivers/video/light/built-in.o [ 59s] CC drivers/video/backlight-uclass.o [ 59s] CC env/common.o [ 59s] arch/riscv/dts/light-lpi4a.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/video/backlight-uclass.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 env/common.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] arch/riscv/dts/light-lpi4a-laptop.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 59s] CC env/env.o [ 59s] CC fs/ext4/ext4fs.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from env/env.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 env/attr.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from fs/ext4/ext4fs.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] SHIPPED dts/dt.dtb [ 59s] DTB dts/dt.dtb.S [ 59s] AS dts/dt.dtb.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from env/attr.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] CC drivers/video/dsi-host-uclass.o [ 59s] CC fs/fat/fat_write.o [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from drivers/video/dsi-host-uclass.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 fs/fat/fat_write.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] | ^~~~~ [ 60s] LD dts/built-in.o [ 60s] CC fs/ext4/ext4_common.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from fs/ext4/ext4_common.c:21: [ 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 fs/ext4/dev.o [ 60s] CC env/callback.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from fs/ext4/dev.c:25: [ 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/video/panel-uclass.o [ 60s] LD lib/crypto/built-in.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from env/callback.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/video/panel-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/video/simple_panel.o [ 60s] CC lib/libfdt/fdt.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/video/simple_panel.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 env/flags.o [ 60s] LD drivers/usb/gadget/built-in.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from env/flags.c:21: [ 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 lib/libfdt/fdt_wip.o [ 60s] CC env/fat.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from env/fat.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] CC drivers/video/video-uclass.o [ 60s] CC net/checksum.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/video/video-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 net/checksum.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 lib/libfdt/fdt_strerror.o [ 60s] CC lib/libfdt/fdt_sw.o [ 60s] LD env/built-in.o [ 60s] CC fs/ext4/ext4_write.o [ 60s] CC drivers/video/vidconsole-uclass.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/video/vidconsole-uclass.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 net/arp.o [ 60s] CC drivers/video/video_bmp.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from net/arp.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 fs/ext4/ext4_write.c:24: [ 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 lib/libfdt/fdt_rw.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from drivers/video/video_bmp.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] CC fs/fs.o [ 60s] CC net/bootp.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from fs/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 net/bootp.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 fs/fs_internal.o [ 60s] CC drivers/video/ilitek-ili9881c.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from fs/fs_internal.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 drivers/video/ilitek-ili9881c.c:3: [ 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 fs/ext4/ext4_journal.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from fs/ext4/ext4_journal.c:16: [ 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 fs/fat/built-in.o [ 60s] CC fs/ext4/crc16.o [ 60s] CC lib/libfdt/fdt_empty_tree.o [ 60s] CC lib/libfdt/fdt_addresses.o [ 60s] In file included from include/linux/bitops.h:136, [ 60s] from include/common.h:26, [ 60s] from fs/ext4/crc16.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] | ^~~~~ [ 61s] CC drivers/video/mipi_dsi.o [ 61s] CC net/eth-uclass.o [ 61s] CC lib/libfdt/fdt_ro.o [ 61s] CC net/eth_common.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from net/eth-uclass.c:8: [ 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/video/mipi_dsi.c:35: [ 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 net/eth_common.c:8: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] CC net/net.o [ 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 lib/libfdt/fdt_region.o [ 61s] CC lib/lzma/LzmaDec.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from net/net.c:90: [ 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 lib/lzma/LzmaDec.c:5: [ 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/video/built-in.o [ 61s] CC lib/lzma/LzmaTools.o [ 61s] LD drivers/built-in.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/lzma/LzmaTools.c:21: [ 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 net/nfs.o [ 61s] LD fs/ext4/built-in.o [ 61s] LD fs/built-in.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from net/nfs.c:29: [ 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 net/ping.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from net/ping.h:15, [ 61s] from net/ping.c:12: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] CC net/tftp.o [ 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 net/fastboot.o [ 61s] CC lib/zlib/zlib.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/zlib/zlib.c:15: [ 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 net/fastboot.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 net/tftp.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] CC lib/crc7.o [ 61s] LD lib/libfdt/built-in.o [ 61s] CC lib/crc8.o [ 61s] CC lib/crc16.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/crc8.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] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/crc16.c:28: [ 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 lib/image-sparse.o [ 61s] CC lib/ldiv.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/image-sparse.c:38: [ 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 lib/net_utils.o [ 61s] CC lib/rc4.o [ 61s] CC lib/sha256.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/net_utils.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 lib/list_sort.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/rc4.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 net/built-in.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/list_sort.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 lib/sha256.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 lib/lzma/built-in.o [ 61s] CC lib/gunzip.o [ 61s] CC lib/fdtdec_common.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/gunzip.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 lib/fdtdec.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/fdtdec_common.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 lib/qsort.o [ 61s] CC lib/hashtable.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/fdtdec.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 lib/errno.o [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/qsort.c:19: [ 61s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 61s] In file included from include/linux/bitops.h:136, [ 61s] from include/common.h:26, [ 61s] from lib/hashtable.c:32: [ 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] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/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] | ^~~~~ [ 62s] CC lib/display_options.o [ 62s] CC lib/crc32.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/display_options.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 lib/crc32.c:15: [ 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 lib/ctype.o [ 62s] CC lib/div64.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/linux/math64.h:5, [ 62s] from lib/div64.c:22: [ 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 lib/hang.o [ 62s] CC lib/linux_compat.o [ 62s] CC lib/linux_string.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/hang.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] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/linux_compat.c:2: [ 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 lib/lmb.o [ 62s] CC lib/membuff.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/lmb.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] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/membuff.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 lib/slre.o [ 62s] CC lib/string.o [ 62s] LD lib/zlib/built-in.o [ 62s] CC lib/tables_csum.o [ 62s] CC lib/time.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/slre.c:23: [ 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 lib/tables_csum.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 lib/time.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 lib/hexdump.o [ 62s] CC lib/uuid.o [ 62s] CC lib/rand.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/uuid.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 lib/hexdump.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 lib/panic.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/panic.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 lib/rand.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 lib/vsprintf.o [ 62s] CC lib/strto.o [ 62s] CC lib/abuf.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/strto.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 lib/vsprintf.c:16: [ 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 lib/abuf.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 lib/date.o [ 62s] In file included from include/linux/bitops.h:136, [ 62s] from include/common.h:26, [ 62s] from lib/date.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] | ^~~~~ [ 63s] LD lib/built-in.o [ 63s] CC examples/standalone/hello_world.o [ 63s] CC examples/standalone/stubs.o [ 63s] In file included from include/linux/bitops.h:136, [ 63s] from include/common.h:26, [ 63s] from examples/standalone/hello_world.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 examples/standalone/stubs.c:1: [ 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] LD examples/standalone/libstubs.o [ 64s] LD examples/standalone/hello_world [ 64s] OBJCOPY examples/standalone/hello_world.srec [ 64s] OBJCOPY examples/standalone/hello_world.bin [ 64s] LD u-boot [ 64s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 64s] OBJCOPY u-boot.srec [ 64s] OBJCOPY u-boot-nodtb.bin [ 64s] SYM u-boot.sym [ 64s] FDTGREP dts/dt-spl.dtb [ 64s] COPY u-boot.bin [ 64s] MKIMAGE u-boot.img [ 65s] CC spl/board/thead/common/board_common.o [ 65s] CC spl/arch/riscv/cpu/cpu.o [ 65s] CC spl/common/init/board_init.o [ 65s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 65s] CC spl/common/spl/spl.o [ 65s] CC spl/arch/riscv/lib/bootm.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/cpu/c9xx/dram.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/init/board_init.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/cpu/cpu.c:6: [ 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 board/thead/common/board_common.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/lib/bootm.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/spl/spl.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] CC spl/common/fdt_support.o [ 65s] CC spl/board/thead/light-c910/spl.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/fdt_support.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/spl.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] arch/riscv/lib/bootm.c: At top level: [ 65s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 65s] 34 | extern void secondary_entry(); [ 65s] | ^~~~~~ [ 65s] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 65s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 65s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 65s] | ^ [ 65s] LD spl/board/thead/common/built-in.o [ 65s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 65s] AS spl/arch/riscv/cpu/mtrap.o [ 65s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 65s] LD spl/common/init/built-in.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/cpu/c9xx/cpu.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] CC spl/common/bouncebuf.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/cpu/c9xx/feature.c:1: [ 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 common/bouncebuf.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] AS spl/arch/riscv/cpu/start.o [ 65s] CC spl/common/spl/spl_mmc.o [ 65s] CC spl/arch/riscv/lib/image.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/spl/spl_mmc.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 arch/riscv/lib/image.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] LD spl/arch/riscv/cpu/built-in.o [ 65s] CC spl/common/spl/spl_ram.o [ 65s] CC spl/board/thead/light-c910/sys_clk.o [ 65s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 65s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 65s] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/spl/spl_ram.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/sys_clk.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/lpddr-regu/ddr_regu.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 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 spl/arch/riscv/lib/boot.o [ 65s] CC spl/common/console.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/lib/boot.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] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/console.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] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 65s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 65s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 65s] | ^~~~~~~~~~~~~~ [ 65s] CC spl/common/dlmalloc.o [ 65s] LD spl/common/spl/built-in.o [ 65s] CC spl/cmd/nvedit.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/dlmalloc.c:1: [ 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 spl/common/malloc_simple.o [ 65s] CC spl/arch/riscv/lib/cache.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from cmd/nvedit.c:26: [ 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 common/malloc_simple.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: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 arch/riscv/lib/cache.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] CC spl/env/common.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from env/common.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: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 spl/disk/part.o [ 65s] CC spl/lib/libfdt/fdt.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from disk/part.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] CC spl/lib/fdtdec_common.o [ 65s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from lib/fdtdec_common.c:11: [ 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 spl/arch/riscv/lib/thead_ipi.o [ 65s] LD spl/cmd/built-in.o [ 65s] CC spl/disk/part_efi.o [ 65s] CC spl/env/env.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from disk/part_efi.c:13: [ 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 spl/lib/libfdt/fdt_wip.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from env/env.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] CC spl/arch/riscv/lib/rdtime.o [ 65s] CC spl/arch/riscv/lib/interrupts.o [ 65s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 65s] CC spl/arch/riscv/lib/reset.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/lib/interrupts.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: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 arch/riscv/lib/reset.c:6: [ 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 arch/riscv/lib/rdtime.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: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 spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 66s] CC spl/lib/libfdt/fdt_strerror.o [ 66s] CC spl/common/image.o [ 66s] LD spl/env/built-in.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/image.c:10: [ 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 spl/common/image-fdt.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/image-fdt.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 spl/lib/libfdt/fdt_sw.o [ 66s] AS spl/arch/riscv/lib/setjmp.o [ 66s] CC spl/arch/riscv/lib/smp.o [ 66s] CC spl/lib/libfdt/fdt_rw.o [ 66s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from arch/riscv/lib/smp.c:7: [ 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 spl/board/thead/light-c910/lpddr4/src/ddr_retention.o [ 66s] LD spl/disk/built-in.o [ 66s] CC spl/arch/riscv/lib/spl.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from arch/riscv/lib/spl.c:6: [ 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 spl/common/memsize.o [ 66s] CC spl/lib/fdtdec.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/memsize.c:7: [ 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] FDTGREP spl/dts/dt-spl.dtb [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from lib/fdtdec.c:7: [ 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 spl/common/stdio.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/stdio.c:12: [ 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] DTB spl/dts/dt-spl.dtb.S [ 66s] AS spl/dts/dt-spl.dtb.o [ 66s] CC spl/lib/libfdt/fdt_empty_tree.o [ 66s] CC spl/arch/riscv/lib/locks.o [ 66s] CC spl/drivers/block/blk-uclass.o [ 66s] CC spl/lib/qsort.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/block/blk-uclass.c:7: [ 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/qsort.c:19: [ 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 spl/arch/riscv/lib/built-in.o [ 66s] LD spl/dts/built-in.o [ 66s] CC spl/common/cli.o [ 66s] CC spl/common/command.o [ 66s] CC spl/lib/libfdt/fdt_addresses.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/cli.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] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/command.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 spl/lib/hashtable.o [ 66s] common/command.c: At top level: [ 66s] 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] [ 66s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 66s] | ^~~~~~~~~~~ [ 66s] In file included from include/image.h:45, [ 66s] from include/common.h:40: [ 66s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 66s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 66s] | ^~~~~~~~~~~ [ 66s] LD spl/drivers/clk/analogbits/built-in.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from lib/hashtable.c:32: [ 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 spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 66s] LD spl/drivers/clk/imx/built-in.o [ 66s] LD spl/drivers/clk/tegra/built-in.o [ 66s] CC spl/lib/libfdt/fdt_ro.o [ 66s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 66s] CC spl/drivers/clk/clk-uclass.o [ 66s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:8:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 66s] 8 | int dwc_ddrphy_phyinit_regInterface(); [ 66s] | ^~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/clk/clk-uclass.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] CC spl/drivers/clk/clk_fixed_rate.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/clk/clk_fixed_rate.c:6: [ 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 spl/drivers/block/built-in.o [ 66s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 66s] CC spl/fs/fs_internal.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from fs/fs_internal.c:8: [ 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 spl/common/s_record.o [ 67s] CC spl/common/xyzModem.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/xyzModem.c:24: [ 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] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/s_record.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: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: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] LDS spl/u-boot-spl.lds [ 67s] CC spl/drivers/clk/clk_fixed_factor.o [ 67s] CC spl/lib/errno.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/clk/clk_fixed_factor.c:8: [ 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 spl/fs/built-in.o [ 67s] CC spl/lib/display_options.o [ 67s] CC spl/lib/crc32.o [ 67s] CC spl/lib/libfdt/fdt_region.o [ 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] 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] CC spl/lib/ctype.o [ 67s] LD spl/common/built-in.o [ 67s] LD spl/drivers/clk/built-in.o [ 67s] CC spl/drivers/core/device.o [ 67s] CC spl/lib/div64.o [ 67s] CC spl/drivers/core/fdtaddr.o [ 67s] CC spl/drivers/cpu/cpu-uclass.o [ 67s] CC spl/drivers/core/lists.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/device.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] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/fdtaddr.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] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/lists.c:11: [ 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 drivers/cpu/cpu-uclass.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: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: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/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 spl/drivers/core/root.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/root.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 spl/lib/hang.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] LD spl/board/thead/light-c910/built-in.o [ 67s] CC spl/drivers/cpu/riscv_cpu.o [ 67s] LD spl/lib/libfdt/built-in.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/cpu/riscv_cpu.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] CC spl/lib/linux_compat.o [ 67s] CC spl/drivers/core/uclass.o [ 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 spl/drivers/core/util.o [ 67s] CC spl/lib/linux_string.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/uclass.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] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/util.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] CC spl/lib/lmb.o [ 67s] CC spl/drivers/core/simple-bus.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/simple-bus.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/lmb.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 spl/drivers/core/dump.o [ 67s] CC spl/lib/membuff.o [ 67s] LD spl/drivers/cpu/built-in.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/dump.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/membuff.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 spl/drivers/core/of_extra.o [ 67s] CC spl/drivers/mmc/mmc.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/mmc/mmc.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 drivers/core/of_extra.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] LD spl/drivers/mtd/built-in.o [ 67s] CC spl/drivers/core/ofnode.o [ 67s] CC spl/drivers/core/read_extra.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/ofnode.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 drivers/core/read_extra.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 spl/lib/slre.o [ 67s] CC spl/drivers/serial/serial-uclass.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/slre.c:23: [ 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 spl/drivers/serial/ns16550.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/serial/serial-uclass.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] CC spl/lib/string.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/serial/ns16550.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 spl/lib/tables_csum.o [ 67s] CC spl/lib/time.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from lib/tables_csum.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/time.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] | ^~~~~ [ 68s] CC spl/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 spl/lib/uuid.o [ 68s] LD spl/drivers/serial/built-in.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 spl/drivers/timer/timer-uclass.o [ 68s] CC spl/lib/rand.o [ 68s] CC spl/drivers/timer/riscv_timer.o [ 68s] LD spl/drivers/core/built-in.o [ 68s] CC spl/lib/panic.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/timer/timer-uclass.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] 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] 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] CC spl/lib/vsprintf.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/timer/riscv_timer.c:14: [ 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 spl/lib/strto.o [ 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] 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] CC spl/lib/abuf.o [ 68s] CC spl/lib/date.o [ 68s] CC spl/drivers/mmc/mmc-uclass.o [ 68s] CC spl/drivers/mmc/mmc_boot.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] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/mmc/mmc_boot.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] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/mmc/mmc-uclass.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 spl/drivers/mmc/dw_mmc.o [ 68s] LD spl/drivers/timer/built-in.o [ 68s] CC spl/drivers/mmc/snps_dw_mmc.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/mmc/dw_mmc.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 spl/drivers/mmc/rpmb.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/mmc/rpmb.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] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/mmc/snps_dw_mmc.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 spl/drivers/mmc/sdhci.o [ 68s] CC spl/drivers/mmc/snps_sdhci.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/mmc/sdhci.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 drivers/mmc/snps_sdhci.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] LD spl/lib/built-in.o [ 68s] LD spl/drivers/mmc/built-in.o [ 68s] LD spl/drivers/built-in.o [ 69s] LD spl/u-boot-spl [ 69s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 69s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 69s] COPY spl/u-boot-spl.bin [ 69s] CAT u-boot-with-spl.bin [ 69s] ===================== WARNING ====================== [ 69s] This board does not use CONFIG_DM_USB. Please update [ 69s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 69s] Failure to update by the deadline may result in board removal. [ 69s] See doc/driver-model/MIGRATION.txt for more info. [ 69s] ==================================================== [ 69s] ===================== WARNING ====================== [ 69s] CONFIG_OF_EMBED is enabled. This option should only [ 69s] be used for debugging purposes. Please use [ 69s] CONFIG_OF_SEPARATE for boards in mainline. [ 69s] See doc/README.fdt-control for more info. [ 69s] ==================================================== [ 69s] CFGCHK u-boot.cfg [ 69s] + ./scripts/get_default_envs.sh [ 69s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 69s] + rm default_envs.txt [ 69s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 69s] Image Name: Tizen LicheePi4A Board Script [ 69s] Created: Thu Dec 19 07:04:47 2024 [ 69s] Image Type: RISC-V Linux Script (uncompressed) [ 69s] Data Size: 4261 Bytes = 4.16 KiB = 0.00 MiB [ 69s] Load Address: 00000000 [ 69s] Entry Point: 00000000 [ 69s] Contents: [ 69s] Image 0: 4253 Bytes = 4.15 KiB = 0.00 MiB [ 69s] + exit 0 [ 69s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Oi8kWT [ 69s] + umask 022 [ 69s] + cd /home/abuild/rpmbuild/BUILD [ 69s] + cd u-boot-2020.01 [ 69s] + LANG=C [ 69s] + export LANG [ 69s] + unset DISPLAY [ 69s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 69s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 69s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 69s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot [ 69s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp [ 69s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 69s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 69s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 69s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 69s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 69s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 69s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 69s] + /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 [ 70s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debuginfo.manifest [ 70s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debugsource.manifest [ 70s] + /usr/lib/rpm/check-buildroot [ 70s] + /usr/lib/rpm//brp-compress [ 70s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 70s] + /usr/lib/rpm/brp-python-hardlink [ 70s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 70s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 70s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 70s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 70s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 70s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 70s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 70s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 70s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 70s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 70s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 70s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 70s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 70s] Processing files: u-boot-lpi4a-16g-2020.01-0.riscv64 [ 70s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 70s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 70s] [ 70s] Provides: u-boot-lpi4a-16g = 2020.01-0 u-boot-lpi4a-16g(riscv-64) = 2020.01-0 [ 70s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 70s] Processing files: u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64 [ 70s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 70s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 70s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 70s] [ 70s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 72s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-lpi4a-16g-2020.01-0.src.rpm [ 75s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-2020.01-0.riscv64.rpm [ 75s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64.rpm [ 75s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cu3tx4 [ 75s] + umask 022 [ 75s] + cd /home/abuild/rpmbuild/BUILD [ 75s] + cd u-boot-2020.01 [ 75s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 75s] + exit 0 [ 75s] ... checking for files with abuild user/group [ 75s] ... creating baselibs [ 76s] [ 76s] ip-192-168-56-85 finished "build u-boot-lpi4a-16g.spec" at Thu Dec 19 07:04:54 UTC 2024. [ 76s]