[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.23 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-78 started "build u-boot-lpi4a-16g.spec" at Fri Oct 25 09:53:37 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec ... [ 1s] 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 -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20241023.224340/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20241023.224340/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.23/.srcfiles.cache ... [ 2s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.23/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_standard/riscv64/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20241023.224340/repos/standard/packages/ [ 6s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20241023.224340/repos/standard/debug/ [ 8s] expanding package dependencies... [ 10s] copying qemu [ 10s] [ 10s] registering binfmt handlers for cross build [ 10s] calculating packages to download... [ 34s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 34s] breaking dependency libxcrypt-devel -> glibc-devel [ 34s] cycle: libsoftokn3 -> nss [ 34s] breaking dependency nss -> libsoftokn3 [ 34s] reordering done [ 39s] deleting perl-Alien-Build [ 39s] deleting perl-Capture-Tiny [ 39s] deleting perl-FFI-CheckLib [ 39s] deleting perl-File-Which [ 39s] deleting perl-File-chdir [ 40s] deleting perl-Path-Tiny [ 40s] deleting perl-Term-Table [ 40s] deleting perl-Test2-Suite [ 40s] deleting perl-URI [ 41s] [1/112] keeping libmagic-data-5.45-2.13 [ 41s] [2/112] cumulate opensbi-1.5-0 [ 41s] [3/112] keeping setup-0.9-1.12 [ 41s] [4/112] keeping filesystem-3.1-1.1 [ 41s] [5/112] keeping glibc-2.39-2.15 [ 41s] [6/112] keeping bash-3.2.57-1.1 [ 41s] [7/112] keeping cpio-2.8-1.2 [ 41s] [8/112] keeping diffutils-3.10-1.1 [ 41s] [9/112] keeping findutils-4.3.8-1.19 [ 41s] [10/112] keeping gdbm-1.8.3-1.28 [ 41s] [11/112] keeping hostname-3.23-1.2 [ 41s] [12/112] keeping libatomic-14.1.0-6.3 [ 41s] [13/112] keeping libattr-2.5.1-1.21 [ 41s] [14/112] keeping libblkid-2.39.3-1.16 [ 41s] [15/112] keeping libbz2-1.0.8-1.21 [ 41s] [16/112] cumulate libexpat-2.6.2-1.22 [ 41s] [17/112] cumulate libffi-3.4.2-2.5 [ 41s] [18/112] keeping libfreebl3-3.98-1.28 [ 41s] [19/112] keeping libgcc-14.1.0-6.3 [ 41s] [20/112] keeping libgomp-14.1.0-6.3 [ 41s] [21/112] keeping libitm-14.1.0-6.3 [ 41s] [22/112] keeping libltdl-2.4.7-1.28 [ 41s] [23/112] keeping liblua-5.1.5-1.18 [ 41s] [24/112] keeping liblzma-5.4.5-1.28 [ 41s] [25/112] keeping libopenssl3-3.0.13-1.28 [ 41s] [26/112] keeping libpcre-8.45-1.20 [ 41s] [27/112] keeping libpopt-1.16-1.18 [ 41s] [28/112] cumulate libpython3_121_0-3.12.0-1.24 [ 41s] [29/112] keeping libsmack-1.3.1-1.18 [ 41s] [30/112] keeping libsmartcols-2.39.3-1.16 [ 42s] [31/112] keeping libsqlite-3.44.0-1.20 [ 42s] [32/112] keeping libuuid-2.39.3-1.16 [ 42s] [33/112] keeping libxcrypt-4.4.36-1.27 [ 42s] [34/112] keeping libzstd1-1.5.5-1.21 [ 42s] [35/112] keeping m4-1.4.19-1.1 [ 42s] [36/112] keeping net-tools-2.0_20121208git-1.18 [ 42s] [37/112] keeping nspr-4.35-1.18 [ 42s] [38/112] keeping patch-2.7.6-1.18 [ 42s] [39/112] keeping pkg-config-0.29.2-1.21 [ 42s] [40/112] keeping sed-4.1c-1.18 [ 42s] [41/112] keeping update-alternatives-1.22.2-1.1 [ 42s] [42/112] keeping which-2.17-1.2 [ 42s] [43/112] keeping zlib-1.3-1.21 [ 42s] [44/112] keeping build-compare-2023.06.18-1.14 [ 42s] [45/112] keeping hal-rootstrap-checker-0.1.0-5.1 [ 42s] [46/112] keeping qemu-linux-user-x86_64-cross-5.2.0.2-23.5 [ 42s] [47/112] keeping binutils-libs-2.43-2.3 [ 42s] [48/112] keeping coreutils-6.9-15.13 [ 42s] [49/112] keeping cpp-14.1.0-6.3 [ 42s] [50/112] cumulate flex-2.6.4-1.20 [ 42s] [51/112] keeping gawk-3.1.5-1.1 [ 42s] [52/112] keeping gcc-c++-14.1.0-6.3 [ 42s] [53/112] keeping grep-2.5.2-1.18 [ 42s] [54/112] keeping libacl-2.3.2-1.21 [ 42s] [55/112] keeping libcap-2.69-1.20 [ 42s] [56/112] keeping libelf-0.189-1.28 [ 42s] [57/112] keeping libgfortran-14.1.0-6.3 [ 42s] [58/112] keeping libmount-2.39.3-1.16 [ 42s] [59/112] keeping libstdc++-14.1.0-6.3 [ 42s] [60/112] keeping make-4.4-1.19 [ 42s] [61/112] keeping nss-certs-3.98-1.28 [ 42s] [62/112] keeping smack-1.3.1-1.18 [ 42s] [63/112] cumulate bison-3.0.5-1.21 [ 42s] [64/112] keeping bzip2-1.0.8-1.21 [ 42s] [65/112] keeping libfdisk-2.39.3-1.16 [ 42s] [66/112] keeping libmagic-5.45-2.13 [ 42s] [67/112] keeping libxml2-2.12.5-1.21 [ 42s] [68/112] keeping xz-5.4.5-1.28 [ 42s] [69/112] keeping perl-5.38.0-1.20 [ 42s] [70/112] keeping build-mkbaselibs-20120927-1.1 [ 42s] [71/112] keeping libstdc++-devel-14.1.0-6.3 [ 42s] [72/112] keeping linux-glibc-devel-6.6-1.26 [ 42s] [73/112] keeping binutils-2.43-2.3 [ 42s] [74/112] keeping file-5.45-2.13 [ 42s] [75/112] keeping tar-1.17-1.1 [ 42s] [76/112] keeping terminfo-base-full-6.4-1.28 [ 42s] [77/112] keeping autoconf-2.71-1.30 [ 43s] [78/112] keeping glibc-locale-2.39-2.15 [ 43s] [79/112] keeping gzip-1.3.12-1.18 [ 43s] [80/112] keeping libcc1-14.1.0-6.3 [ 43s] [81/112] keeping libubsan-14.1.0-6.3 [ 43s] [82/112] keeping pam-1.1.6-1.18 [ 43s] [83/112] cumulate swig-4.0.2-0 [ 43s] [84/112] keeping tzdata-2023c-1.1 [ 43s] [85/112] keeping libdw-0.189-1.28 [ 43s] [86/112] keeping libarchive-3.7.2-1.27 [ 43s] [87/112] keeping automake-1.16.5-1.29 [ 43s] [88/112] keeping libasm-0.189-1.28 [ 43s] [89/112] keeping libncurses6-6.4-1.28 [ 43s] [90/112] keeping build-20120927-1.1 [ 43s] [91/112] keeping gcc-14.1.0-6.3 [ 43s] [92/112] keeping libncurses-6.4-1.28 [ 43s] [93/112] keeping less-643-1.1 [ 43s] [94/112] keeping libreadline-5.2-1.20 [ 43s] [95/112] keeping qemu-accel-x86_64-riscv64-0.4-2.6 [ 43s] [96/112] keeping libtool-2.4.7-1.28 [ 43s] [97/112] keeping elfutils-0.189-1.28 [ 43s] [98/112] cumulate bc-1.06-1.1 [ 43s] [99/112] cumulate python3-base-3.12.0-1.24 [ 43s] [100/112] keeping util-linux-2.39.3-1.16 [ 43s] [101/112] cumulate python3-3.12.0-1.1 [ 43s] [102/112] keeping util-linux-su-2.39.3-1.16 [ 43s] [103/112] cumulate python3-devel-3.12.0-1.24 [ 44s] [104/112] cumulate python3-setuptools-69.0.2-1.13 [ 44s] [105/112] keeping libxcrypt-devel-4.4.36-1.27 [ 44s] [106/112] keeping nss-3.98-1.28 [ 44s] [107/112] keeping glibc-devel-2.39-2.15 [ 44s] [108/112] keeping libsoftokn3-3.98-1.28 [ 44s] [109/112] keeping rpm-4.14.1.1-5.6 [ 44s] [110/112] cumulate zlib-devel-1.3-1.21 [ 44s] [111/112] keeping rpm-build-4.14.1.1-5.6 [ 44s] [112/112] cumulate libopenssl3-devel-3.0.13-1.28 [ 44s] now installing cumulated packages [ 44s] Preparing... ######################################## [ 44s] Updating / installing... [ 45s] libpython3_121_0-3.12.0-1.24 ######################################## [ 45s] zlib-devel-1.3-1.21 ######################################## [ 45s] libffi-3.4.2-2.5 ######################################## [ 46s] libexpat-2.6.2-1.22 ######################################## [ 49s] python3-base-3.12.0-1.24 ######################################## [ 49s] python3-3.12.0-1.1 ######################################## [ 50s] python3-setuptools-69.0.2-1.13 ######################################## [ 50s] python3-devel-3.12.0-1.24 ######################################## [ 50s] libopenssl3-devel-3.0.13-1.28 ######################################## [ 50s] bc-1.06-1.1 ######################################## [ 50s] swig-4.0.2-0 ######################################## [ 51s] bison-3.0.5-1.21 ######################################## [ 51s] flex-2.6.4-1.20 ######################################## [ 51s] opensbi-1.5-0 ######################################## [ 51s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.23/etc/nsswitch.conf... [ 51s] now finalizing build dir... [ 54s] ----------------------------------------------------------------- [ 54s] ----- building u-boot-lpi4a-16g.spec (user abuild) [ 54s] ----------------------------------------------------------------- [ 54s] ----------------------------------------------------------------- [ 55s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec [ 55s] Building target platforms: riscv64-tizen-linux [ 55s] Building for target riscv64-tizen-linux [ 55s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BigiVx [ 55s] + umask 022 [ 55s] + cd /home/abuild/rpmbuild/BUILD [ 55s] + cd /home/abuild/rpmbuild/BUILD [ 55s] + rm -rf u-boot-2020.01 [ 55s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 55s] + /bin/tar -xof - [ 68s] + STATUS=0 [ 68s] + '[' 0 -ne 0 ']' [ 68s] + cd u-boot-2020.01 [ 68s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 69s] + exit 0 [ 69s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0btfRU [ 69s] + umask 022 [ 69s] + cd /home/abuild/rpmbuild/BUILD [ 69s] + cd u-boot-2020.01 [ 69s] + ref=/usr/lib/rpm [ 69s] + mints=0 [ 69s] + case $(uname -m) in [ 69s] ++ uname -m [ 69s] + mints=20160911 [ 69s] + for s in guess sub [ 69s] ++ find -maxdepth 8 -name config.guess [ 69s] + for s in guess sub [ 69s] ++ find -maxdepth 8 -name config.sub [ 69s] + LANG=C [ 69s] + export LANG [ 69s] + unset DISPLAY [ 69s] + 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' [ 69s] + export CFLAGS [ 69s] + 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' [ 69s] + export CXXFLAGS [ 69s] + 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' [ 69s] + export FFLAGS [ 69s] + LDFLAGS= [ 69s] + export LDFLAGS [ 69s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-16g.manifest . [ 69s] + CONFIG=tizen_lpi4a_16g_defconfig [ 69s] + make mrproper [ 78s] + make tizen_lpi4a_16g_defconfig [ 79s] HOSTCC scripts/basic/fixdep [ 82s] HOSTCC scripts/kconfig/conf.o [ 83s] YACC scripts/kconfig/zconf.tab.c [ 83s] LEX scripts/kconfig/zconf.lex.c [ 85s] HOSTCC scripts/kconfig/zconf.tab.o [ 91s] HOSTLD scripts/kconfig/conf [ 92s] # [ 92s] # configuration written to .config [ 92s] # [ 92s] + 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 [ 96s] HOSTCC scripts/basic/fixdep [ 98s] HOSTCC scripts/kconfig/conf.o [ 100s] HOSTCC scripts/kconfig/zconf.tab.o [ 109s] HOSTLD scripts/kconfig/conf [ 109s] scripts/kconfig/conf --syncconfig Kconfig [ 110s] CHK include/config.h [ 110s] UPD include/config.h [ 110s] CFG u-boot.cfg [ 110s] GEN include/autoconf.mk.dep [ 110s] CFG spl/u-boot.cfg [ 110s] GEN include/autoconf.mk [ 110s] GEN spl/include/autoconf.mk [ 121s] CHK include/config/uboot.release [ 121s] CHK include/generated/timestamp_autogenerated.h [ 121s] HOSTCC scripts/basic/fixdep [ 121s] UPD include/config/uboot.release [ 121s] CHK include/generated/version_autogenerated.h [ 121s] UPD include/generated/version_autogenerated.h [ 121s] UPD include/generated/timestamp_autogenerated.h [ 122s] CC lib/asm-offsets.s [ 122s] CC arch/riscv/lib/asm-offsets.s [ 122s] HOSTCC scripts/dtc/dtc.o [ 122s] HOSTCC scripts/dtc/flattree.o [ 122s] In file included from include/linux/bitops.h:136, [ 122s] from include/common.h:26, [ 122s] from lib/asm-offsets.c:14: [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 122s] HOSTCC scripts/dtc/fstree.o [ 122s] HOSTCC scripts/dtc/data.o [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 122s] 98 | out = __test_and_clear_bit(nr, addr); [ 122s] | ^~~~ [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 122s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 122s] | ~~~~~~^~~~ [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 122s] 95 | unsigned long flags = 0; [ 122s] | ^~~~~ [ 122s] In file included from include/linux/bitops.h:136, [ 122s] from include/common.h:26, [ 122s] from arch/riscv/lib/asm-offsets.c:11: [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 122s] 98 | out = __test_and_clear_bit(nr, addr); [ 122s] | ^~~~ [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 122s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 122s] | ~~~~~~^~~~ [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 122s] 95 | unsigned long flags = 0; [ 122s] | ^~~~~ [ 122s] HOSTCC scripts/dtc/livetree.o [ 122s] HOSTCC scripts/dtc/treesource.o [ 122s] CHK include/generated/asm-offsets.h [ 122s] HOSTCC scripts/dtc/srcpos.o [ 122s] UPD include/generated/asm-offsets.h [ 122s] CHK include/generated/generic-asm-offsets.h [ 122s] UPD include/generated/generic-asm-offsets.h [ 122s] HOSTCC scripts/dtc/checks.o [ 122s] HOSTCC scripts/dtc/util.o [ 122s] LEX scripts/dtc/dtc-lexer.lex.c [ 122s] YACC scripts/dtc/dtc-parser.tab.h [ 122s] YACC scripts/dtc/dtc-parser.tab.c [ 123s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 123s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 124s] HOSTLD scripts/dtc/dtc [ 125s] HOSTCC tools/bmp_logo [ 125s] HOSTCC tools/gen_eth_addr [ 125s] HOSTCC tools/gen_ethaddr_crc.o [ 125s] WRAP tools/lib/crc8.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 125s] HOSTCC tools/img2srec [ 125s] HOSTCC tools/mkenvimage.o [ 125s] HOSTCC tools/os_support.o [ 125s] WRAP tools/lib/crc32.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 125s] HOSTCC tools/aisimage.o [ 125s] HOSTCC tools/atmelimage.o [ 125s] WRAP tools/common/bootm.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 125s] HOSTCC tools/lib/crc32.o [ 125s] HOSTCC tools/default_image.o [ 125s] WRAP tools/lib/fdtdec_common.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 125s] WRAP tools/lib/fdtdec.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 125s] WRAP tools/common/image.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 125s] HOSTCC tools/imagetool.o [ 126s] HOSTCC tools/imximage.o [ 126s] HOSTCC tools/imx8image.o [ 126s] HOSTCC tools/imx8mimage.o [ 126s] HOSTCC tools/kwbimage.o [ 126s] WRAP tools/lib/md5.c [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/md5.c'. [ 126s] HOSTCC tools/lpc32xximage.o [ 126s] HOSTCC tools/mxsimage.o [ 126s] HOSTCC tools/omapimage.o [ 126s] HOSTCC tools/pblimage.o [ 126s] HOSTCC tools/pbl_crc32.o [ 126s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 126s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 126s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 126s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 126s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 126s] 251 | int zero = 0; [ 126s] | ^~~~ [ 126s] In file included from tools/imagetool.h:21, [ 126s] from tools/imx8mimage.c:9: [ 126s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 126s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 126s] | ^~~~~ [ 126s] HOSTCC tools/vybridimage.o [ 126s] tools/imx8image.c: In function 'copy_file.constprop': [ 126s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 126s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 126s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 126s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 126s] 367 | int zero = 0; [ 126s] | ^~~~ [ 126s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 126s] from include/imx8image.h:13, [ 126s] from tools/imx8image.c:8: [ 126s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 126s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 126s] | ^~~~~ [ 126s] HOSTCC tools/stm32image.o [ 126s] WRAP tools/lib/rc4.c [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/rc4.c'. [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/rc4.c'. [ 126s] HOSTCC tools/rkcommon.o [ 127s] HOSTCC tools/rkimage.o [ 127s] HOSTCC tools/rksd.o [ 127s] HOSTCC tools/rkspi.o [ 127s] HOSTCC tools/socfpgaimage.o [ 127s] WRAP tools/lib/crc16.c [ 127s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc16.c'. [ 127s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc16.c'. [ 127s] WRAP tools/lib/sha1.c [ 127s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha1.c'. [ 127s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha1.c'. [ 127s] WRAP tools/lib/sha256.c [ 127s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha256.c'. [ 127s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha256.c'. [ 127s] WRAP tools/common/hash.c [ 127s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/hash.c'. [ 127s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/hash.c'. [ 127s] HOSTCC tools/ublimage.o [ 127s] HOSTCC tools/zynqimage.o [ 127s] HOSTCC tools/zynqmpimage.o [ 127s] HOSTCC tools/zynqmpbif.o [ 127s] HOSTCC tools/libfdt/fdt.o [ 127s] HOSTCC tools/libfdt/fdt_wip.o [ 127s] HOSTCC tools/libfdt/fdt_sw.o [ 127s] HOSTCC tools/libfdt/fdt_rw.o [ 127s] HOSTCC tools/libfdt/fdt_strerror.o [ 127s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 128s] HOSTCC tools/libfdt/fdt_addresses.o [ 128s] HOSTCC tools/libfdt/fdt_overlay.o [ 128s] WRAP tools/lib/libfdt/fdt_ro.c [ 128s] /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'. [ 128s] /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'. [ 128s] WRAP tools/lib/libfdt/fdt_region.c [ 128s] /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'. [ 128s] /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'. [ 128s] HOSTCC tools/gpimage.o [ 128s] HOSTCC tools/gpimage-common.o [ 128s] HOSTCC tools/mtk_image.o [ 128s] HOSTCC tools/dumpimage.o [ 128s] HOSTCC tools/common/bootm.o [ 128s] HOSTCC tools/lib/fdtdec_common.o [ 128s] HOSTCC tools/lib/fdtdec.o [ 128s] HOSTCC tools/common/image.o [ 128s] HOSTCC tools/lib/md5.o [ 128s] HOSTCC tools/lib/rc4.o [ 128s] HOSTCC tools/lib/crc16.o [ 129s] HOSTCC tools/lib/sha1.o [ 129s] HOSTCC tools/lib/sha256.o [ 129s] HOSTCC tools/common/hash.o [ 129s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 129s] HOSTCC tools/lib/libfdt/fdt_region.o [ 129s] HOSTCC tools/mkimage.o [ 129s] HOSTCC tools/proftool [ 129s] HOSTCC tools/prelink-riscv [ 129s] HOSTCC tools/fdtgrep.o [ 130s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 130s] HOSTCC tools/spl_size_limit [ 130s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 130s] HOSTCC tools/lib/crc8.o [ 130s] HOSTLD tools/mkenvimage [ 131s] HOSTLD tools/gen_ethaddr_crc [ 131s] HOSTLD tools/fdtgrep [ 135s] HOSTLD tools/dumpimage [ 135s] HOSTLD tools/mkimage [ 135s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 135s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 135s] ++ echo platform/kernel/u-boot-thead#7a92d09dbfbbb09327b4aea686fe71a7472fddca [ 135s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 135s] + make -j8 EXTRAVERSION=-g7a92d09db-TIZEN.org [ 139s] HOSTCC scripts/basic/fixdep [ 141s] HOSTCC scripts/kconfig/conf.o [ 143s] HOSTCC scripts/kconfig/zconf.tab.o [ 149s] HOSTLD scripts/kconfig/conf [ 149s] scripts/kconfig/conf --syncconfig Kconfig [ 151s] CHK include/config.h [ 151s] CFG u-boot.cfg [ 151s] GEN include/autoconf.mk.dep [ 151s] CFG spl/u-boot.cfg [ 151s] GEN include/autoconf.mk [ 151s] GEN spl/include/autoconf.mk [ 161s] CHK include/config/uboot.release [ 161s] CHK include/generated/timestamp_autogenerated.h [ 161s] UPD include/config/uboot.release [ 161s] UPD include/generated/timestamp_autogenerated.h [ 162s] CHK include/generated/version_autogenerated.h [ 162s] UPD include/generated/version_autogenerated.h [ 162s] HOSTCC scripts/dtc/dtc.o [ 162s] HOSTCC scripts/dtc/flattree.o [ 162s] HOSTCC scripts/dtc/fstree.o [ 162s] HOSTCC scripts/dtc/data.o [ 162s] HOSTCC scripts/dtc/livetree.o [ 162s] HOSTCC scripts/dtc/treesource.o [ 162s] HOSTCC scripts/dtc/srcpos.o [ 162s] HOSTCC scripts/dtc/checks.o [ 162s] HOSTCC scripts/dtc/util.o [ 162s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 163s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 163s] CC lib/asm-offsets.s [ 163s] CC arch/riscv/lib/asm-offsets.s [ 163s] In file included from include/linux/bitops.h:136, [ 163s] from include/common.h:26, [ 163s] from lib/asm-offsets.c:14: [ 163s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 163s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 163s] 98 | out = __test_and_clear_bit(nr, addr); [ 163s] | ^~~~ [ 163s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 163s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 163s] | ~~~~~~^~~~ [ 163s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 163s] 95 | unsigned long flags = 0; [ 163s] | ^~~~~ [ 163s] In file included from include/linux/bitops.h:136, [ 163s] from include/common.h:26, [ 163s] from arch/riscv/lib/asm-offsets.c:11: [ 163s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 163s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 163s] 98 | out = __test_and_clear_bit(nr, addr); [ 163s] | ^~~~ [ 163s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 163s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 163s] | ~~~~~~^~~~ [ 163s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 163s] 95 | unsigned long flags = 0; [ 163s] | ^~~~~ [ 163s] CHK include/generated/generic-asm-offsets.h [ 163s] CHK include/generated/asm-offsets.h [ 164s] LDS u-boot.lds [ 164s] HOSTLD scripts/dtc/dtc [ 164s] HOSTCC tools/bmp_logo [ 164s] HOSTCC tools/gen_ethaddr_crc.o [ 164s] HOSTCC tools/lib/crc8.o [ 164s] HOSTCC tools/gen_eth_addr [ 164s] HOSTCC tools/img2srec [ 164s] HOSTCC tools/mkenvimage.o [ 164s] HOSTCC tools/os_support.o [ 164s] HOSTCC tools/lib/crc32.o [ 165s] HOSTCC tools/aisimage.o [ 165s] HOSTCC tools/atmelimage.o [ 165s] HOSTCC tools/common/bootm.o [ 165s] HOSTCC tools/default_image.o [ 165s] HOSTCC tools/lib/fdtdec_common.o [ 165s] HOSTCC tools/lib/fdtdec.o [ 165s] HOSTCC tools/common/image.o [ 165s] In file included from tools/default_image.c:20: [ 165s] In function 'image_set_name', [ 165s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 165s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 165s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 165s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 165s] HOSTCC tools/imagetool.o [ 165s] HOSTCC tools/imximage.o [ 165s] HOSTCC tools/imx8image.o [ 165s] HOSTCC tools/imx8mimage.o [ 165s] HOSTCC tools/kwbimage.o [ 165s] HOSTCC tools/lib/md5.o [ 165s] HOSTCC tools/lpc32xximage.o [ 165s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 165s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 165s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 165s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 165s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 165s] 251 | int zero = 0; [ 165s] | ^~~~ [ 165s] In file included from tools/imagetool.h:21, [ 165s] from tools/imx8mimage.c:9: [ 165s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 165s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 165s] | ^~~~~ [ 165s] HOSTCC tools/mxsimage.o [ 165s] HOSTCC tools/omapimage.o [ 166s] HOSTCC tools/pblimage.o [ 166s] tools/imx8image.c: In function 'copy_file.constprop': [ 166s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 166s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 166s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 166s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 166s] 367 | int zero = 0; [ 166s] | ^~~~ [ 166s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 166s] from include/imx8image.h:13, [ 166s] from tools/imx8image.c:8: [ 166s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 166s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 166s] | ^~~~~ [ 166s] HOSTCC tools/pbl_crc32.o [ 166s] HOSTCC tools/vybridimage.o [ 166s] HOSTCC tools/stm32image.o [ 166s] HOSTCC tools/lib/rc4.o [ 166s] HOSTCC tools/rkcommon.o [ 166s] HOSTCC tools/rkimage.o [ 166s] HOSTCC tools/rksd.o [ 166s] HOSTCC tools/rkspi.o [ 166s] HOSTCC tools/socfpgaimage.o [ 166s] HOSTCC tools/lib/crc16.o [ 166s] HOSTCC tools/lib/sha1.o [ 167s] HOSTCC tools/lib/sha256.o [ 167s] HOSTCC tools/common/hash.o [ 167s] HOSTCC tools/ublimage.o [ 167s] HOSTCC tools/zynqimage.o [ 167s] HOSTCC tools/zynqmpimage.o [ 167s] HOSTCC tools/zynqmpbif.o [ 167s] HOSTCC tools/libfdt/fdt.o [ 167s] HOSTCC tools/libfdt/fdt_wip.o [ 167s] HOSTCC tools/libfdt/fdt_sw.o [ 167s] HOSTCC tools/libfdt/fdt_rw.o [ 167s] HOSTCC tools/libfdt/fdt_strerror.o [ 168s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 168s] HOSTCC tools/libfdt/fdt_addresses.o [ 168s] HOSTCC tools/libfdt/fdt_overlay.o [ 168s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 168s] HOSTCC tools/lib/libfdt/fdt_region.o [ 168s] HOSTCC tools/gpimage.o [ 168s] HOSTCC tools/gpimage-common.o [ 168s] HOSTCC tools/mtk_image.o [ 168s] HOSTCC tools/dumpimage.o [ 168s] HOSTCC tools/mkimage.o [ 168s] HOSTCC tools/proftool [ 169s] HOSTCC tools/prelink-riscv [ 169s] HOSTCC tools/fdtgrep.o [ 169s] HOSTCC tools/spl_size_limit [ 169s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 169s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 170s] HOSTLD tools/gen_ethaddr_crc [ 170s] HOSTLD tools/mkenvimage [ 170s] HOSTLD tools/fdtgrep [ 173s] HOSTLD tools/dumpimage [ 173s] HOSTLD tools/mkimage [ 173s] CC arch/riscv/cpu/cpu.o [ 173s] AS arch/riscv/cpu/mtrap.o [ 173s] AS arch/riscv/cpu/start.o [ 173s] CC arch/riscv/cpu/c9xx/dram.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from arch/riscv/cpu/cpu.c:6: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC arch/riscv/cpu/c9xx/cpu.o [ 173s] CC board/thead/common/board_common.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from arch/riscv/cpu/c9xx/dram.c:7: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from board/thead/common/board_common.c:7: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC arch/riscv/cpu/c9xx/feature.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from arch/riscv/cpu/c9xx/feature.c:1: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC arch/riscv/lib/bootm.o [ 173s] CC board/thead/light-c910/light.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from arch/riscv/lib/bootm.c:9: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from board/thead/light-c910/light.c:7: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] LD arch/riscv/cpu/built-in.o [ 173s] CC arch/riscv/lib/image.o [ 173s] LD board/thead/common/built-in.o [ 173s] CC arch/riscv/lib/boot.o [ 173s] CC board/thead/light-c910/board.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from arch/riscv/lib/image.c:9: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] arch/riscv/lib/bootm.c: At top level: [ 173s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 173s] 34 | extern void secondary_entry(); [ 173s] | ^~~~~~ [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from board/thead/light-c910/board.c:7: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from arch/riscv/lib/boot.c:7: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] LD arch/riscv/cpu/c9xx/built-in.o [ 174s] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 174s] board/thead/light-c910/board.c:156:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 174s] 156 | int sc_err = SC_FAIL; [ 174s] | ^~~~~~ [ 174s] CC arch/riscv/lib/cache.o [ 174s] CC disk/part.o [ 174s] CC board/thead/light-c910/clock_config.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from arch/riscv/lib/cache.c:7: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from disk/part.c:7: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from board/thead/light-c910/clock_config.c:7: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] CC board/thead/light-c910/sec_check.o [ 174s] CC disk/part_efi.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from board/thead/light-c910/sec_check.c:7: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from disk/part_efi.c:13: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] CC arch/riscv/lib/thead_ipi.o [ 174s] LD cmd/riscv/built-in.o [ 174s] CC arch/riscv/lib/rdtime.o [ 174s] CC common/init/board_init.o [ 174s] CC cmd/boot.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from arch/riscv/lib/rdtime.c:10: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from cmd/boot.c:10: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from common/init/board_init.c:9: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] CC common/main.o [ 174s] CC cmd/bootm.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from common/main.c:9: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from cmd/bootm.c:10: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] LD common/init/built-in.o [ 175s] LD drivers/adc/built-in.o [ 175s] CC arch/riscv/lib/interrupts.o [ 175s] CC board/thead/light-c910/boot.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from arch/riscv/lib/interrupts.c:10: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] CC arch/riscv/lib/reset.o [ 175s] LD drivers/ata/built-in.o [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from board/thead/light-c910/boot.c:3: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from arch/riscv/lib/reset.c:6: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] LD drivers/axi/built-in.o [ 175s] LD drivers/dma/ti/built-in.o [ 175s] LD drivers/dma/built-in.o [ 175s] CC common/exports.o [ 175s] CC cmd/help.o [ 175s] CC drivers/block/blk-uclass.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from common/exports.c:1: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from cmd/help.c:7: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC drivers/gpio/dwapb_gpio.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/block/blk-uclass.c:7: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC board/thead/light-c910/sbmeta/sbmeta.o [ 175s] CC drivers/block/blkcache.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/gpio/dwapb_gpio.c:8: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] AS arch/riscv/lib/setjmp.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from board/thead/light-c910/sbmeta/sbmeta.h:9, [ 175s] from board/thead/light-c910/sbmeta/sbmeta.c:6: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/block/blkcache.c:8: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC cmd/version.o [ 175s] LD disk/built-in.o [ 175s] CC common/hash.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from cmd/version.c:7: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from common/hash.c:13: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] CC arch/riscv/lib/smp.o [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC cmd/blk_common.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from arch/riscv/lib/smp.c:7: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from cmd/blk_common.c:11: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC drivers/gpio/gpio-uclass.o [ 175s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from drivers/gpio/gpio-uclass.c:6: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] CC arch/riscv/lib/locks.o [ 176s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 176s] CC drivers/gpio/pca953x_gpio.o [ 176s] CC cmd/source.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from drivers/gpio/pca953x_gpio.c:22: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from cmd/source.c:17: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] CC common/cli_hush.o [ 176s] LD arch/riscv/lib/built-in.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from common/cli_hush.c:78: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] LD drivers/board/built-in.o [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] CC common/autoboot.o [ 176s] CC board/thead/light-c910/light-sv/pll_io_test.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from common/autoboot.c:7: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from board/thead/light-c910/light-sv/pll_io_test.c:6: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] CC cmd/bdinfo.o [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from cmd/bdinfo.c:10: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] LD drivers/block/built-in.o [ 176s] CC board/thead/light-c910/light-sv/adc_test.o [ 176s] LD drivers/cache/built-in.o [ 176s] LD drivers/gpio/built-in.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] CC board/thead/light-c910/version_rollback.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from board/thead/light-c910/version_rollback.c:7: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC drivers/cpu/cpu-uclass.o [ 177s] CC cmd/blkcache.o [ 177s] LD drivers/clk/analogbits/built-in.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from cmd/blkcache.c:8: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/cpu/cpu-uclass.c:7: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] LD drivers/clk/imx/built-in.o [ 177s] CC drivers/core/device.o [ 177s] CC drivers/cpu/riscv_cpu.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/core/device.c:11: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/cpu/riscv_cpu.c:6: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] LD drivers/clk/tegra/built-in.o [ 177s] CC drivers/core/fdtaddr.o [ 177s] CC drivers/clk/clk-uclass.o [ 177s] CC common/board_f.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/clk/clk-uclass.c:9: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] LD board/thead/light-c910/built-in.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/core/fdtaddr.c:11: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC cmd/bmp.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from common/board_f.c:12: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC drivers/clk/clk_fixed_rate.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from cmd/bmp.c:11: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/clk/clk_fixed_rate.c:6: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] LD drivers/cpu/built-in.o [ 177s] CC common/board_r.o [ 177s] CC common/board_info.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from common/board_r.c:12: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from common/board_info.c:3: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC cmd/booti.o [ 178s] CC drivers/i2c/i2c-uclass.o [ 178s] CC cmd/console.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/booti.c:7: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/i2c/i2c-uclass.c:6: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] CC cmd/cpu.o [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/console.c:10: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC drivers/core/lists.o [ 178s] CC cmd/dm.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/cpu.c:8: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/core/lists.c:11: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/dm.c:9: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC drivers/clk/clk_fixed_factor.o [ 178s] CC cmd/echo.o [ 178s] CC common/bootm.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/clk/clk_fixed_factor.c:8: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/echo.c:7: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from common/bootm.c:8: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC drivers/core/root.o [ 178s] CC cmd/elf.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/core/root.c:9: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC cmd/exit.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/elf.c:16: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/exit.c:7: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC cmd/ext4.o [ 178s] LD drivers/clk/built-in.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/ext4.c:28: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] CC drivers/core/uclass.o [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC drivers/i2c/designware_i2c.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/core/uclass.c:11: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/i2c/designware_i2c.c:8: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC drivers/crypto/fsl/sec.o [ 178s] LD drivers/crypto/rsa_mod_exp/built-in.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/crypto/fsl/sec.c:6: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC cmd/ext2.o [ 179s] CC cmd/fat.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from include/fs.h:8, [ 179s] from cmd/ext2.c:22: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from cmd/fat.c:10: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] LD drivers/crypto/fsl/built-in.o [ 179s] LD drivers/crypto/built-in.o [ 179s] LD drivers/i2c/built-in.o [ 179s] CC common/bootm_os.o [ 179s] LD drivers/net/mscc_eswitch/built-in.o [ 179s] CC drivers/core/util.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from common/bootm_os.c:7: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC drivers/core/device-remove.o [ 179s] LD drivers/net/ti/built-in.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/core/util.c:6: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC drivers/net/designware.o [ 179s] CC drivers/core/simple-bus.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/core/device-remove.c:11: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC drivers/net/phy/phy.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/core/simple-bus.c:6: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/net/designware.c:11: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC cmd/fdt.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/net/phy/phy.c:10: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from cmd/fdt.c:10: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] LD drivers/dfu/built-in.o [ 179s] CC drivers/net/phy/marvell.o [ 179s] CC common/fdt_support.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/net/phy/marvell.c:8: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from common/fdt_support.c:9: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC drivers/net/phy/realtek.o [ 179s] CC drivers/fastboot/fb_common.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/net/phy/realtek.c:9: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/fastboot/fb_common.c:13: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 180s] CC drivers/core/dump.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/core/dump.c:6: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] CC drivers/fastboot/fb_getvar.o [ 180s] LD drivers/net/built-in.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/fastboot/fb_getvar.c:6: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] CC drivers/fastboot/fb_command.o [ 180s] CC drivers/net/phy/mscc.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/fastboot/fb_command.c:6: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] CC drivers/fastboot/fb_mmc.o [ 180s] CC drivers/core/regmap.o [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from include/miiphy.h:17, [ 180s] from drivers/net/phy/mscc.c:12: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/fastboot/fb_mmc.c:7: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/core/regmap.c:7: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] CC common/miiphyutil.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from common/miiphyutil.c:12: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] CC cmd/flash.o [ 180s] CC cmd/fs.o [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from cmd/flash.c:10: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from cmd/fs.c:8: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC common/usb.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from common/usb.c:28: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] LD drivers/fastboot/built-in.o [ 181s] CC cmd/i2c.o [ 181s] CC drivers/core/syscon-uclass.o [ 181s] CC drivers/core/of_extra.o [ 181s] CC drivers/input/key_matrix.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/core/syscon-uclass.c:7: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from cmd/i2c.c:67: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC cmd/itest.o [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/core/of_extra.c:7: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/input/key_matrix.c:9: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from cmd/itest.c:14: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC drivers/core/ofnode.o [ 181s] LD drivers/net/phy/built-in.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/core/ofnode.c:7: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC drivers/core/read_extra.o [ 181s] CC cmd/load.o [ 181s] LD drivers/power/built-in.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/core/read_extra.c:7: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] CC common/usb_hub.o [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] LD drivers/input/built-in.o [ 181s] CC cmd/mem.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from cmd/load.c:10: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/mem.c:13: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from common/usb_hub.c:24: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] LD drivers/power/battery/built-in.o [ 182s] LD drivers/mailbox/built-in.o [ 182s] CC common/iomux.o [ 182s] CC cmd/mii.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from common/iomux.c:7: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] CC common/splash.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/mii.c:11: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] LD drivers/core/built-in.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from common/splash.c:23: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] CC cmd/mdio.o [ 182s] LD drivers/memory/built-in.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/mdio.c:11: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] LD drivers/misc/built-in.o [ 182s] LD drivers/power/domain/built-in.o [ 182s] CC cmd/misc.o [ 182s] CC cmd/mmc.o [ 182s] CC cmd/mtd.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/misc.c:10: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/mtd.c:12: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] CC drivers/mmc/mmc.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/mmc.c:7: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 183s] CC cmd/legacy-mtd-utils.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/mmc/mmc.c:10: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from cmd/legacy-mtd-utils.c:3: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] CC common/menu.o [ 183s] CC cmd/net.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from common/menu.c:7: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from cmd/net.c:10: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] CC cmd/part.o [ 183s] CC drivers/mmc/mmc-uclass.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from cmd/part.c:18: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/mmc/mmc-uclass.c:7: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] CC drivers/mmc/mmc_write.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/mmc/mmc_write.c:10: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] CC drivers/mmc/mmc_boot.o [ 183s] CC cmd/pxe.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/mmc/mmc_boot.c:7: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from cmd/pxe.c:7: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] CC common/cli_readline.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from common/cli_readline.c:11: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC cmd/pxe_utils.o [ 184s] CC common/cli_simple.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/pxe_utils.c:7: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from common/cli_simple.c:11: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC common/bouncebuf.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from common/bouncebuf.c:8: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC drivers/mtd/nand/core.o [ 184s] CC drivers/mtd/nand/spi/core.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/mtd/nand/core.c:12: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC drivers/mtd/nand/bbt.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/mtd/nand/spi/core.c:23: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC cmd/sf.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/mtd/nand/bbt.c:12: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC common/console.o [ 184s] CC common/dlmalloc.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/sf.c:8: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from common/dlmalloc.c:1: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from common/console.c:7: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC common/malloc_simple.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from common/malloc_simple.c:10: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 185s] CC drivers/mmc/dw_mmc.o [ 185s] CC common/image.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/mmc/dw_mmc.c:9: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from common/image.c:10: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] CC drivers/phy/phy-uclass.o [ 185s] CC drivers/mmc/snps_dw_mmc.o [ 185s] CC cmd/setexpr.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/phy/phy-uclass.c:7: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/mmc/snps_dw_mmc.c:10: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from cmd/setexpr.c:11: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] CC drivers/mmc/rpmb.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/mmc/rpmb.c:11: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] CC drivers/mmc/sdhci.o [ 185s] LD drivers/phy/built-in.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/mmc/sdhci.c:10: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 186s] LD drivers/mtd/nand/nandcore.o [ 186s] CC cmd/spi.o [ 186s] CC cmd/sysboot.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/spi.c:11: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC common/image-fdt.o [ 186s] LD drivers/phy/allwinner/built-in.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/sysboot.c:3: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC cmd/test.o [ 186s] CC drivers/mtd/nand/spi/gigadevice.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from common/image-fdt.c:11: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from include/linux/mtd/spinand.h:20, [ 186s] from drivers/mtd/nand/spi/gigadevice.c:13: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/test.c:7: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC cmd/unzip.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/unzip.c:7: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC cmd/lzmadec.o [ 186s] CC drivers/mtd/nand/spi/macronix.o [ 186s] CC common/memsize.o [ 186s] LD drivers/phy/marvell/built-in.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/lzmadec.c:12: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from include/linux/mtd/spinand.h:20, [ 186s] from drivers/mtd/nand/spi/macronix.c:12: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC drivers/mmc/snps_sdhci.o [ 186s] LD drivers/pwm/built-in.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from common/memsize.c:7: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/mmc/snps_sdhci.c:6: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] LD drivers/reset/built-in.o [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC drivers/mtd/nand/spi/micron.o [ 186s] CC drivers/rtc/rtc-lib.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/rtc/rtc-lib.c:13: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC drivers/mtd/nand/spi/winbond.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from include/linux/mtd/spinand.h:20, [ 186s] from drivers/mtd/nand/spi/micron.c:13: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from include/linux/mtd/spinand.h:20, [ 187s] from drivers/mtd/nand/spi/winbond.c:14: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] CC common/stdio.o [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] LD drivers/power/fuel_gauge/built-in.o [ 187s] CC cmd/fastboot.o [ 187s] LD drivers/power/mfd/built-in.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from common/stdio.c:12: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] LD drivers/rtc/built-in.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/fastboot.c:9: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] LD drivers/scsi/built-in.o [ 187s] LD drivers/power/pmic/built-in.o [ 187s] CC common/cli.o [ 187s] LD drivers/smem/built-in.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from common/cli.c:11: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] LD drivers/soc/built-in.o [ 187s] LD drivers/mtd/onenand/built-in.o [ 187s] LD drivers/mtd/nand/spi/spinand.o [ 187s] LD drivers/mtd/nand/spi/built-in.o [ 187s] CC cmd/usb_mass_storage.o [ 187s] LD drivers/mmc/built-in.o [ 187s] LD drivers/mtd/nand/built-in.o [ 187s] CC common/command.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/usb_mass_storage.c:10: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] CC drivers/mtd/spi/sf-uclass.o [ 187s] LD drivers/power/regulator/built-in.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from common/command.c:11: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] CC common/s_record.o [ 187s] CC cmd/ximg.o [ 187s] LD drivers/sound/built-in.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/mtd/spi/sf-uclass.c:6: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] CC drivers/serial/serial-uclass.o [ 187s] common/command.c: At top level: [ 187s] 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] [ 187s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 187s] | ^~~~~~~~~~~ [ 187s] In file included from include/image.h:45, [ 187s] from include/common.h:40: [ 187s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 187s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 187s] | ^~~~~~~~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from common/s_record.c:7: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] LD drivers/spmi/built-in.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/ximg.c:14: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/serial/serial-uclass.c:6: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] CC common/xyzModem.o [ 187s] LD drivers/thermal/built-in.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from common/xyzModem.c:24: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] CC drivers/timer/timer-uclass.o [ 188s] CC drivers/serial/ns16550.o [ 188s] CC drivers/mtd/spi/sf_probe.o [ 188s] CC drivers/timer/riscv_timer.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/timer/timer-uclass.c:6: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/serial/ns16550.c:7: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/timer/riscv_timer.c:14: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/mtd/spi/sf_probe.c:10: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] CC cmd/gpt.o [ 188s] CC drivers/mtd/spi/spi-nor-ids.o [ 188s] CC cmd/ddrscan.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from cmd/gpt.c:13: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/mtd/spi/spi-nor-ids.c:9: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from cmd/ddrscan.c:11: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] CC drivers/spi/spi-uclass.o [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/spi/spi-uclass.c:6: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] LD common/built-in.o [ 188s] LD drivers/timer/built-in.o [ 188s] CC drivers/mtd/spi/spi-nor-core.o [ 188s] CC drivers/spi/spi-mem.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/mtd/spi/spi-nor-core.c:12: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from include/spi.h:12, [ 188s] from drivers/spi/spi-mem.c:14: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] LD drivers/serial/built-in.o [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] CC cmd/nvedit.o [ 188s] LD drivers/ufs/built-in.o [ 188s] LD drivers/usb/cdns3/built-in.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from cmd/nvedit.c:26: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 189s] LD drivers/usb/common/built-in.o [ 189s] CC drivers/spi/designware_spi.o [ 189s] CC drivers/spi/designware_qspi.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/spi/designware_spi.c:12: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/spi/designware_qspi.c:12: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] CC drivers/usb/dwc3/core.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/usb/dwc3/core.c:16: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] CC drivers/usb/dwc3/gadget.o [ 189s] CC drivers/video/bridge/video-bridge-uclass.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/video/bridge/video-bridge-uclass.c:7: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] LD drivers/mtd/spi/spi-nor.o [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/usb/dwc3/gadget.c:16: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] LD drivers/mtd/spi/built-in.o [ 189s] LD drivers/spi/built-in.o [ 189s] CC drivers/video/light/vs_dpu.o [ 189s] CC drivers/mtd/mtdcore.o [ 189s] CC drivers/usb/dwc3/ep0.o [ 189s] LD drivers/video/sunxi/built-in.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/video/light/vs_dpu.c:3: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/usb/dwc3/ep0.c:15: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] CC drivers/mtd/mtd_uboot.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from include/ubi_uboot.h:17, [ 189s] from drivers/mtd/mtdcore.c:30: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/mtd/mtd_uboot.c:6: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] LD cmd/built-in.o [ 189s] LD drivers/video/bridge/built-in.o [ 189s] LD drivers/watchdog/built-in.o [ 189s] CC drivers/video/light/dw_dsi_light.o [ 189s] CC drivers/video/light/dw_dsi_host.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/light/dw_dsi_host.c:3: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/light/dw_dsi_light.c:3: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] CC drivers/video/console_normal.o [ 190s] LD drivers/usb/emul/built-in.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/console_normal.c:10: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] LD drivers/usb/eth/built-in.o [ 190s] CC drivers/mtd/mtd-uclass.o [ 190s] CC drivers/video/backlight-uclass.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/mtd/mtd-uclass.c:6: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/backlight-uclass.c:7: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] LD drivers/usb/dwc3/dwc3.o [ 190s] CC drivers/video/light/phy-dw-dphy.o [ 190s] CC drivers/mtd/mtdpart.o [ 190s] CC drivers/video/dsi-host-uclass.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/dsi-host-uclass.c:8: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/light/phy-dw-dphy.c:3: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/mtd/mtdpart.c:20: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] CC drivers/video/panel-uclass.o [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] CC drivers/video/simple_panel.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/panel-uclass.c:7: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/simple_panel.c:7: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] CC drivers/video/video-uclass.o [ 190s] CC drivers/usb/gadget/epautoconf.o [ 190s] CC drivers/usb/gadget/udc/udc-core.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/usb/gadget/epautoconf.c:11: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/video-uclass.c:6: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 190s] from drivers/usb/gadget/udc/udc-core.c:19: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] LD drivers/usb/host/built-in.o [ 191s] CC drivers/usb/gadget/config.o [ 191s] LD drivers/usb/dwc3/built-in.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/usb/gadget/config.c:11: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] CC drivers/video/vidconsole-uclass.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/video/vidconsole-uclass.c:10: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] LD drivers/usb/musb/built-in.o [ 191s] CC drivers/usb/gadget/udc/udc-uclass.o [ 191s] CC drivers/usb/gadget/usbstring.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/usb/gadget/usbstring.c:9: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/usb/gadget/udc/udc-uclass.c:7: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] CC drivers/video/video_bmp.o [ 191s] LD drivers/video/light/built-in.o [ 191s] CC drivers/video/ilitek-ili9881c.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/video/video_bmp.c:6: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] CC drivers/video/mipi_dsi.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/video/ilitek-ili9881c.c:3: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/video/mipi_dsi.c:35: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] LD drivers/usb/musb-new/built-in.o [ 191s] LD drivers/usb/phy/built-in.o [ 191s] CC drivers/usb/gadget/g_dnl.o [ 191s] LD drivers/usb/gadget/udc/built-in.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/usb/gadget/g_dnl.c:9: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] CC drivers/usb/gadget/f_mass_storage.o [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] CC drivers/usb/gadget/f_fastboot.o [ 191s] LD drivers/usb/ulpi/built-in.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/usb/gadget/f_mass_storage.c:245: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/usb/gadget/f_fastboot.c:14: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] LD drivers/mtd/mtd.o [ 191s] LD drivers/mtd/built-in.o [ 191s] DTC arch/riscv/dts/light-a-ref.dtb [ 191s] DTC arch/riscv/dts/light-b-ref.dtb [ 192s] DTC arch/riscv/dts/light-a-val.dtb [ 192s] CC env/common.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from env/common.c:10: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] DTC arch/riscv/dts/light-b-product.dtb [ 192s] LD drivers/video/built-in.o [ 192s] DTC arch/riscv/dts/light-a-product.dtb [ 192s] LD drivers/built-in.o [ 192s] DTC arch/riscv/dts/light-ant-ref.dtb [ 192s] CC fs/ext4/ext4fs.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from fs/ext4/ext4fs.c:23: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] CC fs/ext4/ext4_common.o [ 192s] CC fs/fat/fat_write.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from fs/fat/fat_write.c:8: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from fs/ext4/ext4_common.c:21: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] DTC arch/riscv/dts/light-beagle.dtb [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] CC env/env.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from env/env.c:7: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] CC fs/ext4/dev.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from fs/ext4/dev.c:25: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] DTC arch/riscv/dts/light-b-power.dtb [ 193s] CC env/attr.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from env/attr.c:12: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] CC net/checksum.o [ 193s] DTC arch/riscv/dts/light-lpi4a.dtb [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from net/checksum.c:10: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] CC fs/ext4/ext4_write.o [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from fs/ext4/ext4_write.c:24: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] CC env/callback.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from env/callback.c:7: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 193s] LD drivers/usb/gadget/built-in.o [ 193s] CC net/arp.o [ 193s] CC env/flags.o [ 193s] LD lib/crypto/built-in.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from net/arp.c:12: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from env/flags.c:21: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 193s] CC lib/lzma/LzmaDec.o [ 193s] CC lib/libfdt/fdt.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/lzma/LzmaDec.c:5: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] CC lib/zlib/zlib.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/zlib/zlib.c:15: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] CC fs/ext4/ext4_journal.o [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from fs/ext4/ext4_journal.c:16: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] CC net/bootp.o [ 194s] SHIPPED dts/dt.dtb [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from net/bootp.c:11: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] DTB dts/dt.dtb.S [ 194s] AS dts/dt.dtb.o [ 194s] LD dts/built-in.o [ 194s] CC fs/ext4/crc16.o [ 194s] CC env/fat.o [ 194s] CC net/eth-uclass.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from fs/ext4/crc16.c:8: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from env/fat.c:9: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from net/eth-uclass.c:8: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] CC lib/libfdt/fdt_wip.o [ 194s] LD env/built-in.o [ 194s] CC lib/crc7.o [ 194s] CC lib/libfdt/fdt_strerror.o [ 195s] CC net/eth_common.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from net/eth_common.c:8: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] CC lib/crc8.o [ 195s] CC lib/libfdt/fdt_sw.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/crc8.c:9: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] CC lib/lzma/LzmaTools.o [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/lzma/LzmaTools.c:21: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] CC lib/libfdt/fdt_rw.o [ 195s] LD fs/ext4/built-in.o [ 195s] CC fs/fs.o [ 195s] CC lib/crc16.o [ 195s] CC net/net.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from fs/fs.c:8: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/crc16.c:28: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from net/net.c:90: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] LD lib/lzma/built-in.o [ 195s] LD fs/fat/built-in.o [ 195s] CC net/nfs.o [ 195s] CC lib/image-sparse.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from net/nfs.c:29: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/image-sparse.c:38: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] CC lib/libfdt/fdt_empty_tree.o [ 196s] CC lib/ldiv.o [ 196s] CC lib/libfdt/fdt_addresses.o [ 196s] CC lib/libfdt/fdt_ro.o [ 196s] CC net/ping.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from net/ping.h:15, [ 196s] from net/ping.c:12: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC lib/libfdt/fdt_region.o [ 196s] CC fs/fs_internal.o [ 196s] CC net/tftp.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from fs/fs_internal.c:8: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from net/tftp.c:9: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] CC net/fastboot.o [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from net/fastboot.c:6: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC lib/net_utils.o [ 196s] LD fs/built-in.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from lib/net_utils.c:12: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC lib/rc4.o [ 196s] CC lib/sha256.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from lib/rc4.c:11: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from lib/sha256.c:9: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC lib/list_sort.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from lib/list_sort.c:7: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] LD net/built-in.o [ 196s] CC lib/gunzip.o [ 196s] CC lib/fdtdec_common.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from lib/gunzip.c:7: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC lib/fdtdec.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from lib/fdtdec_common.c:11: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/fdtdec.c:7: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC lib/qsort.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/qsort.c:19: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC lib/hashtable.o [ 197s] CC lib/errno.o [ 197s] LD lib/libfdt/built-in.o [ 197s] LD lib/zlib/built-in.o [ 197s] CC lib/display_options.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/hashtable.c:32: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC lib/crc32.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/display_options.c:7: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/crc32.c:15: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC lib/ctype.o [ 197s] CC lib/div64.o [ 197s] CC lib/hang.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/linux/math64.h:5, [ 197s] from lib/div64.c:22: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/hang.c:10: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC lib/linux_compat.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/linux_compat.c:2: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC lib/linux_string.o [ 197s] CC lib/lmb.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/lmb.c:9: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC lib/membuff.o [ 197s] CC lib/slre.o [ 197s] CC lib/string.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/membuff.c:9: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from lib/slre.c:23: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC lib/tables_csum.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/tables_csum.c:6: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] CC lib/time.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/time.c:7: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] CC lib/hexdump.o [ 198s] CC lib/uuid.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/hexdump.c:11: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/uuid.c:6: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] CC lib/rand.o [ 198s] CC lib/panic.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/rand.c:10: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/panic.c:12: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] CC lib/vsprintf.o [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] CC lib/strto.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/vsprintf.c:16: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/strto.c:12: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] CC lib/abuf.o [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] CC lib/date.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/abuf.c:10: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from lib/date.c:7: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 202s] LD lib/built-in.o [ 202s] CC examples/standalone/hello_world.o [ 202s] CC examples/standalone/stubs.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from examples/standalone/hello_world.c:7: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from examples/standalone/stubs.c:1: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 203s] LD examples/standalone/libstubs.o [ 203s] LD examples/standalone/hello_world [ 203s] OBJCOPY examples/standalone/hello_world.srec [ 203s] OBJCOPY examples/standalone/hello_world.bin [ 203s] LD u-boot [ 205s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 205s] OBJCOPY u-boot.srec [ 205s] OBJCOPY u-boot-nodtb.bin [ 205s] FDTGREP dts/dt-spl.dtb [ 205s] SYM u-boot.sym [ 206s] COPY u-boot.bin [ 206s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 206s] CC spl/arch/riscv/cpu/cpu.o [ 206s] CC spl/common/spl/spl.o [ 206s] CC spl/board/thead/common/board_common.o [ 206s] CC spl/common/init/board_init.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from arch/riscv/cpu/c9xx/dram.c:7: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from arch/riscv/cpu/cpu.c:6: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from common/spl/spl.c:9: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from common/init/board_init.c:9: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from board/thead/common/board_common.c:7: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/board/thead/light-c910/spl.o [ 206s] CC spl/arch/riscv/lib/bootm.o [ 206s] CC spl/common/fdt_support.o [ 206s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 206s] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 206s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 206s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 206s] | ^ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from board/thead/light-c910/spl.c:8: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from common/fdt_support.c:9: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from arch/riscv/lib/bootm.c:9: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] LD spl/common/init/built-in.o [ 206s] AS spl/arch/riscv/cpu/mtrap.o [ 206s] CC spl/common/bouncebuf.o [ 206s] arch/riscv/lib/bootm.c: At top level: [ 206s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 206s] 34 | extern void secondary_entry(); [ 206s] | ^~~~~~ [ 206s] LD spl/board/thead/common/built-in.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from common/bouncebuf.c:8: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] MKIMAGE u-boot.img [ 206s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 206s] AS spl/arch/riscv/cpu/start.o [ 206s] CC spl/common/spl/spl_mmc.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from arch/riscv/cpu/c9xx/feature.c:1: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] CC spl/cmd/nvedit.o [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from common/spl/spl_mmc.c:8: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/arch/riscv/lib/image.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from cmd/nvedit.c:26: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/board/thead/light-c910/sys_clk.o [ 206s] LD spl/arch/riscv/cpu/built-in.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from arch/riscv/lib/image.c:9: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/arch/riscv/lib/boot.o [ 206s] CC spl/arch/riscv/lib/cache.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from board/thead/light-c910/sys_clk.c:7: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from arch/riscv/lib/boot.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from arch/riscv/lib/cache.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] CC spl/common/spl/spl_ram.o [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from common/spl/spl_ram.c:12: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/common/console.o [ 207s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 207s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from common/console.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/arch/riscv/lib/thead_ipi.o [ 207s] LD spl/cmd/built-in.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from board/thead/light-c910/lpddr-regu/ddr_regu.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 207s] CC spl/env/common.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] LD spl/common/spl/built-in.o [ 207s] CC spl/arch/riscv/lib/rdtime.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from env/common.c:10: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 207s] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 207s] CC spl/arch/riscv/lib/interrupts.o [ 207s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 207s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 207s] | ^~~~~~~~~~~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from arch/riscv/lib/rdtime.c:10: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from arch/riscv/lib/interrupts.c:10: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/env/env.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from env/env.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/arch/riscv/lib/reset.o [ 207s] CC spl/disk/part.o [ 207s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 207s] CC spl/disk/part_efi.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from arch/riscv/lib/reset.c:6: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from disk/part.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from disk/part_efi.c:13: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/common/dlmalloc.o [ 207s] AS spl/arch/riscv/lib/setjmp.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from common/dlmalloc.c:1: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 208s] LD spl/env/built-in.o [ 208s] CC spl/lib/fdtdec_common.o [ 208s] CC spl/arch/riscv/lib/smp.o [ 208s] CC spl/lib/libfdt/fdt.o [ 208s] CC spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from arch/riscv/lib/smp.c:7: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from lib/fdtdec_common.c:11: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/drivers/block/blk-uclass.o [ 208s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from drivers/block/blk-uclass.c:7: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/arch/riscv/lib/spl.o [ 208s] CC spl/lib/libfdt/fdt_wip.o [ 208s] CC spl/common/malloc_simple.o [ 208s] CC spl/lib/libfdt/fdt_strerror.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from common/malloc_simple.c:10: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from arch/riscv/lib/spl.c:6: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] FDTGREP spl/dts/dt-spl.dtb [ 208s] CC spl/common/image.o [ 208s] CC spl/lib/libfdt/fdt_sw.o [ 208s] LD spl/disk/built-in.o [ 208s] DTB spl/dts/dt-spl.dtb.S [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from common/image.c:10: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/arch/riscv/lib/locks.o [ 208s] CC spl/fs/fs_internal.o [ 208s] AS spl/dts/dt-spl.dtb.o [ 208s] CC spl/lib/libfdt/fdt_rw.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from fs/fs_internal.c:8: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] LD spl/dts/built-in.o [ 209s] LD spl/arch/riscv/lib/built-in.o [ 209s] CC spl/lib/fdtdec.o [ 209s] CC spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 209s] CC spl/lib/libfdt/fdt_empty_tree.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/fdtdec.c:7: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] LD spl/fs/built-in.o [ 209s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 209s] LD spl/drivers/block/built-in.o [ 209s] CC spl/lib/libfdt/fdt_addresses.o [ 209s] LDS spl/u-boot-spl.lds [ 209s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:7:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 209s] 7 | int dwc_ddrphy_phyinit_regInterface(); [ 209s] | ^~~ [ 209s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:995:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 209s] 995 | int dwc_ddrphy_phyinit_regInterface() { [ 209s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 209s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 209s] CC spl/lib/qsort.o [ 209s] LD spl/drivers/clk/analogbits/built-in.o [ 209s] CC spl/drivers/core/device.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/qsort.c:19: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] CC spl/drivers/cpu/cpu-uclass.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from drivers/core/device.c:11: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from drivers/cpu/cpu-uclass.c:7: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] LD spl/drivers/clk/imx/built-in.o [ 209s] CC spl/common/image-fdt.o [ 209s] LD spl/drivers/clk/tegra/built-in.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from common/image-fdt.c:11: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] CC spl/lib/libfdt/fdt_ro.o [ 209s] CC spl/drivers/clk/clk-uclass.o [ 209s] CC spl/common/memsize.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from common/memsize.c:7: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from drivers/clk/clk-uclass.c:9: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 210s] CC spl/drivers/cpu/riscv_cpu.o [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from drivers/cpu/riscv_cpu.c:6: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] CC spl/drivers/core/fdtaddr.o [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from drivers/core/fdtaddr.c:11: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] CC spl/common/stdio.o [ 210s] CC spl/drivers/clk/clk_fixed_rate.o [ 210s] LD spl/drivers/cpu/built-in.o [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from common/stdio.c:12: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] CC spl/drivers/core/lists.o [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from drivers/clk/clk_fixed_rate.c:6: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from drivers/core/lists.c:11: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] LD spl/board/thead/light-c910/built-in.o [ 210s] CC spl/lib/hashtable.o [ 210s] CC spl/common/cli.o [ 210s] CC spl/drivers/clk/clk_fixed_factor.o [ 210s] CC spl/drivers/core/root.o [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from lib/hashtable.c:32: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from common/cli.c:11: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from drivers/clk/clk_fixed_factor.c:8: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] CC spl/drivers/mmc/mmc.o [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from drivers/core/root.c:9: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] CC spl/lib/errno.o [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] In file included from include/linux/bitops.h:136, [ 210s] from include/common.h:26, [ 210s] from drivers/mmc/mmc.c:10: [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 210s] 98 | out = __test_and_clear_bit(nr, addr); [ 210s] | ^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 210s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 210s] | ~~~~~~^~~~ [ 210s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 210s] 95 | unsigned long flags = 0; [ 210s] | ^~~~~ [ 210s] CC spl/drivers/core/uclass.o [ 210s] CC spl/lib/libfdt/fdt_region.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from drivers/core/uclass.c:11: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] LD spl/drivers/mtd/built-in.o [ 211s] CC spl/drivers/core/util.o [ 211s] LD spl/drivers/clk/built-in.o [ 211s] CC spl/common/command.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from drivers/core/util.c:6: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/common/s_record.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from common/command.c:11: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/lib/display_options.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from common/s_record.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] common/command.c: At top level: [ 211s] 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] [ 211s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 211s] | ^~~~~~~~~~~ [ 211s] In file included from include/image.h:45, [ 211s] from include/common.h:40: [ 211s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 211s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 211s] | ^~~~~~~~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from lib/display_options.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/drivers/core/simple-bus.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from drivers/core/simple-bus.c:6: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] CC spl/drivers/mmc/mmc-uclass.o [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/lib/crc32.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from drivers/mmc/mmc-uclass.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from lib/crc32.c:15: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/drivers/core/dump.o [ 211s] CC spl/lib/ctype.o [ 211s] CC spl/common/xyzModem.o [ 211s] LD spl/lib/libfdt/built-in.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from drivers/core/dump.c:6: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/lib/div64.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from common/xyzModem.c:24: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/drivers/serial/serial-uclass.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/linux/math64.h:5, [ 211s] from lib/div64.c:22: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from drivers/serial/serial-uclass.c:6: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/drivers/mmc/mmc_boot.o [ 212s] CC spl/lib/hang.o [ 212s] CC spl/lib/linux_compat.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/mmc/mmc_boot.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from lib/hang.c:10: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/lib/linux_string.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from lib/linux_compat.c:2: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/drivers/core/of_extra.o [ 212s] CC spl/drivers/timer/timer-uclass.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/core/of_extra.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/drivers/serial/ns16550.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/serial/ns16550.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/timer/timer-uclass.c:6: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/drivers/core/ofnode.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/core/ofnode.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] LD spl/common/built-in.o [ 212s] CC spl/drivers/mmc/dw_mmc.o [ 212s] CC spl/drivers/mmc/snps_dw_mmc.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/mmc/dw_mmc.c:9: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/drivers/core/read_extra.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/mmc/snps_dw_mmc.c:10: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] CC spl/lib/lmb.o [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from lib/lmb.c:9: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/core/read_extra.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/lib/membuff.o [ 212s] CC spl/drivers/timer/riscv_timer.o [ 212s] LD spl/drivers/serial/built-in.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from lib/membuff.c:9: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/lib/slre.o [ 212s] CC spl/drivers/mmc/rpmb.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/timer/riscv_timer.c:14: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from lib/slre.c:23: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/mmc/rpmb.c:11: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/lib/string.o [ 213s] CC spl/drivers/mmc/sdhci.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from drivers/mmc/sdhci.c:10: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/lib/tables_csum.o [ 213s] LD spl/drivers/timer/built-in.o [ 213s] LD spl/drivers/core/built-in.o [ 213s] CC spl/lib/time.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/tables_csum.c:6: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] CC spl/lib/hexdump.o [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/drivers/mmc/snps_sdhci.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/time.c:7: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] CC spl/lib/uuid.o [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/uuid.c:6: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/hexdump.c:11: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from drivers/mmc/snps_sdhci.c:6: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/lib/rand.o [ 213s] CC spl/lib/panic.o [ 213s] CC spl/lib/vsprintf.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/panic.c:12: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/rand.c:10: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/vsprintf.c:16: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/lib/strto.o [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/lib/abuf.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/abuf.c:10: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/strto.c:12: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/lib/date.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/date.c:7: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 214s] LD spl/drivers/mmc/built-in.o [ 214s] LD spl/lib/built-in.o [ 214s] LD spl/drivers/built-in.o [ 214s] LD spl/u-boot-spl [ 214s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 214s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 214s] COPY spl/u-boot-spl.bin [ 215s] CAT u-boot-with-spl.bin [ 215s] ===================== WARNING ====================== [ 215s] This board does not use CONFIG_DM_USB. Please update [ 215s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 215s] Failure to update by the deadline may result in board removal. [ 215s] See doc/driver-model/MIGRATION.txt for more info. [ 215s] ==================================================== [ 215s] ===================== WARNING ====================== [ 215s] CONFIG_OF_EMBED is enabled. This option should only [ 215s] be used for debugging purposes. Please use [ 215s] CONFIG_OF_SEPARATE for boards in mainline. [ 215s] See doc/README.fdt-control for more info. [ 215s] ==================================================== [ 215s] CFGCHK u-boot.cfg [ 215s] + ./scripts/get_default_envs.sh [ 216s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 216s] + rm default_envs.txt [ 216s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 216s] Image Name: Tizen LicheePi4A Board Script [ 216s] Created: Fri Oct 25 09:57:12 2024 [ 216s] Image Type: RISC-V Linux Script (uncompressed) [ 216s] Data Size: 4158 Bytes = 4.06 KiB = 0.00 MiB [ 216s] Load Address: 00000000 [ 216s] Entry Point: 00000000 [ 216s] Contents: [ 216s] Image 0: 4150 Bytes = 4.05 KiB = 0.00 MiB [ 216s] + exit 0 [ 216s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.etn4mG [ 216s] + umask 022 [ 216s] + cd /home/abuild/rpmbuild/BUILD [ 216s] + cd u-boot-2020.01 [ 216s] + LANG=C [ 216s] + export LANG [ 216s] + unset DISPLAY [ 216s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 216s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 216s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 216s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot [ 216s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp [ 216s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 216s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 216s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 216s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 216s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 216s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 216s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 216s] + /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 [ 217s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debuginfo.manifest [ 217s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debugsource.manifest [ 218s] + /usr/lib/rpm/check-buildroot [ 218s] + /usr/lib/rpm//brp-compress [ 218s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 218s] + /usr/lib/rpm/brp-python-hardlink [ 218s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 218s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 218s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 218s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 218s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 223s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 223s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 223s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 223s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 223s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 223s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 223s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 223s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 223s] Processing files: u-boot-lpi4a-16g-2020.01-0.riscv64 [ 223s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 223s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 223s] [ 223s] Provides: u-boot-lpi4a-16g = 2020.01-0 u-boot-lpi4a-16g(riscv-64) = 2020.01-0 [ 223s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 223s] Processing files: u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64 [ 223s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 223s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 223s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 223s] [ 223s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 226s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-lpi4a-16g-2020.01-0.src.rpm [ 233s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-2020.01-0.riscv64.rpm [ 233s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64.rpm [ 233s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Er95L1 [ 233s] + umask 022 [ 233s] + cd /home/abuild/rpmbuild/BUILD [ 233s] + cd u-boot-2020.01 [ 233s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 233s] + exit 0 [ 233s] ... checking for files with abuild user/group [ 233s] ... creating baselibs [ 234s] [ 234s] ip-192-168-56-78 finished "build u-boot-lpi4a-16g.spec" at Fri Oct 25 09:57:30 UTC 2024. [ 234s]