[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.19 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-58 started "build u-boot-lpi4a-8g.spec" at Sat Dec 28 02:47:11 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/u-boot-lpi4a-8g-2020.01-0/u-boot-lpi4a-8g.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j32 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241227.060200/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241227.060200/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/u-boot-lpi4a-8g-2020.01-0/u-boot-lpi4a-8g.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.19/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.19/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/riscv64/RPMS [ 0s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241227.060200/repos/standard/packages/ [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241227.060200/repos/standard/debug/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 6s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 6s] breaking dependency libxcrypt-devel -> glibc-devel [ 6s] cycle: libsoftokn3 -> nss [ 6s] breaking dependency nss -> libsoftokn3 [ 6s] reordering done [ 7s] deleting db4 [ 7s] deleting fdupes [ 7s] deleting gettext-runtime [ 7s] deleting gettext-tools [ 8s] deleting gio-branding-upstream [ 8s] deleting glib2-devel [ 8s] deleting glib2-tools [ 8s] deleting intltool [ 8s] deleting keyutils-devel [ 8s] deleting libblkid-devel [ 8s] deleting libffi-devel [ 8s] deleting libgio [ 9s] deleting libgirepository2 [ 9s] deleting libglib [ 9s] deleting libgmodule [ 9s] deleting libgobject [ 10s] deleting libgthread [ 10s] deleting libkeyutils [ 10s] deleting libmount-devel [ 10s] deleting libopenssl11 [ 10s] deleting libpython [ 11s] deleting nspr-devel [ 11s] deleting nss-devel [ 11s] deleting pam-devel [ 11s] deleting pcre2 [ 11s] deleting pcre2-devel [ 11s] deleting pcre2-syntax [ 11s] deleting pcre2-utf16 [ 11s] deleting pcre2-utf32 [ 11s] deleting perl-XML-Parser [ 11s] deleting python [ 12s] deleting python-devel [ 12s] deleting python3-packaging [ 12s] deleting python3-pyparsing [ 12s] deleting python3-six [ 12s] deleting shared-mime-info [ 13s] [1/112] keeping libmagic-data-5.45-1.8 [ 13s] [2/112] cumulate opensbi-1.5-0 [ 13s] [3/112] keeping setup-0.9-1.5 [ 13s] [4/112] keeping filesystem-3.1-1.1 [ 13s] [5/112] keeping glibc-2.40-1.1 [ 13s] [6/112] keeping bash-3.2.57-1.1 [ 13s] [7/112] keeping cpio-2.8-1.1 [ 13s] [8/112] keeping diffutils-3.10-1.1 [ 13s] [9/112] keeping findutils-4.3.8-1.8 [ 13s] [10/112] keeping gdbm-1.8.3-1.12 [ 13s] [11/112] keeping hostname-3.23-1.1 [ 13s] [12/112] keeping libatomic-14.2.0-1.11 [ 13s] [13/112] keeping libattr-2.5.1-1.9 [ 13s] [14/112] keeping libblkid-2.39.3-1.8 [ 13s] [15/112] keeping libbz2-1.0.8-1.10 [ 13s] [16/112] keeping libexpat-2.6.2-1.11 [ 13s] [17/112] keeping libffi-3.4.2-1.10 [ 13s] [18/112] keeping libfreebl3-3.98-1.13 [ 13s] [19/112] keeping libgcc-14.2.0-1.11 [ 13s] [20/112] keeping libgomp-14.2.0-1.11 [ 13s] [21/112] keeping libitm-14.2.0-1.11 [ 13s] [22/112] keeping libltdl-2.4.7-1.12 [ 13s] [23/112] keeping liblua-5.1.5-1.8 [ 13s] [24/112] keeping liblzma-5.6.3-1.4 [ 13s] [25/112] keeping libopenssl3-3.0.13-1.12 [ 13s] [26/112] keeping libpcre-8.45-1.8 [ 13s] [27/112] keeping libpopt-1.16-1.8 [ 13s] [28/112] keeping libpython3_121_0-3.12.0-1.11 [ 13s] [29/112] keeping libsmack-1.3.1-1.8 [ 13s] [30/112] keeping libsmartcols-2.39.3-1.8 [ 13s] [31/112] keeping libsqlite-3.48.0-1.5 [ 13s] [32/112] keeping libuuid-2.39.3-1.8 [ 13s] [33/112] keeping libxcrypt-4.4.36-1.10 [ 13s] [34/112] keeping libzstd1-1.5.6-1.4 [ 13s] [35/112] keeping m4-1.4.19-1.1 [ 13s] [36/112] keeping net-tools-2.0_20121208git-1.7 [ 13s] [37/112] keeping nspr-4.35-1.8 [ 13s] [38/112] keeping patch-2.7.6-1.8 [ 13s] [39/112] keeping pkg-config-0.29.2-1.10 [ 13s] [40/112] keeping sed-4.1c-1.8 [ 13s] [41/112] keeping update-alternatives-1.22.2-1.1 [ 13s] [42/112] keeping which-2.17-1.1 [ 13s] [43/112] keeping zlib-1.3.1-1.4 [ 13s] [44/112] keeping build-compare-2023.06.18-1.5 [ 13s] [45/112] keeping hal-rootstrap-checker-0.1.0-2.1 [ 13s] [46/112] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.5 [ 13s] [47/112] keeping binutils-libs-2.43-1.12 [ 13s] [48/112] keeping coreutils-6.9-14.4 [ 13s] [49/112] keeping cpp-14.2.0-1.11 [ 13s] [50/112] cumulate flex-2.6.4-1.10 [ 13s] [51/112] keeping gawk-3.1.5-1.1 [ 13s] [52/112] keeping gcc-c++-14.2.0-1.11 [ 13s] [53/112] keeping grep-2.5.2-1.8 [ 13s] [54/112] keeping libacl-2.3.2-1.8 [ 13s] [55/112] keeping libcap-2.69-1.10 [ 13s] [56/112] keeping libelf-0.189-1.11 [ 13s] [57/112] keeping libgfortran-14.2.0-1.11 [ 13s] [58/112] keeping libmount-2.39.3-1.8 [ 13s] [59/112] keeping libstdc++-14.2.0-1.11 [ 13s] [60/112] keeping make-4.4-1.8 [ 13s] [61/112] keeping nss-certs-3.98-1.13 [ 13s] [62/112] keeping smack-1.3.1-1.8 [ 13s] [63/112] cumulate bison-3.0.5-1.10 [ 13s] [64/112] keeping bzip2-1.0.8-1.10 [ 13s] [65/112] keeping libfdisk-2.39.3-1.8 [ 13s] [66/112] keeping libmagic-5.45-1.8 [ 13s] [67/112] keeping libxml2-2.12.5-1.9 [ 13s] [68/112] keeping xz-5.6.3-1.4 [ 13s] [69/112] keeping perl-5.38.0-1.10 [ 13s] [70/112] keeping build-mkbaselibs-20120927-1.1 [ 13s] [71/112] keeping libstdc++-devel-14.2.0-1.11 [ 13s] [72/112] keeping linux-glibc-devel-6.6-1.11 [ 13s] [73/112] keeping binutils-2.43-1.12 [ 13s] [74/112] keeping file-5.45-1.8 [ 13s] [75/112] keeping tar-1.17-1.1 [ 13s] [76/112] keeping terminfo-base-full-6.4-1.12 [ 13s] [77/112] keeping autoconf-2.71-1.13 [ 13s] [78/112] keeping glibc-locale-2.40-1.1 [ 13s] [79/112] keeping gzip-1.3.12-1.8 [ 13s] [80/112] keeping libcc1-14.2.0-1.11 [ 13s] [81/112] keeping libubsan-14.2.0-1.11 [ 13s] [82/112] keeping pam-1.1.6-1.8 [ 13s] [83/112] cumulate swig-4.0.2-0 [ 13s] [84/112] keeping tzdata-2023c-1.1 [ 13s] [85/112] keeping libdw-0.189-1.11 [ 13s] [86/112] keeping libarchive-3.7.2-1.10 [ 13s] [87/112] keeping automake-1.16.5-1.12 [ 13s] [88/112] keeping libasm-0.189-1.11 [ 13s] [89/112] keeping libncurses6-6.4-1.12 [ 13s] [90/112] keeping build-20120927-1.1 [ 13s] [91/112] keeping gcc-14.2.0-1.11 [ 13s] [92/112] keeping libncurses-6.4-1.12 [ 13s] [93/112] keeping less-668-1.1 [ 13s] [94/112] keeping libreadline-5.2-1.10 [ 13s] [95/112] keeping qemu-accel-x86_64-riscv64-0.4-1.5 [ 13s] [96/112] keeping libtool-2.4.7-1.12 [ 13s] [97/112] keeping elfutils-0.189-1.11 [ 13s] [98/112] cumulate bc-1.06-1.1 [ 13s] [99/112] keeping python3-base-3.12.0-1.11 [ 13s] [100/112] keeping util-linux-2.39.3-1.8 [ 13s] [101/112] keeping python3-3.12.0-1.1 [ 13s] [102/112] keeping util-linux-su-2.39.3-1.8 [ 13s] [103/112] cumulate python3-devel-3.12.0-1.11 [ 13s] [104/112] keeping python3-setuptools-69.0.2-1.5 [ 13s] [105/112] keeping libxcrypt-devel-4.4.36-1.10 [ 13s] [106/112] keeping nss-3.98-1.13 [ 13s] [107/112] keeping glibc-devel-2.40-1.1 [ 13s] [108/112] keeping libsoftokn3-3.98-1.13 [ 13s] [109/112] keeping rpm-4.14.1.1-1.12 [ 13s] [110/112] keeping zlib-devel-1.3.1-1.4 [ 13s] [111/112] keeping rpm-build-4.14.1.1-1.12 [ 13s] [112/112] cumulate libopenssl3-devel-3.0.13-1.12 [ 13s] now installing cumulated packages [ 13s] Preparing... ######################################## [ 13s] Updating / installing... [ 13s] libopenssl3-devel-3.0.13-1.12 ######################################## [ 13s] python3-devel-3.12.0-1.11 ######################################## [ 13s] bc-1.06-1.1 ######################################## [ 13s] swig-4.0.2-0 ######################################## [ 14s] bison-3.0.5-1.10 ######################################## [ 14s] flex-2.6.4-1.10 ######################################## [ 14s] opensbi-1.5-0 ######################################## [ 14s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.19/etc/nsswitch.conf... [ 14s] now finalizing build dir... [ 15s] ----------------------------------------------------------------- [ 15s] ----- building u-boot-lpi4a-8g.spec (user abuild) [ 15s] ----------------------------------------------------------------- [ 15s] ----------------------------------------------------------------- [ 15s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j32' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 15s] Building target platforms: riscv64-tizen-linux [ 15s] Building for target riscv64-tizen-linux [ 15s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QAQJiJ [ 15s] + umask 022 [ 15s] + cd /home/abuild/rpmbuild/BUILD [ 15s] + cd /home/abuild/rpmbuild/BUILD [ 15s] + rm -rf u-boot-2020.01 [ 15s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 15s] + /bin/tar -xof - [ 22s] + STATUS=0 [ 22s] + '[' 0 -ne 0 ']' [ 22s] + cd u-boot-2020.01 [ 22s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 23s] + exit 0 [ 23s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BMc6dl [ 23s] + umask 022 [ 23s] + cd /home/abuild/rpmbuild/BUILD [ 23s] + cd u-boot-2020.01 [ 23s] + ref=/usr/lib/rpm [ 23s] + mints=0 [ 23s] + case $(uname -m) in [ 23s] ++ uname -m [ 23s] + mints=20160911 [ 23s] + for s in guess sub [ 23s] ++ find -maxdepth 8 -name config.guess [ 23s] + for s in guess sub [ 23s] ++ find -maxdepth 8 -name config.sub [ 23s] + LANG=C [ 23s] + export LANG [ 23s] + unset DISPLAY [ 23s] + 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' [ 23s] + export CFLAGS [ 23s] + 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' [ 23s] + export CXXFLAGS [ 23s] + 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' [ 23s] + export FFLAGS [ 23s] + LDFLAGS= [ 23s] + export LDFLAGS [ 23s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-8g.manifest . [ 23s] + CONFIG=tizen_lpi4a_8g_defconfig [ 23s] + make mrproper [ 25s] + make tizen_lpi4a_8g_defconfig [ 25s] HOSTCC scripts/basic/fixdep [ 26s] HOSTCC scripts/kconfig/conf.o [ 26s] YACC scripts/kconfig/zconf.tab.c [ 26s] LEX scripts/kconfig/zconf.lex.c [ 27s] HOSTCC scripts/kconfig/zconf.tab.o [ 30s] HOSTLD scripts/kconfig/conf [ 30s] # [ 30s] # configuration written to .config [ 30s] # [ 30s] + 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 [ 32s] HOSTCC scripts/basic/fixdep [ 33s] HOSTCC scripts/kconfig/conf.o [ 33s] HOSTCC scripts/kconfig/zconf.tab.o [ 37s] HOSTLD scripts/kconfig/conf [ 37s] scripts/kconfig/conf --syncconfig Kconfig [ 38s] CHK include/config.h [ 38s] UPD include/config.h [ 38s] CFG u-boot.cfg [ 38s] GEN include/autoconf.mk.dep [ 38s] CFG spl/u-boot.cfg [ 38s] GEN include/autoconf.mk [ 38s] GEN spl/include/autoconf.mk [ 40s] CHK include/config/uboot.release [ 40s] CHK include/generated/timestamp_autogenerated.h [ 40s] HOSTCC scripts/basic/fixdep [ 40s] UPD include/config/uboot.release [ 40s] CHK include/generated/version_autogenerated.h [ 40s] UPD include/generated/version_autogenerated.h [ 40s] UPD include/generated/timestamp_autogenerated.h [ 40s] CC lib/asm-offsets.s [ 40s] CC arch/riscv/lib/asm-offsets.s [ 40s] HOSTCC scripts/dtc/dtc.o [ 40s] HOSTCC scripts/dtc/flattree.o [ 40s] HOSTCC scripts/dtc/data.o [ 40s] HOSTCC scripts/dtc/livetree.o [ 40s] HOSTCC scripts/dtc/treesource.o [ 40s] HOSTCC scripts/dtc/fstree.o [ 40s] In file included from include/linux/bitops.h:136, [ 40s] from include/common.h:26, [ 40s] from arch/riscv/lib/asm-offsets.c:11: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 40s] 98 | out = __test_and_clear_bit(nr, addr); [ 40s] | ^~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 40s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 40s] | ~~~~~~^~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 40s] 95 | unsigned long flags = 0; [ 40s] | ^~~~~ [ 40s] In file included from include/linux/bitops.h:136, [ 40s] from include/common.h:26, [ 40s] from lib/asm-offsets.c:14: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 40s] 98 | out = __test_and_clear_bit(nr, addr); [ 40s] | ^~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 40s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 40s] | ~~~~~~^~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 40s] 95 | unsigned long flags = 0; [ 40s] | ^~~~~ [ 40s] CHK include/generated/asm-offsets.h [ 40s] UPD include/generated/asm-offsets.h [ 40s] CHK include/generated/generic-asm-offsets.h [ 40s] UPD include/generated/generic-asm-offsets.h [ 40s] HOSTCC scripts/dtc/srcpos.o [ 40s] HOSTCC scripts/dtc/checks.o [ 40s] HOSTCC scripts/dtc/util.o [ 41s] LEX scripts/dtc/dtc-lexer.lex.c [ 41s] YACC scripts/dtc/dtc-parser.tab.h [ 41s] YACC scripts/dtc/dtc-parser.tab.c [ 41s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 41s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 41s] HOSTLD scripts/dtc/dtc [ 41s] HOSTCC tools/bmp_logo [ 41s] HOSTCC tools/gen_eth_addr [ 41s] WRAP tools/lib/crc8.c [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 41s] HOSTCC tools/gen_ethaddr_crc.o [ 41s] HOSTCC tools/img2srec [ 41s] HOSTCC tools/mkenvimage.o [ 41s] HOSTCC tools/os_support.o [ 41s] WRAP tools/lib/crc32.c [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 41s] HOSTCC tools/aisimage.o [ 41s] HOSTCC tools/atmelimage.o [ 42s] WRAP tools/common/bootm.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 42s] HOSTCC tools/lib/crc32.o [ 42s] HOSTCC tools/default_image.o [ 42s] WRAP tools/lib/fdtdec_common.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 42s] WRAP tools/lib/fdtdec.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 42s] WRAP tools/common/image.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 42s] HOSTCC tools/imagetool.o [ 42s] HOSTCC tools/imximage.o [ 42s] HOSTCC tools/imx8image.o [ 42s] HOSTCC tools/imx8mimage.o [ 42s] HOSTCC tools/kwbimage.o [ 42s] WRAP tools/lib/md5.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/md5.c'. [ 42s] HOSTCC tools/lpc32xximage.o [ 42s] HOSTCC tools/mxsimage.o [ 42s] HOSTCC tools/omapimage.o [ 42s] HOSTCC tools/pblimage.o [ 42s] HOSTCC tools/pbl_crc32.o [ 42s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 42s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 42s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 42s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 42s] 251 | int zero = 0; [ 42s] | ^~~~ [ 42s] In file included from tools/imagetool.h:21, [ 42s] from tools/imx8mimage.c:9: [ 42s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 42s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 42s] | ^~~~~ [ 42s] tools/imx8image.c: In function 'copy_file.constprop': [ 42s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 42s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 42s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 42s] 367 | int zero = 0; [ 42s] | ^~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 42s] from include/imx8image.h:13, [ 42s] from tools/imx8image.c:8: [ 42s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 42s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 42s] | ^~~~~ [ 42s] HOSTCC tools/vybridimage.o [ 42s] HOSTCC tools/stm32image.o [ 42s] WRAP tools/lib/rc4.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/rc4.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/rc4.c'. [ 42s] HOSTCC tools/rkcommon.o [ 42s] HOSTCC tools/rkimage.o [ 42s] HOSTCC tools/rkspi.o [ 42s] HOSTCC tools/rksd.o [ 42s] HOSTCC tools/socfpgaimage.o [ 42s] WRAP tools/lib/crc16.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc16.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc16.c'. [ 42s] WRAP tools/lib/sha1.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha1.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha1.c'. [ 42s] WRAP tools/lib/sha256.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha256.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha256.c'. [ 42s] WRAP tools/common/hash.c [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/hash.c'. [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/hash.c'. [ 42s] HOSTCC tools/ublimage.o [ 42s] HOSTCC tools/zynqimage.o [ 42s] HOSTCC tools/zynqmpimage.o [ 42s] HOSTCC tools/zynqmpbif.o [ 42s] HOSTCC tools/libfdt/fdt.o [ 42s] HOSTCC tools/libfdt/fdt_wip.o [ 42s] HOSTCC tools/libfdt/fdt_sw.o [ 42s] HOSTCC tools/libfdt/fdt_rw.o [ 42s] HOSTCC tools/libfdt/fdt_strerror.o [ 42s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 42s] HOSTCC tools/libfdt/fdt_addresses.o [ 43s] HOSTCC tools/libfdt/fdt_overlay.o [ 43s] WRAP tools/lib/libfdt/fdt_ro.c [ 43s] /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'. [ 43s] /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'. [ 43s] WRAP tools/lib/libfdt/fdt_region.c [ 43s] /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'. [ 43s] /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'. [ 43s] HOSTCC tools/gpimage.o [ 43s] HOSTCC tools/gpimage-common.o [ 43s] HOSTCC tools/mtk_image.o [ 43s] HOSTCC tools/dumpimage.o [ 43s] HOSTCC tools/common/bootm.o [ 43s] HOSTCC tools/lib/fdtdec_common.o [ 43s] HOSTCC tools/lib/fdtdec.o [ 43s] HOSTCC tools/common/image.o [ 43s] HOSTCC tools/lib/md5.o [ 43s] HOSTCC tools/lib/rc4.o [ 43s] HOSTCC tools/lib/crc16.o [ 43s] HOSTCC tools/lib/sha1.o [ 43s] HOSTCC tools/lib/sha256.o [ 43s] HOSTCC tools/common/hash.o [ 43s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 43s] HOSTCC tools/lib/libfdt/fdt_region.o [ 43s] HOSTCC tools/mkimage.o [ 43s] HOSTCC tools/proftool [ 43s] HOSTCC tools/prelink-riscv [ 43s] HOSTCC tools/fdtgrep.o [ 43s] HOSTCC tools/spl_size_limit [ 43s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 43s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 44s] HOSTCC tools/lib/crc8.o [ 44s] HOSTLD tools/mkenvimage [ 44s] HOSTLD tools/gen_ethaddr_crc [ 44s] HOSTLD tools/fdtgrep [ 46s] HOSTLD tools/mkimage [ 46s] HOSTLD tools/dumpimage [ 46s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 46s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 46s] ++ echo platform/kernel/u-boot-thead#2798bead8cc5bbd8856e04485abbc79889d32839 [ 46s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 46s] + make -j8 EXTRAVERSION=-g2798bead8-TIZEN.org [ 47s] HOSTCC scripts/basic/fixdep [ 49s] HOSTCC scripts/kconfig/conf.o [ 50s] HOSTCC scripts/kconfig/zconf.tab.o [ 53s] HOSTLD scripts/kconfig/conf [ 53s] scripts/kconfig/conf --syncconfig Kconfig [ 54s] CHK include/config.h [ 54s] CFG u-boot.cfg [ 54s] GEN include/autoconf.mk.dep [ 54s] CFG spl/u-boot.cfg [ 54s] GEN include/autoconf.mk [ 54s] GEN spl/include/autoconf.mk [ 58s] CHK include/config/uboot.release [ 58s] CHK include/generated/timestamp_autogenerated.h [ 58s] UPD include/config/uboot.release [ 58s] UPD include/generated/timestamp_autogenerated.h [ 59s] CHK include/generated/version_autogenerated.h [ 59s] UPD include/generated/version_autogenerated.h [ 59s] HOSTCC scripts/dtc/dtc.o [ 59s] HOSTCC scripts/dtc/flattree.o [ 59s] HOSTCC scripts/dtc/fstree.o [ 59s] HOSTCC scripts/dtc/data.o [ 59s] HOSTCC scripts/dtc/livetree.o [ 59s] HOSTCC scripts/dtc/treesource.o [ 59s] HOSTCC scripts/dtc/srcpos.o [ 59s] HOSTCC scripts/dtc/checks.o [ 59s] HOSTCC scripts/dtc/util.o [ 59s] CC lib/asm-offsets.s [ 59s] CC arch/riscv/lib/asm-offsets.s [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from lib/asm-offsets.c:14: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] In file included from include/linux/bitops.h:136, [ 59s] from include/common.h:26, [ 59s] from arch/riscv/lib/asm-offsets.c:11: [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 59s] 98 | out = __test_and_clear_bit(nr, addr); [ 59s] | ^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 59s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 59s] | ~~~~~~^~~~ [ 59s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 59s] 95 | unsigned long flags = 0; [ 59s] | ^~~~~ [ 59s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 59s] CHK include/generated/asm-offsets.h [ 59s] CHK include/generated/generic-asm-offsets.h [ 60s] LDS u-boot.lds [ 60s] HOSTLD scripts/dtc/dtc [ 60s] HOSTCC tools/bmp_logo [ 60s] HOSTCC tools/gen_eth_addr [ 60s] HOSTCC tools/gen_ethaddr_crc.o [ 60s] HOSTCC tools/lib/crc8.o [ 60s] HOSTCC tools/img2srec [ 60s] HOSTCC tools/mkenvimage.o [ 60s] HOSTCC tools/os_support.o [ 60s] HOSTCC tools/lib/crc32.o [ 60s] HOSTCC tools/aisimage.o [ 60s] HOSTCC tools/atmelimage.o [ 60s] HOSTCC tools/common/bootm.o [ 60s] HOSTCC tools/default_image.o [ 60s] HOSTCC tools/lib/fdtdec_common.o [ 60s] HOSTCC tools/lib/fdtdec.o [ 61s] HOSTCC tools/common/image.o [ 61s] In file included from tools/default_image.c:20: [ 61s] In function 'image_set_name', [ 61s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 61s] HOSTCC tools/imagetool.o [ 61s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 61s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 61s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 61s] HOSTCC tools/imximage.o [ 61s] HOSTCC tools/imx8image.o [ 61s] HOSTCC tools/imx8mimage.o [ 61s] HOSTCC tools/kwbimage.o [ 61s] HOSTCC tools/lib/md5.o [ 61s] HOSTCC tools/lpc32xximage.o [ 61s] HOSTCC tools/mxsimage.o [ 61s] tools/imx8image.c: In function 'copy_file.constprop': [ 61s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 61s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 61s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 61s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 61s] 367 | int zero = 0; [ 61s] | ^~~~ [ 61s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 61s] from include/imx8image.h:13, [ 61s] from tools/imx8image.c:8: [ 61s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 61s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 61s] | ^~~~~ [ 61s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 61s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 61s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 61s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 61s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 61s] 251 | int zero = 0; [ 61s] | ^~~~ [ 61s] In file included from tools/imagetool.h:21, [ 61s] from tools/imx8mimage.c:9: [ 61s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 61s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 61s] | ^~~~~ [ 61s] HOSTCC tools/omapimage.o [ 61s] HOSTCC tools/pblimage.o [ 61s] HOSTCC tools/pbl_crc32.o [ 61s] HOSTCC tools/vybridimage.o [ 61s] HOSTCC tools/stm32image.o [ 61s] HOSTCC tools/lib/rc4.o [ 61s] HOSTCC tools/rkcommon.o [ 61s] HOSTCC tools/rksd.o [ 61s] HOSTCC tools/rkimage.o [ 61s] HOSTCC tools/rkspi.o [ 61s] HOSTCC tools/socfpgaimage.o [ 61s] HOSTCC tools/lib/crc16.o [ 62s] HOSTCC tools/lib/sha1.o [ 62s] HOSTCC tools/lib/sha256.o [ 62s] HOSTCC tools/common/hash.o [ 62s] HOSTCC tools/ublimage.o [ 62s] HOSTCC tools/zynqimage.o [ 62s] HOSTCC tools/zynqmpimage.o [ 62s] HOSTCC tools/zynqmpbif.o [ 62s] HOSTCC tools/libfdt/fdt.o [ 62s] HOSTCC tools/libfdt/fdt_wip.o [ 62s] HOSTCC tools/libfdt/fdt_sw.o [ 62s] HOSTCC tools/libfdt/fdt_rw.o [ 62s] HOSTCC tools/libfdt/fdt_strerror.o [ 62s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 62s] HOSTCC tools/libfdt/fdt_addresses.o [ 62s] HOSTCC tools/libfdt/fdt_overlay.o [ 62s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 62s] HOSTCC tools/lib/libfdt/fdt_region.o [ 62s] HOSTCC tools/gpimage.o [ 62s] HOSTCC tools/gpimage-common.o [ 63s] HOSTCC tools/mtk_image.o [ 63s] HOSTCC tools/dumpimage.o [ 63s] HOSTCC tools/mkimage.o [ 63s] HOSTCC tools/proftool [ 63s] HOSTCC tools/prelink-riscv [ 63s] HOSTCC tools/fdtgrep.o [ 63s] HOSTCC tools/spl_size_limit [ 63s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 63s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 63s] HOSTLD tools/gen_ethaddr_crc [ 63s] HOSTLD tools/mkenvimage [ 63s] HOSTLD tools/fdtgrep [ 64s] HOSTLD tools/dumpimage [ 64s] HOSTLD tools/mkimage [ 64s] CC arch/riscv/cpu/cpu.o [ 64s] AS arch/riscv/cpu/mtrap.o [ 64s] AS arch/riscv/cpu/start.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from arch/riscv/cpu/cpu.c:6: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC arch/riscv/cpu/c9xx/dram.o [ 64s] CC arch/riscv/cpu/c9xx/cpu.o [ 64s] CC arch/riscv/cpu/c9xx/feature.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from arch/riscv/cpu/c9xx/feature.c:1: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from arch/riscv/cpu/c9xx/dram.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC board/thead/common/board_common.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from board/thead/common/board_common.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] CC arch/riscv/lib/bootm.o [ 64s] CC board/thead/light-c910/light.o [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from arch/riscv/lib/bootm.c:9: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from board/thead/light-c910/light.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] LD arch/riscv/cpu/built-in.o [ 64s] arch/riscv/lib/bootm.c: At top level: [ 64s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 64s] 34 | extern void secondary_entry(); [ 64s] | ^~~~~~ [ 64s] LD board/thead/common/built-in.o [ 64s] CC board/thead/light-c910/board.o [ 64s] CC arch/riscv/lib/image.o [ 64s] LD arch/riscv/cpu/c9xx/built-in.o [ 64s] CC arch/riscv/lib/boot.o [ 64s] board/thead/light-c910/light.c: In function 'do_board_check_hibernate': [ 64s] board/thead/light-c910/light.c:2563:14: warning: variable 'fastresume' set but not used [-Wunused-but-set-variable] [ 64s] 2563 | bool fastresume = 0; [ 64s] | ^~~~~~~~~~ [ 64s] board/thead/light-c910/light.c: In function 'do_fixup_memory_region': [ 64s] CC arch/riscv/lib/cache.o [ 64s] board/thead/light-c910/light.c:2728:90: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] [ 64s] 2728 | printf("fixup memory region from [0x%09lx ~ 0x%09lx] to [0x%09lx ~ 0x%09lx]\n", [ 64s] | ~~~~^ [ 64s] | | [ 64s] | long unsigned int [ 64s] | %09llx [ 64s] 2729 | gd->ram_base, gd->ram_base+gd->ram_size, gd->ram_base, gd->ram_base+size); [ 64s] | ~~~~~~~~~~~~~~~~~ [ 64s] | | [ 64s] | long long unsigned int [ 64s] board/thead/light-c910/light.c:2709:13: warning: variable 'base' set but not used [-Wunused-but-set-variable] [ 64s] 2709 | u64 base, size; [ 64s] | ^~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from board/thead/light-c910/board.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from arch/riscv/lib/image.c:9: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from arch/riscv/lib/cache.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from arch/riscv/lib/boot.c:7: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] LD cmd/riscv/built-in.o [ 64s] CC common/init/board_init.o [ 64s] CC cmd/boot.o [ 64s] CC cmd/bootm.o [ 64s] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 64s] board/thead/light-c910/board.c:283:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 64s] 283 | int sc_err = SC_FAIL; [ 64s] | ^~~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from cmd/boot.c:10: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from common/init/board_init.c:9: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 64s] In file included from include/linux/bitops.h:136, [ 64s] from include/common.h:26, [ 64s] from cmd/bootm.c:10: [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 64s] 98 | out = __test_and_clear_bit(nr, addr); [ 64s] | ^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 64s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 64s] | ~~~~~~^~~~ [ 64s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 64s] 95 | unsigned long flags = 0; [ 64s] | ^~~~~ [ 65s] CC cmd/help.o [ 65s] CC arch/riscv/lib/thead_ipi.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from cmd/help.c:7: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC disk/part.o [ 65s] CC disk/part_efi.o [ 65s] LD common/init/built-in.o [ 65s] CC board/thead/light-c910/clock_config.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/clock_config.c:7: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC common/main.o [ 65s] CC arch/riscv/lib/rdtime.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from disk/part.c:7: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC board/thead/light-c910/sec_check.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from disk/part_efi.c:13: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/lib/rdtime.c:10: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/main.c:9: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC cmd/version.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/sec_check.c:7: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from cmd/version.c:7: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC arch/riscv/lib/interrupts.o [ 65s] LD drivers/adc/built-in.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/lib/interrupts.c:10: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] LD drivers/ata/built-in.o [ 65s] CC common/exports.o [ 65s] LD drivers/axi/built-in.o [ 65s] CC arch/riscv/lib/reset.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/exports.c:1: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC cmd/blk_common.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/lib/reset.c:6: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC drivers/block/blk-uclass.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from cmd/blk_common.c:11: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from drivers/block/blk-uclass.c:7: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] AS arch/riscv/lib/setjmp.o [ 65s] CC drivers/block/blkcache.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from drivers/block/blkcache.c:8: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC common/hash.o [ 65s] CC board/thead/light-c910/boot.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/hash.c:13: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC arch/riscv/lib/smp.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/boot.c:3: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC cmd/source.o [ 65s] CC common/cli_hush.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from arch/riscv/lib/smp.c:7: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from cmd/source.c:17: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from common/cli_hush.c:78: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC arch/riscv/lib/locks.o [ 65s] CC board/thead/light-c910/sbmeta/sbmeta.o [ 65s] LD disk/built-in.o [ 65s] CC cmd/bdinfo.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/sbmeta/sbmeta.h:9, [ 65s] from board/thead/light-c910/sbmeta/sbmeta.c:6: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] CC cmd/blkcache.o [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from cmd/bdinfo.c:10: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from cmd/blkcache.c:8: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC board/thead/light-c910/lpddr4/src/ddr_retention.o [ 65s] LD arch/riscv/lib/built-in.o [ 65s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 65s] LD drivers/block/built-in.o [ 65s] LD drivers/board/built-in.o [ 65s] LD drivers/cache/built-in.o [ 65s] LD drivers/clk/analogbits/built-in.o [ 65s] LD drivers/dma/ti/built-in.o [ 65s] LD drivers/clk/imx/built-in.o [ 65s] CC cmd/bmp.o [ 65s] LD drivers/dma/built-in.o [ 65s] CC board/thead/light-c910/light-sv/pll_io_test.o [ 65s] LD drivers/clk/tegra/built-in.o [ 65s] CC drivers/clk/clk-uclass.o [ 65s] CC drivers/clk/clk_fixed_rate.o [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from cmd/bmp.c:11: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from board/thead/light-c910/light-sv/pll_io_test.c:6: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from drivers/clk/clk-uclass.c:9: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] In file included from include/linux/bitops.h:136, [ 65s] from include/common.h:26, [ 65s] from drivers/clk/clk_fixed_rate.c:6: [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 65s] 98 | out = __test_and_clear_bit(nr, addr); [ 65s] | ^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 65s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 65s] | ~~~~~~^~~~ [ 65s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 65s] 95 | unsigned long flags = 0; [ 65s] | ^~~~~ [ 65s] CC drivers/clk/clk_fixed_factor.o [ 65s] CC board/thead/light-c910/light-sv/adc_test.o [ 65s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/clk/clk_fixed_factor.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC board/thead/light-c910/version_rollback.o [ 66s] CC cmd/booti.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from board/thead/light-c910/version_rollback.c:7: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from cmd/booti.c:7: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC cmd/console.o [ 66s] CC drivers/gpio/dwapb_gpio.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from cmd/console.c:10: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/gpio/dwapb_gpio.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC cmd/cpu.o [ 66s] CC common/autoboot.o [ 66s] CC drivers/i2c/i2c-uclass.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from cmd/cpu.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] LD drivers/clk/built-in.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/autoboot.c:7: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/i2c/i2c-uclass.c:6: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] LD board/thead/light-c910/built-in.o [ 66s] CC drivers/gpio/gpio-uclass.o [ 66s] CC drivers/i2c/designware_i2c.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/gpio/gpio-uclass.c:6: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC drivers/core/device.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/core/device.c:11: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC cmd/dm.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/i2c/designware_i2c.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from cmd/dm.c:9: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC common/board_f.o [ 66s] CC cmd/echo.o [ 66s] CC drivers/gpio/pca953x_gpio.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/board_f.c:12: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from cmd/echo.c:7: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/gpio/pca953x_gpio.c:22: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC common/board_r.o [ 66s] LD drivers/i2c/built-in.o [ 66s] LD drivers/net/mscc_eswitch/built-in.o [ 66s] LD drivers/net/ti/built-in.o [ 66s] CC drivers/net/designware.o [ 66s] CC drivers/core/fdtaddr.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/board_r.c:12: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/net/designware.c:11: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/core/fdtaddr.c:11: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC cmd/elf.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from cmd/elf.c:16: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC common/board_info.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/board_info.c:3: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC common/bootm.o [ 66s] LD drivers/gpio/built-in.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from common/bootm.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC drivers/core/lists.o [ 66s] CC drivers/net/phy/phy.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/core/lists.c:11: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC drivers/cpu/cpu-uclass.o [ 66s] CC drivers/net/phy/marvell.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/net/phy/phy.c:10: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC drivers/cpu/riscv_cpu.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/cpu/cpu-uclass.c:7: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/net/phy/marvell.c:8: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/cpu/riscv_cpu.c:6: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] LD drivers/net/built-in.o [ 66s] CC drivers/crypto/fsl/sec.o [ 66s] In file included from include/linux/bitops.h:136, [ 66s] from include/common.h:26, [ 66s] from drivers/crypto/fsl/sec.c:6: [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 66s] 98 | out = __test_and_clear_bit(nr, addr); [ 66s] | ^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 66s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 66s] | ~~~~~~^~~~ [ 66s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 66s] 95 | unsigned long flags = 0; [ 66s] | ^~~~~ [ 66s] CC drivers/net/phy/realtek.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/net/phy/realtek.c:9: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC cmd/exit.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from cmd/exit.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] LD drivers/crypto/fsl/built-in.o [ 67s] CC common/bootm_os.o [ 67s] CC drivers/core/root.o [ 67s] LD drivers/cpu/built-in.o [ 67s] LD drivers/crypto/rsa_mod_exp/built-in.o [ 67s] LD drivers/crypto/built-in.o [ 67s] CC common/fdt_support.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/bootm_os.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC drivers/core/uclass.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/root.c:9: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/uclass.c:11: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/fdt_support.c:9: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] LD drivers/power/built-in.o [ 67s] CC drivers/core/util.o [ 67s] CC cmd/ext4.o [ 67s] CC drivers/core/device-remove.o [ 67s] CC drivers/net/phy/mscc.o [ 67s] CC drivers/core/simple-bus.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from cmd/ext4.c:28: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] LD drivers/power/battery/built-in.o [ 67s] CC cmd/ext2.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/device-remove.c:11: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/util.c:6: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/simple-bus.c:6: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from include/miiphy.h:17, [ 67s] from drivers/net/phy/mscc.c:12: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from include/fs.h:8, [ 67s] from cmd/ext2.c:22: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC drivers/core/dump.o [ 67s] CC cmd/fat.o [ 67s] CC common/miiphyutil.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/dump.c:6: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/miiphyutil.c:12: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC drivers/core/regmap.o [ 67s] CC drivers/core/syscon-uclass.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from cmd/fat.c:10: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC drivers/core/of_extra.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/regmap.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/syscon-uclass.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/of_extra.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC drivers/core/ofnode.o [ 67s] CC cmd/fdt.o [ 67s] CC drivers/core/read_extra.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/ofnode.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from cmd/fdt.c:10: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/core/read_extra.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC common/usb.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/usb.c:28: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC common/usb_hub.o [ 67s] LD drivers/net/phy/built-in.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/usb_hub.c:24: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC common/iomux.o [ 67s] CC common/splash.o [ 67s] LD drivers/power/domain/built-in.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/iomux.c:7: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from common/splash.c:23: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC cmd/flash.o [ 67s] LD drivers/dfu/built-in.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from cmd/flash.c:10: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC drivers/fastboot/fb_common.o [ 67s] CC drivers/fastboot/fb_getvar.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/fastboot/fb_common.c:13: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 67s] CC drivers/fastboot/fb_command.o [ 67s] In file included from include/linux/bitops.h:136, [ 67s] from include/common.h:26, [ 67s] from drivers/fastboot/fb_getvar.c:6: [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 67s] 98 | out = __test_and_clear_bit(nr, addr); [ 67s] | ^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 67s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 67s] | ~~~~~~^~~~ [ 67s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 67s] 95 | unsigned long flags = 0; [ 67s] | ^~~~~ [ 68s] CC drivers/fastboot/fb_mmc.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/fastboot/fb_command.c:6: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] LD drivers/core/built-in.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/fastboot/fb_mmc.c:7: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC cmd/fs.o [ 68s] CC drivers/input/key_matrix.o [ 68s] LD drivers/power/fuel_gauge/built-in.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/input/key_matrix.c:9: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from cmd/fs.c:8: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC common/menu.o [ 68s] CC cmd/i2c.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from common/menu.c:7: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] LD drivers/power/mfd/built-in.o [ 68s] LD drivers/power/pmic/built-in.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from cmd/i2c.c:67: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC cmd/itest.o [ 68s] LD drivers/fastboot/built-in.o [ 68s] LD drivers/power/regulator/built-in.o [ 68s] LD drivers/mailbox/built-in.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from cmd/itest.c:14: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] LD drivers/memory/built-in.o [ 68s] CC drivers/serial/serial-uclass.o [ 68s] LD drivers/input/built-in.o [ 68s] CC drivers/spi/spi-uclass.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/serial/serial-uclass.c:6: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC drivers/misc/misc-uclass.o [ 68s] CC drivers/spi/spi-mem.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/spi/spi-uclass.c:6: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC common/cli_readline.o [ 68s] LD drivers/usb/cdns3/built-in.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from include/spi.h:12, [ 68s] from drivers/spi/spi-mem.c:14: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC common/cli_simple.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from common/cli_readline.c:11: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from common/cli_simple.c:11: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/misc/misc-uclass.c:6: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC drivers/misc/light_regu.o [ 68s] CC drivers/serial/ns16550.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/misc/light_regu.c:1: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/serial/ns16550.c:7: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC cmd/load.o [ 68s] CC drivers/spi/designware_spi.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/spi/designware_spi.c:12: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from cmd/load.c:10: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC drivers/mmc/mmc.o [ 68s] CC common/bouncebuf.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/mmc/mmc.c:10: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from common/bouncebuf.c:8: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC drivers/spi/designware_qspi.o [ 68s] CC common/console.o [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from drivers/spi/designware_qspi.c:12: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] In file included from include/linux/bitops.h:136, [ 68s] from include/common.h:26, [ 68s] from common/console.c:7: [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 68s] 98 | out = __test_and_clear_bit(nr, addr); [ 68s] | ^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 68s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 68s] | ~~~~~~^~~~ [ 68s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 68s] 95 | unsigned long flags = 0; [ 68s] | ^~~~~ [ 68s] CC cmd/mem.o [ 68s] LD drivers/serial/built-in.o [ 68s] CC cmd/mii.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from cmd/mem.c:13: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC cmd/mdio.o [ 69s] LD drivers/usb/common/built-in.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from cmd/mii.c:11: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from cmd/mdio.c:11: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC drivers/mtd/nand/spi/core.o [ 69s] LD drivers/spi/built-in.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from drivers/mtd/nand/spi/core.c:23: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC drivers/mtd/nand/core.o [ 69s] CC common/dlmalloc.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from drivers/mtd/nand/core.c:12: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from common/dlmalloc.c:1: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC drivers/mtd/nand/bbt.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from drivers/mtd/nand/bbt.c:12: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] LD drivers/misc/built-in.o [ 69s] CC drivers/phy/phy-uclass.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from drivers/phy/phy-uclass.c:7: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC common/malloc_simple.o [ 69s] CC common/image.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from common/malloc_simple.c:10: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC cmd/misc.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from common/image.c:10: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from cmd/misc.c:10: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC cmd/mmc.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from cmd/mmc.c:7: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC drivers/mmc/mmc-uclass.o [ 69s] CC drivers/mtd/nand/spi/gigadevice.o [ 69s] LD drivers/mtd/onenand/built-in.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from include/linux/mtd/spinand.h:20, [ 69s] from drivers/mtd/nand/spi/gigadevice.c:13: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC drivers/mtd/nand/spi/macronix.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from drivers/mmc/mmc-uclass.c:7: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] LD drivers/phy/allwinner/built-in.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from include/linux/mtd/spinand.h:20, [ 69s] from drivers/mtd/nand/spi/macronix.c:12: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC drivers/mtd/nand/spi/micron.o [ 69s] LD drivers/phy/built-in.o [ 69s] CC drivers/mtd/nand/spi/winbond.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from include/linux/mtd/spinand.h:20, [ 69s] from drivers/mtd/nand/spi/micron.c:13: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from include/linux/mtd/spinand.h:20, [ 69s] from drivers/mtd/nand/spi/winbond.c:14: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] LD drivers/phy/marvell/built-in.o [ 69s] LD drivers/pwm/built-in.o [ 69s] CC cmd/mtd.o [ 69s] CC cmd/legacy-mtd-utils.o [ 69s] CC common/image-fdt.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from common/image-fdt.c:11: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from cmd/mtd.c:12: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] CC common/memsize.o [ 69s] CC drivers/mmc/mmc_write.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from common/memsize.c:7: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] LD drivers/mtd/nand/spi/spinand.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from cmd/legacy-mtd-utils.c:3: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] LD drivers/mtd/nand/spi/built-in.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from drivers/mmc/mmc_write.c:10: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 69s] LD drivers/mtd/nand/nandcore.o [ 69s] LD drivers/mtd/nand/built-in.o [ 69s] CC drivers/mtd/spi/sf-uclass.o [ 69s] CC drivers/mmc/mmc_boot.o [ 69s] In file included from include/linux/bitops.h:136, [ 69s] from include/common.h:26, [ 69s] from drivers/mmc/mmc_boot.c:7: [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 69s] 98 | out = __test_and_clear_bit(nr, addr); [ 69s] | ^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 69s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 69s] | ~~~~~~^~~~ [ 69s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 69s] 95 | unsigned long flags = 0; [ 69s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mtd/spi/sf-uclass.c:6: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC cmd/net.o [ 70s] CC common/stdio.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from cmd/net.c:10: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC drivers/mtd/mtdcore.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from common/stdio.c:12: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from include/ubi_uboot.h:17, [ 70s] from drivers/mtd/mtdcore.c:30: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] LD drivers/reset/built-in.o [ 70s] CC drivers/mmc/dw_mmc.o [ 70s] CC drivers/usb/dwc3/core.o [ 70s] LD drivers/usb/emul/built-in.o [ 70s] CC drivers/mtd/spi/sf_probe.o [ 70s] CC drivers/mmc/snps_dw_mmc.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/usb/dwc3/core.c:16: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mmc/dw_mmc.c:9: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC drivers/usb/dwc3/gadget.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mmc/snps_dw_mmc.c:10: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC cmd/part.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mtd/spi/sf_probe.c:10: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/usb/dwc3/gadget.c:16: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC common/cli.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from cmd/part.c:18: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from common/cli.c:11: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC drivers/mtd/spi/spi-nor-ids.o [ 70s] CC common/command.o [ 70s] CC cmd/pxe.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from common/command.c:11: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mtd/spi/spi-nor-ids.c:9: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from cmd/pxe.c:7: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC drivers/mmc/rpmb.o [ 70s] common/command.c: At top level: [ 70s] 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] [ 70s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 70s] | ^~~~~~~~~~~ [ 70s] In file included from include/image.h:45, [ 70s] from include/common.h:40: [ 70s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 70s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 70s] | ^~~~~~~~~~~ [ 70s] CC drivers/rtc/rtc-lib.o [ 70s] CC drivers/usb/dwc3/ep0.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mmc/rpmb.c:11: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/usb/dwc3/ep0.c:15: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/rtc/rtc-lib.c:13: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC drivers/mtd/spi/spi-nor-core.o [ 70s] LD drivers/scsi/built-in.o [ 70s] CC drivers/mmc/sdhci.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mtd/spi/spi-nor-core.c:12: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mmc/sdhci.c:10: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC cmd/pxe_utils.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from cmd/pxe_utils.c:7: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] LD drivers/rtc/built-in.o [ 70s] CC common/s_record.o [ 70s] CC drivers/mmc/snps_sdhci.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from common/s_record.c:7: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from drivers/mmc/snps_sdhci.c:6: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] LD drivers/usb/dwc3/dwc3.o [ 70s] CC cmd/read.o [ 70s] In file included from include/linux/bitops.h:136, [ 70s] from include/common.h:26, [ 70s] from cmd/read.c:11: [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 70s] 98 | out = __test_and_clear_bit(nr, addr); [ 70s] | ^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 70s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 70s] | ~~~~~~^~~~ [ 70s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 70s] 95 | unsigned long flags = 0; [ 70s] | ^~~~~ [ 70s] CC common/xyzModem.o [ 70s] CC drivers/mtd/mtd_uboot.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from common/xyzModem.c:24: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/mtd/mtd_uboot.c:6: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD drivers/usb/dwc3/built-in.o [ 71s] CC cmd/sf.o [ 71s] CC drivers/mtd/mtd-uclass.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/sf.c:8: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD drivers/mtd/spi/spi-nor.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/mtd/mtd-uclass.c:6: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD drivers/mtd/spi/built-in.o [ 71s] LD drivers/smem/built-in.o [ 71s] LD drivers/soc/built-in.o [ 71s] LD drivers/mmc/built-in.o [ 71s] CC cmd/setexpr.o [ 71s] CC cmd/spi.o [ 71s] LD drivers/sound/built-in.o [ 71s] LD drivers/spmi/built-in.o [ 71s] CC cmd/sysboot.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/setexpr.c:11: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] CC cmd/test.o [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/spi.c:11: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] CC cmd/unzip.o [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/sysboot.c:3: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/test.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC drivers/mtd/mtdpart.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/mtd/mtdpart.c:20: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/unzip.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] LD common/built-in.o [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD drivers/thermal/built-in.o [ 71s] CC cmd/lzmadec.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/lzmadec.c:12: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC drivers/timer/timer-uclass.o [ 71s] LD drivers/ufs/built-in.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/timer/timer-uclass.c:6: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD drivers/watchdog/built-in.o [ 71s] CC cmd/fastboot.o [ 71s] CC cmd/usb_mass_storage.o [ 71s] CC drivers/timer/riscv_timer.o [ 71s] LD drivers/usb/eth/built-in.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/fastboot.c:9: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC cmd/ximg.o [ 71s] CC drivers/video/bridge/video-bridge-uclass.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/timer/riscv_timer.c:14: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/usb_mass_storage.c:10: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/video/bridge/video-bridge-uclass.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/ximg.c:14: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC drivers/video/light/vs_dpu.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/video/light/vs_dpu.c:3: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] LD drivers/timer/built-in.o [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC drivers/video/light/dw_dsi_light.o [ 71s] CC drivers/usb/gadget/epautoconf.o [ 71s] CC drivers/video/light/dw_dsi_host.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/video/light/dw_dsi_light.c:3: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC drivers/usb/gadget/config.o [ 71s] CC cmd/gpt.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/usb/gadget/epautoconf.c:11: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/usb/gadget/config.c:11: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/video/light/dw_dsi_host.c:3: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD drivers/video/bridge/built-in.o [ 71s] LD drivers/mtd/mtd.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from cmd/gpt.c:13: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC drivers/usb/gadget/udc/udc-core.o [ 71s] LD drivers/mtd/built-in.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 71s] from drivers/usb/gadget/udc/udc-core.c:19: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD drivers/video/sunxi/built-in.o [ 71s] CC drivers/video/console_normal.o [ 71s] CC drivers/usb/gadget/udc/udc-uclass.o [ 71s] CC drivers/video/backlight-uclass.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/video/console_normal.c:10: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] CC drivers/usb/gadget/usbstring.o [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/video/backlight-uclass.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/usb/gadget/udc/udc-uclass.c:7: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] In file included from include/linux/bitops.h:136, [ 71s] from include/common.h:26, [ 71s] from drivers/usb/gadget/usbstring.c:9: [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 71s] 98 | out = __test_and_clear_bit(nr, addr); [ 71s] | ^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 71s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 71s] | ~~~~~~^~~~ [ 71s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 71s] 95 | unsigned long flags = 0; [ 71s] | ^~~~~ [ 71s] LD drivers/usb/host/built-in.o [ 71s] CC drivers/video/dsi-host-uclass.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/dsi-host-uclass.c:8: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC cmd/ddrscan.o [ 72s] CC drivers/video/light/phy-dw-dphy.o [ 72s] CC cmd/nvedit.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from cmd/ddrscan.c:11: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from cmd/nvedit.c:26: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC drivers/video/panel-uclass.o [ 72s] CC drivers/video/simple_panel.o [ 72s] LD drivers/usb/gadget/udc/built-in.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/light/phy-dw-dphy.c:3: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] CC drivers/usb/gadget/g_dnl.o [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/panel-uclass.c:7: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/usb/gadget/g_dnl.c:9: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/simple_panel.c:7: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC drivers/video/video-uclass.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/video-uclass.c:6: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC drivers/video/vidconsole-uclass.o [ 72s] LD drivers/usb/musb/built-in.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/vidconsole-uclass.c:10: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC drivers/video/video_bmp.o [ 72s] LD drivers/usb/phy/built-in.o [ 72s] LD drivers/usb/musb-new/built-in.o [ 72s] LD drivers/video/light/built-in.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/video_bmp.c:6: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] CC drivers/video/ilitek-ili9881c.o [ 72s] CC drivers/video/mipi_dsi.o [ 72s] CC drivers/usb/gadget/f_mass_storage.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/ilitek-ili9881c.c:3: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] LD drivers/usb/ulpi/built-in.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/video/mipi_dsi.c:35: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] LD cmd/built-in.o [ 72s] CC drivers/usb/gadget/f_fastboot.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/usb/gadget/f_mass_storage.c:245: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from drivers/usb/gadget/f_fastboot.c:14: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] DTC arch/riscv/dts/light-a-ref.dtb [ 72s] DTC arch/riscv/dts/light-b-ref.dtb [ 72s] DTC arch/riscv/dts/light-a-val.dtb [ 72s] CC env/common.o [ 72s] arch/riscv/dts/light-a-val.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from env/common.c:10: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 72s] LD drivers/video/built-in.o [ 72s] LD drivers/built-in.o [ 72s] DTC arch/riscv/dts/light-b-product.dtb [ 72s] DTC arch/riscv/dts/light-a-product.dtb [ 72s] CC fs/ext4/ext4fs.o [ 72s] In file included from include/linux/bitops.h:136, [ 72s] from include/common.h:26, [ 72s] from fs/ext4/ext4fs.c:23: [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 72s] 98 | out = __test_and_clear_bit(nr, addr); [ 72s] | ^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 72s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 72s] | ~~~~~~^~~~ [ 72s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 72s] 95 | unsigned long flags = 0; [ 72s] | ^~~~~ [ 73s] CC fs/fat/fat_write.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from fs/fat/fat_write.c:8: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC env/env.o [ 73s] CC fs/fs.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from env/env.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC fs/fs_internal.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from fs/fs_internal.c:8: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from fs/fs.c:8: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] DTC arch/riscv/dts/light-ant-ref.dtb [ 73s] LD lib/crypto/built-in.o [ 73s] CC fs/ext4/ext4_common.o [ 73s] CC lib/libfdt/fdt.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from fs/ext4/ext4_common.c:21: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC lib/lzma/LzmaDec.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/lzma/LzmaDec.c:5: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] DTC arch/riscv/dts/light-beagle.dtb [ 73s] CC env/attr.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from env/attr.c:12: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] LD drivers/usb/gadget/built-in.o [ 73s] CC lib/libfdt/fdt_wip.o [ 73s] DTC arch/riscv/dts/light-b-power.dtb [ 73s] CC lib/zlib/zlib.o [ 73s] DTC arch/riscv/dts/light-lpi4a.dtb [ 73s] CC env/callback.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from lib/zlib/zlib.c:15: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from env/callback.c:7: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] CC lib/libfdt/fdt_strerror.o [ 73s] arch/riscv/dts/light-lpi4a.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 73s] CC env/flags.o [ 73s] CC lib/libfdt/fdt_sw.o [ 73s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 73s] CC env/fat.o [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from env/flags.c:21: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] In file included from include/linux/bitops.h:136, [ 73s] from include/common.h:26, [ 73s] from env/fat.c:9: [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 73s] 98 | out = __test_and_clear_bit(nr, addr); [ 73s] | ^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 73s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 73s] | ~~~~~~^~~~ [ 73s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 73s] 95 | unsigned long flags = 0; [ 73s] | ^~~~~ [ 73s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 74s] CC lib/lzma/LzmaTools.o [ 74s] LD fs/fat/built-in.o [ 74s] CC lib/libfdt/fdt_rw.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/lzma/LzmaTools.c:21: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] arch/riscv/dts/light-lpi4a-laptop.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 74s] CC fs/ext4/dev.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from fs/ext4/dev.c:25: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] SHIPPED dts/dt.dtb [ 74s] LD env/built-in.o [ 74s] DTB dts/dt.dtb.S [ 74s] LD lib/lzma/built-in.o [ 74s] CC lib/libfdt/fdt_empty_tree.o [ 74s] CC lib/crc7.o [ 74s] AS dts/dt.dtb.o [ 74s] LD dts/built-in.o [ 74s] CC fs/ext4/ext4_write.o [ 74s] CC fs/ext4/ext4_journal.o [ 74s] CC net/checksum.o [ 74s] CC fs/ext4/crc16.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from fs/ext4/ext4_write.c:24: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC lib/crc8.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from fs/ext4/ext4_journal.c:16: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from net/checksum.c:10: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from fs/ext4/crc16.c:8: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC lib/libfdt/fdt_addresses.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/crc8.c:9: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC net/arp.o [ 74s] CC lib/crc16.o [ 74s] CC lib/image-sparse.o [ 74s] CC net/bootp.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from net/arp.c:12: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/crc16.c:28: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from net/bootp.c:11: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/image-sparse.c:38: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC lib/libfdt/fdt_ro.o [ 74s] LD lib/zlib/built-in.o [ 74s] CC lib/libfdt/fdt_region.o [ 74s] CC lib/ldiv.o [ 74s] CC lib/net_utils.o [ 74s] CC net/eth-uclass.o [ 74s] CC lib/rc4.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from net/eth-uclass.c:8: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/net_utils.c:12: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC net/eth_common.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/rc4.c:11: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC net/net.o [ 74s] LD fs/ext4/built-in.o [ 74s] LD fs/built-in.o [ 74s] CC net/nfs.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from net/eth_common.c:8: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from net/net.c:90: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from net/nfs.c:29: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC net/ping.o [ 74s] CC lib/sha256.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from net/ping.h:15, [ 74s] from net/ping.c:12: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] CC lib/list_sort.o [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/sha256.c:9: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 74s] In file included from include/linux/bitops.h:136, [ 74s] from include/common.h:26, [ 74s] from lib/list_sort.c:7: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 74s] 98 | out = __test_and_clear_bit(nr, addr); [ 74s] | ^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 74s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 74s] | ~~~~~~^~~~ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 74s] 95 | unsigned long flags = 0; [ 74s] | ^~~~~ [ 75s] CC net/tftp.o [ 75s] LD lib/libfdt/built-in.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from net/tftp.c:9: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC net/fastboot.o [ 75s] CC lib/gunzip.o [ 75s] CC lib/fdtdec_common.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/gunzip.c:7: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from net/fastboot.c:6: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/fdtdec.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/fdtdec_common.c:11: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/fdtdec.c:7: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/qsort.o [ 75s] CC lib/hashtable.o [ 75s] CC lib/errno.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/qsort.c:19: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] LD net/built-in.o [ 75s] CC lib/display_options.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/hashtable.c:32: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/crc32.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/display_options.c:7: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/ctype.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/crc32.c:15: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/div64.o [ 75s] CC lib/hang.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/linux/math64.h:5, [ 75s] from lib/div64.c:22: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/hang.c:10: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/linux_compat.o [ 75s] CC lib/linux_string.o [ 75s] CC lib/lmb.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/linux_compat.c:2: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/membuff.o [ 75s] CC lib/slre.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/lmb.c:9: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/membuff.c:9: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/string.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/slre.c:23: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/tables_csum.o [ 75s] CC lib/time.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/tables_csum.c:6: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/time.c:7: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/hexdump.o [ 75s] In file included from include/linux/bitops.h:136, [ 75s] from include/common.h:26, [ 75s] from lib/hexdump.c:11: [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 75s] 98 | out = __test_and_clear_bit(nr, addr); [ 75s] | ^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 75s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 75s] | ~~~~~~^~~~ [ 75s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 75s] 95 | unsigned long flags = 0; [ 75s] | ^~~~~ [ 75s] CC lib/uuid.o [ 75s] CC lib/rand.o [ 76s] In file included from include/linux/bitops.h:136, [ 76s] from include/common.h:26, [ 76s] from lib/uuid.c:6: [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 76s] 98 | out = __test_and_clear_bit(nr, addr); [ 76s] | ^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 76s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 76s] | ~~~~~~^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 76s] 95 | unsigned long flags = 0; [ 76s] | ^~~~~ [ 76s] CC lib/panic.o [ 76s] CC lib/vsprintf.o [ 76s] In file included from include/linux/bitops.h:136, [ 76s] from include/common.h:26, [ 76s] from lib/rand.c:10: [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 76s] 98 | out = __test_and_clear_bit(nr, addr); [ 76s] | ^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 76s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 76s] | ~~~~~~^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 76s] 95 | unsigned long flags = 0; [ 76s] | ^~~~~ [ 76s] CC lib/strto.o [ 76s] In file included from include/linux/bitops.h:136, [ 76s] from include/common.h:26, [ 76s] from lib/panic.c:12: [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 76s] In file included from include/linux/bitops.h:136, [ 76s] from include/common.h:26, [ 76s] from lib/vsprintf.c:16: [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 76s] 98 | out = __test_and_clear_bit(nr, addr); [ 76s] | ^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 76s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 76s] | ~~~~~~^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 76s] 95 | unsigned long flags = 0; [ 76s] | ^~~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 76s] 98 | out = __test_and_clear_bit(nr, addr); [ 76s] | ^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 76s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 76s] | ~~~~~~^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 76s] 95 | unsigned long flags = 0; [ 76s] | ^~~~~ [ 76s] In file included from include/linux/bitops.h:136, [ 76s] from include/common.h:26, [ 76s] from lib/strto.c:12: [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 76s] 98 | out = __test_and_clear_bit(nr, addr); [ 76s] | ^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 76s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 76s] | ~~~~~~^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 76s] 95 | unsigned long flags = 0; [ 76s] | ^~~~~ [ 76s] CC lib/abuf.o [ 76s] CC lib/date.o [ 76s] In file included from include/linux/bitops.h:136, [ 76s] from include/common.h:26, [ 76s] from lib/date.c:7: [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 76s] 98 | out = __test_and_clear_bit(nr, addr); [ 76s] | ^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 76s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 76s] | ~~~~~~^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 76s] 95 | unsigned long flags = 0; [ 76s] | ^~~~~ [ 76s] In file included from include/linux/bitops.h:136, [ 76s] from include/common.h:26, [ 76s] from lib/abuf.c:10: [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 76s] 98 | out = __test_and_clear_bit(nr, addr); [ 76s] | ^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 76s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 76s] | ~~~~~~^~~~ [ 76s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 76s] 95 | unsigned long flags = 0; [ 76s] | ^~~~~ [ 77s] LD lib/built-in.o [ 77s] CC examples/standalone/hello_world.o [ 77s] CC examples/standalone/stubs.o [ 77s] In file included from include/linux/bitops.h:136, [ 77s] from include/common.h:26, [ 77s] from examples/standalone/hello_world.c:7: [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 77s] 98 | out = __test_and_clear_bit(nr, addr); [ 77s] | ^~~~ [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 77s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 77s] | ~~~~~~^~~~ [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 77s] 95 | unsigned long flags = 0; [ 77s] | ^~~~~ [ 77s] In file included from include/linux/bitops.h:136, [ 77s] from include/common.h:26, [ 77s] from examples/standalone/stubs.c:1: [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 77s] 98 | out = __test_and_clear_bit(nr, addr); [ 77s] | ^~~~ [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 77s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 77s] | ~~~~~~^~~~ [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 77s] 95 | unsigned long flags = 0; [ 77s] | ^~~~~ [ 77s] LD examples/standalone/libstubs.o [ 77s] LD examples/standalone/hello_world [ 77s] OBJCOPY examples/standalone/hello_world.srec [ 77s] OBJCOPY examples/standalone/hello_world.bin [ 77s] LD u-boot [ 78s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 78s] OBJCOPY u-boot.srec [ 78s] OBJCOPY u-boot-nodtb.bin [ 78s] SYM u-boot.sym [ 78s] FDTGREP dts/dt-spl.dtb [ 78s] COPY u-boot.bin [ 78s] MKIMAGE u-boot.img [ 78s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 78s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 78s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 78s] CC spl/arch/riscv/cpu/cpu.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/cpu/c9xx/dram.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/cpu/c9xx/feature.c:1: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/cpu/cpu.c:6: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] CC spl/arch/riscv/lib/bootm.o [ 78s] CC spl/board/thead/common/board_common.o [ 78s] CC spl/common/spl/spl.o [ 78s] CC spl/board/thead/light-c910/spl.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from board/thead/common/board_common.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from common/spl/spl.c:9: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from board/thead/light-c910/spl.c:8: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/lib/bootm.c:9: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] CC spl/common/spl/spl_mmc.o [ 78s] CC spl/board/thead/light-c910/sys_clk.o [ 78s] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 78s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 78s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 78s] | ^ [ 78s] arch/riscv/lib/bootm.c: At top level: [ 78s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 78s] 34 | extern void secondary_entry(); [ 78s] | ^~~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from board/thead/light-c910/sys_clk.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from common/spl/spl_mmc.c:8: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] AS spl/arch/riscv/cpu/mtrap.o [ 78s] LD spl/board/thead/common/built-in.o [ 78s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 78s] CC spl/common/spl/spl_ram.o [ 78s] CC spl/arch/riscv/lib/image.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from common/spl/spl_ram.c:12: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/lib/image.c:9: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] AS spl/arch/riscv/cpu/start.o [ 78s] CC spl/common/init/board_init.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from common/init/board_init.c:9: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] CC spl/arch/riscv/lib/boot.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/lib/boot.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] CC spl/arch/riscv/lib/cache.o [ 78s] LD spl/arch/riscv/cpu/built-in.o [ 78s] LD spl/common/spl/built-in.o [ 78s] CC spl/common/fdt_support.o [ 78s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 78s] CC spl/arch/riscv/lib/thead_ipi.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/lib/cache.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from board/thead/light-c910/lpddr-regu/ddr_regu.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] LD spl/common/init/built-in.o [ 78s] CC spl/cmd/nvedit.o [ 78s] CC spl/common/bouncebuf.o [ 78s] CC spl/env/common.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from common/fdt_support.c:9: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from cmd/nvedit.c:26: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 78s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 78s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 78s] | ^~~~~~~~~~~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from common/bouncebuf.c:8: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] CC spl/env/env.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from env/common.c:10: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from env/env.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] CC spl/common/console.o [ 78s] CC spl/arch/riscv/lib/rdtime.o [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from common/console.c:7: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 78s] In file included from include/linux/bitops.h:136, [ 78s] from include/common.h:26, [ 78s] from arch/riscv/lib/rdtime.c:10: [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 78s] 98 | out = __test_and_clear_bit(nr, addr); [ 78s] | ^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 78s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 78s] | ~~~~~~^~~~ [ 78s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 78s] 95 | unsigned long flags = 0; [ 78s] | ^~~~~ [ 79s] LD spl/cmd/built-in.o [ 79s] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 79s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 79s] LD spl/env/built-in.o [ 79s] CC spl/arch/riscv/lib/interrupts.o [ 79s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from arch/riscv/lib/interrupts.c:10: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] CC spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] CC spl/lib/libfdt/fdt.o [ 79s] CC spl/lib/libfdt/fdt_wip.o [ 79s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 79s] CC spl/lib/libfdt/fdt_strerror.o [ 79s] CC spl/arch/riscv/lib/reset.o [ 79s] CC spl/lib/libfdt/fdt_sw.o [ 79s] CC spl/lib/libfdt/fdt_rw.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from arch/riscv/lib/reset.c:6: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] CC spl/lib/libfdt/fdt_empty_tree.o [ 79s] CC spl/lib/libfdt/fdt_addresses.o [ 79s] CC spl/lib/libfdt/fdt_ro.o [ 79s] AS spl/arch/riscv/lib/setjmp.o [ 79s] CC spl/common/dlmalloc.o [ 79s] CC spl/arch/riscv/lib/smp.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from common/dlmalloc.c:1: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] CC spl/disk/part.o [ 79s] CC spl/arch/riscv/lib/spl.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from arch/riscv/lib/smp.c:7: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from disk/part.c:7: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from arch/riscv/lib/spl.c:6: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] CC spl/common/malloc_simple.o [ 79s] CC spl/arch/riscv/lib/locks.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from common/malloc_simple.c:10: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] CC spl/disk/part_efi.o [ 79s] CC spl/common/image.o [ 79s] LD spl/arch/riscv/lib/built-in.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from disk/part_efi.c:13: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from common/image.c:10: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] FDTGREP spl/dts/dt-spl.dtb [ 79s] CC spl/board/thead/light-c910/lpddr4/src/ddr_retention.o [ 79s] CC spl/drivers/block/blk-uclass.o [ 79s] CC spl/lib/libfdt/fdt_region.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from drivers/block/blk-uclass.c:7: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] DTB spl/dts/dt-spl.dtb.S [ 79s] AS spl/dts/dt-spl.dtb.o [ 79s] LD spl/drivers/clk/analogbits/built-in.o [ 79s] LD spl/drivers/clk/imx/built-in.o [ 79s] LD spl/dts/built-in.o [ 79s] CC spl/lib/fdtdec_common.o [ 79s] LD spl/drivers/clk/tegra/built-in.o [ 79s] CC spl/drivers/clk/clk-uclass.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from lib/fdtdec_common.c:11: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] CC spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from drivers/clk/clk-uclass.c:9: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 79s] CC spl/common/image-fdt.o [ 79s] In file included from include/linux/bitops.h:136, [ 79s] from include/common.h:26, [ 79s] from common/image-fdt.c:11: [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 79s] 98 | out = __test_and_clear_bit(nr, addr); [ 79s] | ^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 79s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 79s] | ~~~~~~^~~~ [ 79s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 79s] 95 | unsigned long flags = 0; [ 79s] | ^~~~~ [ 80s] CC spl/lib/fdtdec.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/fdtdec.c:7: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 80s] CC spl/fs/fs_internal.o [ 80s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:8:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 80s] 8 | int dwc_ddrphy_phyinit_regInterface(); [ 80s] | ^~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from fs/fs_internal.c:8: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] LD spl/lib/libfdt/built-in.o [ 80s] LD spl/drivers/block/built-in.o [ 80s] CC spl/common/memsize.o [ 80s] LDS spl/u-boot-spl.lds [ 80s] LD spl/disk/built-in.o [ 80s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 80s] CC spl/lib/qsort.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from common/memsize.c:7: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/lib/hashtable.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/qsort.c:19: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/lib/errno.o [ 80s] CC spl/drivers/clk/clk_fixed_rate.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/hashtable.c:32: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] LD spl/fs/built-in.o [ 80s] CC spl/drivers/clk/clk_fixed_factor.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from drivers/clk/clk_fixed_rate.c:6: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/lib/display_options.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from drivers/clk/clk_fixed_factor.c:8: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/display_options.c:7: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/common/stdio.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from common/stdio.c:12: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/lib/crc32.o [ 80s] LD spl/drivers/clk/built-in.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/crc32.c:15: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/drivers/core/device.o [ 80s] CC spl/lib/ctype.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from drivers/core/device.c:11: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/common/cli.o [ 80s] CC spl/drivers/cpu/cpu-uclass.o [ 80s] CC spl/drivers/cpu/riscv_cpu.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from common/cli.c:11: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from drivers/cpu/cpu-uclass.c:7: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from drivers/cpu/riscv_cpu.c:6: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/lib/div64.o [ 80s] CC spl/lib/hang.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/hang.c:10: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/lib/linux_compat.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/linux/math64.h:5, [ 80s] from lib/div64.c:22: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] LD spl/board/thead/light-c910/built-in.o [ 80s] CC spl/lib/linux_string.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/linux_compat.c:2: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/lib/lmb.o [ 80s] LD spl/drivers/cpu/built-in.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/lmb.c:9: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] LD spl/drivers/mtd/built-in.o [ 80s] CC spl/common/command.o [ 80s] CC spl/common/s_record.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from common/command.c:11: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/common/xyzModem.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from common/s_record.c:7: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from common/xyzModem.c:24: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/drivers/mmc/mmc.o [ 80s] common/command.c: At top level: [ 80s] 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] [ 80s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 80s] | ^~~~~~~~~~~ [ 80s] In file included from include/image.h:45, [ 80s] from include/common.h:40: [ 80s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 80s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 80s] | ^~~~~~~~~~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from drivers/mmc/mmc.c:10: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/drivers/core/fdtaddr.o [ 80s] CC spl/lib/membuff.o [ 80s] CC spl/drivers/core/lists.o [ 80s] CC spl/lib/slre.o [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/membuff.c:9: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from drivers/core/lists.c:11: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from drivers/core/fdtaddr.c:11: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] In file included from include/linux/bitops.h:136, [ 80s] from include/common.h:26, [ 80s] from lib/slre.c:23: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 80s] 98 | out = __test_and_clear_bit(nr, addr); [ 80s] | ^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 80s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 80s] | ~~~~~~^~~~ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 80s] 95 | unsigned long flags = 0; [ 80s] | ^~~~~ [ 80s] CC spl/drivers/core/root.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/core/root.c:9: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] LD spl/common/built-in.o [ 81s] CC spl/drivers/core/uclass.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/core/uclass.c:11: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/core/util.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/core/util.c:6: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/lib/string.o [ 81s] CC spl/lib/tables_csum.o [ 81s] CC spl/drivers/core/simple-bus.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/core/simple-bus.c:6: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/core/dump.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/tables_csum.c:6: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/core/dump.c:6: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/lib/time.o [ 81s] CC spl/lib/hexdump.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/time.c:7: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/hexdump.c:11: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/mmc/mmc-uclass.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/mmc/mmc-uclass.c:7: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/mmc/mmc_boot.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/mmc/mmc_boot.c:7: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/lib/uuid.o [ 81s] CC spl/drivers/core/of_extra.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/uuid.c:6: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/core/ofnode.o [ 81s] CC spl/lib/rand.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/core/of_extra.c:7: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/mmc/dw_mmc.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/rand.c:10: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/core/ofnode.c:7: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/mmc/snps_dw_mmc.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/mmc/dw_mmc.c:9: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/mmc/snps_dw_mmc.c:10: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/mmc/rpmb.o [ 81s] CC spl/drivers/mmc/sdhci.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/mmc/rpmb.c:11: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/lib/panic.o [ 81s] CC spl/drivers/core/read_extra.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/mmc/sdhci.c:10: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/mmc/snps_sdhci.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/panic.c:12: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/core/read_extra.c:7: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/mmc/snps_sdhci.c:6: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/lib/vsprintf.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/vsprintf.c:16: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/lib/strto.o [ 81s] CC spl/lib/abuf.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/strto.c:12: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/serial/serial-uclass.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/abuf.c:10: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/serial/serial-uclass.c:6: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] LD spl/drivers/core/built-in.o [ 81s] CC spl/drivers/serial/ns16550.o [ 81s] CC spl/drivers/timer/timer-uclass.o [ 81s] CC spl/lib/date.o [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/serial/ns16550.c:7: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from drivers/timer/timer-uclass.c:6: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] In file included from include/linux/bitops.h:136, [ 81s] from include/common.h:26, [ 81s] from lib/date.c:7: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 81s] 98 | out = __test_and_clear_bit(nr, addr); [ 81s] | ^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 81s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 81s] | ~~~~~~^~~~ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 81s] 95 | unsigned long flags = 0; [ 81s] | ^~~~~ [ 81s] CC spl/drivers/timer/riscv_timer.o [ 82s] LD spl/drivers/mmc/built-in.o [ 82s] In file included from include/linux/bitops.h:136, [ 82s] from include/common.h:26, [ 82s] from drivers/timer/riscv_timer.c:14: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 82s] 98 | out = __test_and_clear_bit(nr, addr); [ 82s] | ^~~~ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 82s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 82s] | ~~~~~~^~~~ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 82s] 95 | unsigned long flags = 0; [ 82s] | ^~~~~ [ 82s] LD spl/drivers/serial/built-in.o [ 82s] LD spl/drivers/timer/built-in.o [ 82s] LD spl/drivers/built-in.o [ 82s] LD spl/lib/built-in.o [ 82s] LD spl/u-boot-spl [ 82s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 82s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 82s] COPY spl/u-boot-spl.bin [ 82s] CAT u-boot-with-spl.bin [ 82s] ===================== WARNING ====================== [ 82s] This board does not use CONFIG_DM_USB. Please update [ 82s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 82s] Failure to update by the deadline may result in board removal. [ 82s] See doc/driver-model/MIGRATION.txt for more info. [ 82s] ==================================================== [ 82s] ===================== WARNING ====================== [ 82s] CONFIG_OF_EMBED is enabled. This option should only [ 82s] be used for debugging purposes. Please use [ 82s] CONFIG_OF_SEPARATE for boards in mainline. [ 82s] See doc/README.fdt-control for more info. [ 82s] ==================================================== [ 82s] CFGCHK u-boot.cfg [ 83s] + ./scripts/get_default_envs.sh [ 83s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 83s] + rm default_envs.txt [ 83s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 83s] Image Name: Tizen LicheePi4A Board Script [ 83s] Created: Sat Dec 28 02:48:34 2024 [ 83s] Image Type: RISC-V Linux Script (uncompressed) [ 83s] Data Size: 4261 Bytes = 4.16 KiB = 0.00 MiB [ 83s] Load Address: 00000000 [ 83s] Entry Point: 00000000 [ 83s] Contents: [ 83s] Image 0: 4253 Bytes = 4.15 KiB = 0.00 MiB [ 83s] + exit 0 [ 83s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.r0vTvf [ 83s] + umask 022 [ 83s] + cd /home/abuild/rpmbuild/BUILD [ 83s] + cd u-boot-2020.01 [ 83s] + LANG=C [ 83s] + export LANG [ 83s] + unset DISPLAY [ 83s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 83s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 83s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 83s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot [ 83s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp [ 83s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp/ [ 83s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp/ [ 83s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 83s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 83s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 84s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 84s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 84s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 2020.01-0 --unique-debug-src-base u-boot-lpi4a-8g-2020.01-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/u-boot-2020.01 [ 84s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-8g-debuginfo.manifest [ 84s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-8g-debugsource.manifest [ 84s] + /usr/lib/rpm/check-buildroot [ 84s] + /usr/lib/rpm//brp-compress [ 84s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 84s] + /usr/lib/rpm/brp-python-hardlink [ 84s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 84s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 84s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 84s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 84s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 87s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 87s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 87s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 87s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 87s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 87s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 87s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 87s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 87s] Processing files: u-boot-lpi4a-8g-2020.01-0.riscv64 [ 87s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 87s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 87s] [ 87s] Provides: u-boot-lpi4a-8g = 2020.01-0 u-boot-lpi4a-8g(riscv-64) = 2020.01-0 [ 87s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 87s] Processing files: u-boot-lpi4a-8g-debugsource-2020.01-0.riscv64 [ 87s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 87s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 87s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 87s] [ 87s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 90s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-lpi4a-8g-2020.01-0.src.rpm [ 93s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-8g-2020.01-0.riscv64.rpm [ 93s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-8g-debugsource-2020.01-0.riscv64.rpm [ 93s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OhnInQ [ 93s] + umask 022 [ 93s] + cd /home/abuild/rpmbuild/BUILD [ 93s] + cd u-boot-2020.01 [ 93s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 93s] + exit 0 [ 94s] ... checking for files with abuild user/group [ 94s] ... creating baselibs [ 94s] [ 94s] ip-192-168-56-58 finished "build u-boot-lpi4a-8g.spec" at Sat Dec 28 02:48:45 UTC 2024. [ 94s]