[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.12 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-230 started "build u-boot-lpi4a-16g.spec" at Fri Dec 6 13:54:33 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ --clean --nocumulate /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec build ... [ 2s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.12/.srcfiles.cache ... [ 3s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.12/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS [ 3s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ [ 5s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ [ 5s] expanding package dependencies... [ 6s] copying qemu [ 6s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 6s] [ 6s] registering binfmt handlers for cross build [ 6s] calculating packages to download... [ 24s] cycle: nss -> libsoftokn3 [ 24s] breaking dependency nss -> libsoftokn3 [ 24s] [1/47] preinstalling libmagic-data... [ 24s] [2/47] preinstalling libncurses... [ 24s] [3/47] preinstalling setup... [ 25s] [4/47] preinstalling filesystem... [ 25s] [5/47] preinstalling glibc... [ 25s] [6/47] preinstalling libgcc... [ 25s] [7/47] preinstalling libstdc++... [ 25s] [8/47] preinstalling libasan... [ 25s] [9/47] preinstalling findutils... [ 25s] [10/47] preinstalling grep... [ 26s] [11/47] preinstalling libattr... [ 26s] [12/47] preinstalling libbz2... [ 26s] [13/47] preinstalling liblua... [ 26s] [14/47] preinstalling libpopt... [ 26s] [15/47] preinstalling libsmack... [ 26s] [16/47] preinstalling libuuid... [ 26s] [17/47] preinstalling libxcrypt... [ 26s] [18/47] preinstalling nspr... [ 26s] [19/47] preinstalling sed... [ 26s] [20/47] preinstalling zlib... [ 26s] [21/47] preinstalling bash... [ 27s] [22/47] preinstalling diffutils... [ 27s] [23/47] preinstalling libblkid... [ 27s] [24/47] preinstalling libcap... [ 27s] [25/47] preinstalling libfreebl3... [ 27s] [26/47] preinstalling liblzma... [ 27s] [27/47] preinstalling libreadline... [ 27s] [28/47] preinstalling libsqlite... [ 27s] [29/47] preinstalling libzstd1... [ 27s] [30/47] preinstalling qemu-accel-x86_64-riscv64... [ 35s] [31/47] preinstalling qemu-linux-user-x86_64-cross... [ 37s] [32/47] preinstalling asan-build-env... [ 38s] [33/47] preinstalling libacl... [ 38s] [34/47] preinstalling libelf... [ 38s] [35/47] preinstalling smack... [ 38s] [36/47] preinstalling bzip2... [ 38s] [37/47] preinstalling coreutils... [ 38s] [38/47] preinstalling libmagic... [ 38s] [39/47] preinstalling libmount... [ 38s] [40/47] preinstalling libxml2... [ 38s] [41/47] preinstalling tar... [ 38s] [42/47] preinstalling util-linux... [ 39s] [43/47] preinstalling util-linux-su... [ 39s] [44/47] preinstalling nss... [ 39s] [45/47] preinstalling libsoftokn3... [ 39s] [46/47] preinstalling rpm... [ 40s] [47/47] preinstalling asan-force-options... [ 40s] [ 40s] running qemu-linux-user-x86_64-cross postinstall script [ 42s] running qemu-accel-x86_64-riscv64 postinstall script [ 42s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.1.0/liblto_plugin.so': No such file or directory [ 42s] running setup postinstall script [ 42s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 42s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 42s] running asan-build-env postinstall script [ 45s] running asan-force-options postinstall script [ 77s] initializing rpm db... [ 78s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 78s] breaking dependency bash -> glibc [ 78s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 78s] breaking dependency libasan -> glibc [ 78s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 78s] breaking dependency asan-runtime-env -> bash [ 78s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 78s] breaking dependency coreutils -> bash [ 78s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 78s] breaking dependency coreutils -> glibc [ 78s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 78s] breaking dependency libasan -> libgcc [ 78s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 78s] breaking dependency libstdc++ -> glibc [ 78s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 78s] breaking dependency coreutils -> libasan [ 78s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 78s] breaking dependency asan-runtime-env -> coreutils [ 78s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 78s] breaking dependency setup -> asan-runtime-env [ 78s] cycle: glibc-devel -> libxcrypt-devel [ 78s] breaking dependency glibc-devel -> libxcrypt-devel [ 78s] cycle: nss -> libsoftokn3 [ 78s] breaking dependency nss -> libsoftokn3 [ 78s] reordering done [ 79s] [1/116] installing libmagic-data-5.45-1.9 [ 79s] [2/116] installing opensbi-1.5-0 [ 80s] [3/116] installing setup-0.9-1.4 [ 80s] [4/116] installing filesystem-3.1-1.2 [ 80s] [5/116] installing glibc-2.39-1.5 [ 81s] [6/116] installing libatomic-14.1.0-1.10 [ 81s] [7/116] installing libgcc-14.1.0-1.10 [ 82s] [8/116] installing libgomp-14.1.0-1.10 [ 82s] [9/116] installing libitm-14.1.0-1.10 [ 83s] [10/116] installing libgfortran-14.1.0-1.10 [ 83s] [11/116] installing libstdc++-14.1.0-1.10 [ 84s] [12/116] installing coreutils-6.9-14.4 [ 84s] [13/116] installing libstdc++-devel-14.1.0-1.10 [ 86s] [14/116] installing linux-glibc-devel-6.6-1.11 [ 86s] [15/116] installing libasan-14.1.0-1.10 [ 87s] [16/116] installing libcc1-14.1.0-1.10 [ 87s] [17/116] installing libubsan-14.1.0-1.10 [ 88s] [18/116] installing cpio-2.8-1.2 [ 88s] [19/116] installing findutils-4.3.8-1.9 [ 88s] [20/116] installing gdbm-1.8.3-1.11 [ 89s] [21/116] installing hostname-3.23-1.2 [ 89s] [22/116] installing libattr-2.5.1-1.9 [ 90s] [23/116] installing libbz2-1.0.8-1.9 [ 90s] [24/116] installing libexpat-2.6.2-1.11 [ 91s] [25/116] installing libffi-3.4.2-1.11 [ 91s] [26/116] installing libltdl-2.4.7-1.11 [ 92s] [27/116] installing liblua-5.1.5-1.9 [ 92s] [28/116] installing libpopt-1.16-1.9 [ 93s] [29/116] installing libsmack-1.3.1-1.9 [ 93s] [30/116] installing libsmartcols-2.39.3-1.7 [ 94s] [31/116] installing libuuid-2.39.3-1.7 [ 94s] [32/116] installing libxcrypt-4.4.36-1.11 [ 95s] [33/116] installing m4-1.4.19-1.2 [ 95s] [34/116] installing net-tools-2.0_20121208git-1.9 [ 95s] [35/116] installing nspr-4.35-1.9 [ 95s] [36/116] installing patch-2.7.6-1.9 [ 96s] [37/116] installing sed-4.1c-1.9 [ 96s] [38/116] installing which-2.17-1.2 [ 96s] [39/116] installing zlib-1.3-1.11 [ 97s] [40/116] installing asan-runtime-env-14.1.0-1.5 [ 97s] [41/116] installing bash-3.2.57-2.1 [ 98s] [42/116] installing diffutils-3.10-1.2 [ 98s] [43/116] installing libblkid-2.39.3-1.7 [ 98s] [44/116] installing libcap-2.69-1.9 [ 99s] [45/116] installing libfreebl3-3.98-1.11 [ 100s] [46/116] installing liblzma-5.4.5-1.11 [ 100s] [47/116] installing libopenssl3-3.0.13-1.11 [ 101s] [48/116] installing libpcre-8.45-1.9 [ 102s] [49/116] installing libpython3_121_0-3.12.0-1.11 [ 102s] [50/116] installing libsqlite-3.44.0-1.9 [ 103s] [51/116] installing libzstd1-1.5.5-1.9 [ 103s] [52/116] installing pkg-config-0.29.2-1.9 [ 104s] [53/116] installing update-alternatives-1.22.2-1.2 [ 104s] [54/116] installing build-compare-2023.06.18-1.4 [ 104s] [55/116] installing hal-rootstrap-checker-0.1.0-1.2 [ 104s] [56/116] installing qemu-linux-user-x86_64-cross-5.2.0.2-20.4 [ 108s] [57/116] installing asan-build-env-14.1.0-1.5 [ 109s] libasan.so is already preloaded [ 109s] [58/116] installing cpp-14.1.0-1.10 [ 110s] [59/116] installing gcc-c++-14.1.0-1.10 [ 111s] [60/116] installing terminfo-base-full-6.4-1.11 [ 113s] [61/116] installing flex-2.6.4-1.9 [ 113s] [62/116] installing gawk-3.1.5-1.2 [ 113s] [63/116] installing glibc-locale-2.39-1.5 [ 115s] [64/116] installing grep-2.5.2-1.9 [ 116s] [65/116] installing libacl-2.3.2-1.9 [ 116s] [66/116] installing libelf-0.189-1.11 [ 117s] [67/116] installing make-4.4-1.9 [ 117s] [68/116] installing nss-certs-3.98-1.11 [ 117s] [69/116] installing smack-1.3.1-1.9 [ 118s] [70/116] installing binutils-libs-2.43-2.1 [ 118s] [71/116] installing bzip2-1.0.8-1.9 [ 118s] [72/116] installing gzip-1.13-1.5 [ 118s] [73/116] installing libmagic-5.45-1.9 [ 119s] [74/116] installing libmount-2.39.3-1.7 [ 120s] [75/116] installing xz-5.4.5-1.11 [ 120s] [76/116] installing bison-3.0.5-1.9 [ 120s] [77/116] installing libfdisk-2.39.3-1.7 [ 121s] [78/116] installing libxml2-2.12.5-1.10 [ 122s] [79/116] installing swig-4.0.2-0 [ 122s] [80/116] installing tzdata-2023c-1.2 [ 123s] [81/116] installing pam-1.1.6-1.9 [ 125s] [82/116] installing perl-5.38.0-1.8 [ 128s] [83/116] installing gcc-14.1.0-1.10 [ 130s] [84/116] installing build-mkbaselibs-20120927-1.2 [ 131s] [85/116] installing qemu-accel-x86_64-riscv64-0.4-1.3 [ 144s] [86/116] installing autoconf-2.71-1.12 [ 144s] [87/116] installing file-5.45-1.9 [ 144s] [88/116] installing binutils-2.43-2.1 [ 145s] [89/116] installing tar-1.17-1.2 [ 145s] [90/116] installing glibc-devel-2.39-1.5 [ 146s] [91/116] installing libncurses6-6.4-1.11 [ 147s] [92/116] installing libdw-0.189-1.11 [ 147s] [93/116] installing nss-3.98-1.11 [ 148s] [94/116] installing libarchive-3.7.2-1.10 [ 149s] [95/116] installing libncurses-6.4-1.11 [ 149s] [96/116] installing automake-1.16.5-1.12 [ 150s] [97/116] installing less-643-1.2 [ 150s] [98/116] installing libxcrypt-devel-4.4.36-1.11 [ 151s] [99/116] installing zlib-devel-1.3-1.11 [ 151s] [100/116] installing libasm-0.189-1.11 [ 151s] [101/116] installing libreadline-5.2-1.9 [ 152s] [102/116] installing build-20120927-1.2 [ 153s] [103/116] installing libsoftokn3-3.98-1.11 [ 153s] [104/116] installing rpm-4.14.1.1-1.11 [ 156s] [105/116] installing bc-1.06-1.2 [ 156s] [106/116] installing libopenssl3-devel-3.0.13-1.11 [ 157s] [107/116] installing asan-force-options-14.1.0-1.5 [ 228s] [108/116] installing libtool-2.4.7-1.11 [ 229s] [109/116] installing elfutils-0.189-1.11 [ 229s] [110/116] installing python3-base-3.12.0-1.11 [ 231s] [111/116] installing util-linux-2.39.3-1.7 [ 232s] [112/116] installing rpm-build-4.14.1.1-1.11 [ 232s] [113/116] installing python3-3.12.0-1.2 [ 233s] [114/116] installing util-linux-su-2.39.3-1.7 [ 233s] [115/116] installing python3-devel-3.12.0-1.11 [ 233s] [116/116] installing python3-setuptools-69.0.2-1.3 [ 234s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.12/etc/nsswitch.conf... [ 234s] now finalizing build dir... [ 246s] ----------------------------------------------------------------- [ 246s] ----- building u-boot-lpi4a-16g.spec (user abuild) [ 246s] ----------------------------------------------------------------- [ 246s] ----------------------------------------------------------------- [ 254s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -bb /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec [ 254s] Building target platforms: riscv64-tizen-linux [ 254s] Building for target riscv64-tizen-linux [ 254s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3cKBbm [ 254s] + umask 022 [ 254s] + cd /home/abuild/rpmbuild/BUILD [ 254s] + cd /home/abuild/rpmbuild/BUILD [ 254s] + rm -rf u-boot-2020.01 [ 254s] + /bin/tar -xof - [ 254s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 278s] + STATUS=0 [ 278s] + '[' 0 -ne 0 ']' [ 278s] + cd u-boot-2020.01 [ 278s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 279s] + exit 0 [ 279s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h3BiFS [ 279s] + umask 022 [ 279s] + cd /home/abuild/rpmbuild/BUILD [ 279s] + cd u-boot-2020.01 [ 279s] + ref=/usr/lib/rpm [ 279s] + mints=0 [ 279s] + case $(uname -m) in [ 279s] ++ uname -m [ 280s] + mints=20160911 [ 280s] + for s in guess sub [ 280s] ++ find -maxdepth 8 -name config.guess [ 280s] + for s in guess sub [ 280s] ++ find -maxdepth 8 -name config.sub [ 280s] + LANG=C [ 280s] + export LANG [ 280s] + unset DISPLAY [ 280s] + 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' [ 280s] + export CFLAGS [ 280s] + 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' [ 280s] + export CXXFLAGS [ 280s] + 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' [ 280s] + export FFLAGS [ 280s] + LDFLAGS= [ 280s] + export LDFLAGS [ 280s] + /usr/bin/gcc-unforce-options [ 282s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-16g.manifest . [ 283s] + CONFIG=tizen_lpi4a_16g_defconfig [ 283s] + make mrproper [ 299s] + make tizen_lpi4a_16g_defconfig [ 305s] HOSTCC scripts/basic/fixdep [ 313s] HOSTCC scripts/kconfig/conf.o [ 315s] YACC scripts/kconfig/zconf.tab.c [ 316s] LEX scripts/kconfig/zconf.lex.c [ 323s] HOSTCC scripts/kconfig/zconf.tab.o [ 328s] HOSTLD scripts/kconfig/conf [ 330s] # [ 330s] # configuration written to .config [ 330s] # [ 330s] + 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 [ 346s] HOSTCC scripts/basic/fixdep [ 353s] HOSTCC scripts/kconfig/conf.o [ 358s] HOSTCC scripts/kconfig/zconf.tab.o [ 363s] HOSTLD scripts/kconfig/conf [ 363s] scripts/kconfig/conf --syncconfig Kconfig [ 366s] CHK include/config.h [ 366s] UPD include/config.h [ 366s] CFG u-boot.cfg [ 366s] GEN include/autoconf.mk.dep [ 366s] CFG spl/u-boot.cfg [ 366s] GEN include/autoconf.mk [ 366s] GEN spl/include/autoconf.mk [ 378s] CHK include/config/uboot.release [ 378s] CHK include/generated/timestamp_autogenerated.h [ 378s] UPD include/config/uboot.release [ 378s] HOSTCC scripts/basic/fixdep [ 378s] CHK include/generated/version_autogenerated.h [ 378s] UPD include/generated/version_autogenerated.h [ 379s] HOSTCC scripts/dtc/dtc.o [ 379s] HOSTCC scripts/dtc/flattree.o [ 379s] HOSTCC scripts/dtc/fstree.o [ 379s] HOSTCC scripts/dtc/data.o [ 379s] HOSTCC scripts/dtc/treesource.o [ 379s] HOSTCC scripts/dtc/livetree.o [ 379s] HOSTCC scripts/dtc/srcpos.o [ 380s] HOSTCC scripts/dtc/checks.o [ 380s] HOSTCC scripts/dtc/util.o [ 380s] LEX scripts/dtc/dtc-lexer.lex.c [ 380s] YACC scripts/dtc/dtc-parser.tab.h [ 380s] YACC scripts/dtc/dtc-parser.tab.c [ 381s] UPD include/generated/timestamp_autogenerated.h [ 381s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 381s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 381s] CC lib/asm-offsets.s [ 381s] CC arch/riscv/lib/asm-offsets.s [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from lib/asm-offsets.c:14: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from arch/riscv/lib/asm-offsets.c:11: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 382s] CHK include/generated/asm-offsets.h [ 382s] UPD include/generated/asm-offsets.h [ 382s] CHK include/generated/generic-asm-offsets.h [ 382s] UPD include/generated/generic-asm-offsets.h [ 383s] HOSTLD scripts/dtc/dtc [ 383s] HOSTCC tools/bmp_logo [ 383s] HOSTCC tools/gen_eth_addr [ 383s] HOSTCC tools/gen_ethaddr_crc.o [ 383s] WRAP tools/lib/crc8.c [ 383s] HOSTCC tools/img2srec [ 383s] HOSTCC tools/os_support.o [ 383s] HOSTCC tools/mkenvimage.o [ 383s] WRAP tools/lib/crc32.c [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 383s] HOSTCC tools/aisimage.o [ 383s] HOSTCC tools/atmelimage.o [ 384s] WRAP tools/common/bootm.c [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 384s] HOSTCC tools/lib/crc32.o [ 384s] HOSTCC tools/default_image.o [ 384s] WRAP tools/lib/fdtdec_common.c [ 384s] WRAP tools/lib/fdtdec.c [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 384s] WRAP tools/common/image.c [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 384s] HOSTCC tools/imagetool.o [ 384s] HOSTCC tools/imximage.o [ 384s] HOSTCC tools/imx8image.o [ 384s] HOSTCC tools/imx8mimage.o [ 384s] HOSTCC tools/kwbimage.o [ 384s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 384s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 384s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 384s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 384s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 384s] 251 | int zero = 0; [ 384s] | ^~~~ [ 384s] In file included from tools/imagetool.h:21, [ 384s] from tools/imx8mimage.c:9: [ 384s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 384s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 384s] | ^~~~~ [ 384s] WRAP tools/lib/md5.c [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/md5.c'. [ 384s] HOSTCC tools/lpc32xximage.o [ 384s] tools/imx8image.c: In function 'copy_file.constprop': [ 384s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 384s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 384s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 384s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 384s] 367 | int zero = 0; [ 384s] | ^~~~ [ 384s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 384s] from include/imx8image.h:13, [ 384s] from tools/imx8image.c:8: [ 384s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 384s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 384s] | ^~~~~ [ 385s] HOSTCC tools/mxsimage.o [ 385s] HOSTCC tools/omapimage.o [ 385s] HOSTCC tools/pblimage.o [ 385s] HOSTCC tools/pbl_crc32.o [ 385s] HOSTCC tools/vybridimage.o [ 385s] HOSTCC tools/stm32image.o [ 385s] WRAP tools/lib/rc4.c [ 386s] HOSTCC tools/rkcommon.o [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/rc4.c'. [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/rc4.c'. [ 386s] HOSTCC tools/rkimage.o [ 386s] HOSTCC tools/rksd.o [ 386s] HOSTCC tools/rkspi.o [ 386s] HOSTCC tools/socfpgaimage.o [ 386s] WRAP tools/lib/crc16.c [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc16.c'. [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc16.c'. [ 386s] WRAP tools/lib/sha1.c [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha1.c'. [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha1.c'. [ 386s] WRAP tools/lib/sha256.c [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha256.c'. [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha256.c'. [ 386s] WRAP tools/common/hash.c [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/hash.c'. [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/hash.c'. [ 386s] HOSTCC tools/ublimage.o [ 386s] HOSTCC tools/zynqimage.o [ 386s] HOSTCC tools/zynqmpimage.o [ 387s] HOSTCC tools/zynqmpbif.o [ 387s] HOSTCC tools/libfdt/fdt.o [ 387s] HOSTCC tools/libfdt/fdt_wip.o [ 387s] HOSTCC tools/libfdt/fdt_sw.o [ 387s] HOSTCC tools/libfdt/fdt_rw.o [ 387s] HOSTCC tools/libfdt/fdt_strerror.o [ 387s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 388s] HOSTCC tools/libfdt/fdt_addresses.o [ 388s] HOSTCC tools/libfdt/fdt_overlay.o [ 388s] WRAP tools/lib/libfdt/fdt_ro.c [ 388s] /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'. [ 388s] /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'. [ 388s] WRAP tools/lib/libfdt/fdt_region.c [ 388s] /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'. [ 388s] /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'. [ 388s] HOSTCC tools/gpimage.o [ 388s] HOSTCC tools/gpimage-common.o [ 388s] HOSTCC tools/mtk_image.o [ 388s] HOSTCC tools/dumpimage.o [ 388s] HOSTCC tools/common/bootm.o [ 389s] HOSTCC tools/lib/fdtdec_common.o [ 389s] HOSTCC tools/lib/fdtdec.o [ 389s] HOSTCC tools/common/image.o [ 389s] HOSTCC tools/lib/md5.o [ 389s] HOSTCC tools/lib/rc4.o [ 390s] HOSTCC tools/lib/crc16.o [ 390s] HOSTCC tools/lib/sha1.o [ 390s] HOSTCC tools/lib/sha256.o [ 390s] HOSTCC tools/common/hash.o [ 390s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 390s] HOSTCC tools/lib/libfdt/fdt_region.o [ 390s] HOSTCC tools/mkimage.o [ 391s] HOSTCC tools/proftool [ 391s] HOSTCC tools/prelink-riscv [ 391s] HOSTCC tools/fdtgrep.o [ 391s] HOSTCC tools/spl_size_limit [ 392s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 392s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 392s] HOSTCC tools/lib/crc8.o [ 392s] HOSTLD tools/mkenvimage [ 393s] HOSTLD tools/gen_ethaddr_crc [ 393s] HOSTLD tools/fdtgrep [ 394s] HOSTLD tools/dumpimage [ 394s] HOSTLD tools/mkimage [ 394s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 394s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 394s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 394s] ++ echo platform/kernel/u-boot-thead#7a92d09dbfbbb09327b4aea686fe71a7472fddca [ 394s] + make -j8 EXTRAVERSION=-g7a92d09db-TIZEN.org [ 418s] HOSTCC scripts/basic/fixdep [ 427s] HOSTCC scripts/kconfig/conf.o [ 433s] HOSTCC scripts/kconfig/zconf.tab.o [ 438s] HOSTLD scripts/kconfig/conf [ 438s] scripts/kconfig/conf --syncconfig Kconfig [ 441s] CHK include/config.h [ 442s] CFG u-boot.cfg [ 442s] GEN include/autoconf.mk.dep [ 442s] CFG spl/u-boot.cfg [ 442s] GEN include/autoconf.mk [ 442s] GEN spl/include/autoconf.mk [ 463s] CHK include/config/uboot.release [ 463s] CHK include/generated/timestamp_autogenerated.h [ 465s] UPD include/config/uboot.release [ 465s] HOSTCC scripts/dtc/dtc.o [ 465s] HOSTCC scripts/dtc/flattree.o [ 465s] HOSTCC scripts/dtc/fstree.o [ 465s] HOSTCC scripts/dtc/data.o [ 465s] HOSTCC scripts/dtc/livetree.o [ 465s] HOSTCC scripts/dtc/treesource.o [ 466s] HOSTCC scripts/dtc/srcpos.o [ 466s] CHK include/generated/version_autogenerated.h [ 466s] HOSTCC scripts/dtc/checks.o [ 466s] HOSTCC scripts/dtc/util.o [ 466s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 467s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 468s] UPD include/generated/version_autogenerated.h [ 469s] HOSTLD scripts/dtc/dtc [ 469s] UPD include/generated/timestamp_autogenerated.h [ 470s] CC lib/asm-offsets.s [ 470s] CC arch/riscv/lib/asm-offsets.s [ 470s] In file included from include/linux/bitops.h:136, [ 470s] from include/common.h:26, [ 470s] from lib/asm-offsets.c:14: [ 470s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 470s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 470s] 98 | out = __test_and_clear_bit(nr, addr); [ 470s] | ^~~~ [ 470s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 470s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 470s] | ~~~~~~^~~~ [ 470s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 470s] 95 | unsigned long flags = 0; [ 470s] | ^~~~~ [ 470s] In file included from include/linux/bitops.h:136, [ 470s] from include/common.h:26, [ 470s] from arch/riscv/lib/asm-offsets.c:11: [ 470s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 470s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 470s] 98 | out = __test_and_clear_bit(nr, addr); [ 470s] | ^~~~ [ 470s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 470s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 470s] | ~~~~~~^~~~ [ 470s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 470s] 95 | unsigned long flags = 0; [ 470s] | ^~~~~ [ 471s] CHK include/generated/generic-asm-offsets.h [ 472s] CHK include/generated/asm-offsets.h [ 473s] HOSTCC tools/bmp_logo [ 473s] HOSTCC tools/gen_eth_addr [ 473s] HOSTCC tools/gen_ethaddr_crc.o [ 473s] HOSTCC tools/lib/crc8.o [ 473s] HOSTCC tools/img2srec [ 473s] HOSTCC tools/mkenvimage.o [ 473s] HOSTCC tools/os_support.o [ 473s] HOSTCC tools/lib/crc32.o [ 474s] HOSTCC tools/aisimage.o [ 474s] HOSTCC tools/atmelimage.o [ 474s] HOSTCC tools/common/bootm.o [ 474s] HOSTCC tools/default_image.o [ 474s] LDS u-boot.lds [ 475s] HOSTCC tools/lib/fdtdec_common.o [ 475s] In file included from tools/default_image.c:20: [ 475s] In function 'image_set_name', [ 475s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 475s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 475s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 475s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 475s] HOSTCC tools/lib/fdtdec.o [ 475s] HOSTCC tools/common/image.o [ 476s] HOSTCC tools/imagetool.o [ 476s] HOSTCC tools/imximage.o [ 476s] HOSTCC tools/imx8image.o [ 476s] HOSTCC tools/imx8mimage.o [ 476s] HOSTCC tools/kwbimage.o [ 476s] HOSTCC tools/lib/md5.o [ 476s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 476s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 476s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 476s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 476s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 476s] 251 | int zero = 0; [ 476s] | ^~~~ [ 476s] In file included from tools/imagetool.h:21, [ 476s] from tools/imx8mimage.c:9: [ 476s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 476s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 476s] | ^~~~~ [ 476s] HOSTCC tools/lpc32xximage.o [ 476s] tools/imx8image.c: In function 'copy_file.constprop': [ 476s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 476s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 476s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 476s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 476s] 367 | int zero = 0; [ 476s] | ^~~~ [ 476s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 476s] from include/imx8image.h:13, [ 476s] from tools/imx8image.c:8: [ 476s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 476s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 476s] | ^~~~~ [ 477s] HOSTCC tools/mxsimage.o [ 477s] HOSTCC tools/omapimage.o [ 477s] HOSTCC tools/pblimage.o [ 477s] HOSTCC tools/pbl_crc32.o [ 477s] HOSTCC tools/vybridimage.o [ 478s] HOSTCC tools/stm32image.o [ 478s] HOSTCC tools/lib/rc4.o [ 478s] HOSTCC tools/rkcommon.o [ 478s] HOSTCC tools/rkimage.o [ 478s] HOSTCC tools/rksd.o [ 479s] HOSTCC tools/rkspi.o [ 479s] HOSTCC tools/socfpgaimage.o [ 479s] HOSTCC tools/lib/crc16.o [ 479s] HOSTCC tools/lib/sha1.o [ 480s] HOSTCC tools/lib/sha256.o [ 480s] HOSTCC tools/common/hash.o [ 480s] HOSTCC tools/ublimage.o [ 480s] HOSTCC tools/zynqimage.o [ 481s] HOSTCC tools/zynqmpimage.o [ 481s] HOSTCC tools/zynqmpbif.o [ 481s] HOSTCC tools/libfdt/fdt.o [ 482s] HOSTCC tools/libfdt/fdt_wip.o [ 482s] HOSTCC tools/libfdt/fdt_sw.o [ 482s] HOSTCC tools/libfdt/fdt_rw.o [ 482s] HOSTCC tools/libfdt/fdt_strerror.o [ 483s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 483s] HOSTCC tools/libfdt/fdt_addresses.o [ 483s] HOSTCC tools/libfdt/fdt_overlay.o [ 483s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 483s] HOSTCC tools/lib/libfdt/fdt_region.o [ 483s] HOSTCC tools/gpimage.o [ 484s] HOSTCC tools/gpimage-common.o [ 484s] HOSTCC tools/mtk_image.o [ 484s] HOSTCC tools/dumpimage.o [ 485s] HOSTCC tools/mkimage.o [ 485s] HOSTCC tools/proftool [ 485s] HOSTCC tools/prelink-riscv [ 485s] HOSTCC tools/fdtgrep.o [ 485s] HOSTCC tools/spl_size_limit [ 485s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 486s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 486s] HOSTLD tools/gen_ethaddr_crc [ 486s] HOSTLD tools/mkenvimage [ 486s] HOSTLD tools/dumpimage [ 486s] HOSTLD tools/mkimage [ 487s] HOSTLD tools/fdtgrep [ 487s] CC arch/riscv/cpu/cpu.o [ 487s] AS arch/riscv/cpu/mtrap.o [ 487s] AS arch/riscv/cpu/start.o [ 488s] CC arch/riscv/cpu/c9xx/dram.o [ 488s] CC arch/riscv/cpu/c9xx/cpu.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from arch/riscv/cpu/cpu.c:6: [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 488s] 98 | out = __test_and_clear_bit(nr, addr); [ 488s] | ^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 488s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 488s] | ~~~~~~^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 488s] 95 | unsigned long flags = 0; [ 488s] | ^~~~~ [ 488s] CC arch/riscv/cpu/c9xx/feature.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 488s] 98 | out = __test_and_clear_bit(nr, addr); [ 488s] | ^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 488s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 488s] | ~~~~~~^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 488s] 95 | unsigned long flags = 0; [ 488s] | ^~~~~ [ 488s] CC board/thead/common/board_common.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from arch/riscv/cpu/c9xx/dram.c:7: [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 488s] 98 | out = __test_and_clear_bit(nr, addr); [ 488s] | ^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 488s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 488s] | ~~~~~~^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 488s] 95 | unsigned long flags = 0; [ 488s] | ^~~~~ [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from arch/riscv/cpu/c9xx/feature.c:1: [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 488s] 98 | out = __test_and_clear_bit(nr, addr); [ 488s] | ^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 488s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 488s] | ~~~~~~^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 488s] 95 | unsigned long flags = 0; [ 488s] | ^~~~~ [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from board/thead/common/board_common.c:7: [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 488s] 98 | out = __test_and_clear_bit(nr, addr); [ 488s] | ^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 488s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 488s] | ~~~~~~^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 488s] 95 | unsigned long flags = 0; [ 488s] | ^~~~~ [ 488s] CC arch/riscv/lib/bootm.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from arch/riscv/lib/bootm.c:9: [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 488s] 98 | out = __test_and_clear_bit(nr, addr); [ 488s] | ^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 488s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 488s] | ~~~~~~^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 488s] 95 | unsigned long flags = 0; [ 488s] | ^~~~~ [ 488s] arch/riscv/lib/bootm.c: At top level: [ 488s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 488s] 34 | extern void secondary_entry(); [ 488s] | ^~~~~~ [ 488s] CC arch/riscv/lib/image.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from arch/riscv/lib/image.c:9: [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 488s] 98 | out = __test_and_clear_bit(nr, addr); [ 488s] | ^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 488s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 488s] | ~~~~~~^~~~ [ 488s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 488s] 95 | unsigned long flags = 0; [ 488s] | ^~~~~ [ 489s] CC arch/riscv/lib/boot.o [ 489s] CC arch/riscv/lib/cache.o [ 489s] LD arch/riscv/cpu/built-in.o [ 489s] In file included from include/linux/bitops.h:136, [ 489s] from include/common.h:26, [ 489s] from arch/riscv/lib/boot.c:7: [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 489s] 98 | out = __test_and_clear_bit(nr, addr); [ 489s] | ^~~~ [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 489s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 489s] | ~~~~~~^~~~ [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 489s] 95 | unsigned long flags = 0; [ 489s] | ^~~~~ [ 489s] In file included from include/linux/bitops.h:136, [ 489s] from include/common.h:26, [ 489s] from arch/riscv/lib/cache.c:7: [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 489s] 98 | out = __test_and_clear_bit(nr, addr); [ 489s] | ^~~~ [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 489s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 489s] | ~~~~~~^~~~ [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 489s] 95 | unsigned long flags = 0; [ 489s] | ^~~~~ [ 489s] LD board/thead/common/built-in.o [ 489s] CC arch/riscv/lib/thead_ipi.o [ 489s] LD arch/riscv/cpu/c9xx/built-in.o [ 489s] CC board/thead/light-c910/light.o [ 489s] In file included from include/linux/bitops.h:136, [ 489s] from include/common.h:26, [ 489s] from board/thead/light-c910/light.c:7: [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 489s] 98 | out = __test_and_clear_bit(nr, addr); [ 489s] | ^~~~ [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 489s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 489s] | ~~~~~~^~~~ [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 489s] 95 | unsigned long flags = 0; [ 489s] | ^~~~~ [ 489s] CC disk/part.o [ 489s] In file included from include/linux/bitops.h:136, [ 489s] from include/common.h:26, [ 489s] from disk/part.c:7: [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 489s] 98 | out = __test_and_clear_bit(nr, addr); [ 489s] | ^~~~ [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 489s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 489s] | ~~~~~~^~~~ [ 489s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 489s] 95 | unsigned long flags = 0; [ 489s] | ^~~~~ [ 490s] CC disk/part_efi.o [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from disk/part_efi.c:13: [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 490s] 98 | out = __test_and_clear_bit(nr, addr); [ 490s] | ^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 490s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 490s] | ~~~~~~^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 490s] 95 | unsigned long flags = 0; [ 490s] | ^~~~~ [ 490s] CC arch/riscv/lib/rdtime.o [ 490s] CC board/thead/light-c910/board.o [ 490s] CC arch/riscv/lib/interrupts.o [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from arch/riscv/lib/rdtime.c:10: [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 490s] 98 | out = __test_and_clear_bit(nr, addr); [ 490s] | ^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 490s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 490s] | ~~~~~~^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 490s] 95 | unsigned long flags = 0; [ 490s] | ^~~~~ [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from board/thead/light-c910/board.c:7: [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 490s] 98 | out = __test_and_clear_bit(nr, addr); [ 490s] | ^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 490s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 490s] | ~~~~~~^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 490s] 95 | unsigned long flags = 0; [ 490s] | ^~~~~ [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from arch/riscv/lib/interrupts.c:10: [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 490s] 98 | out = __test_and_clear_bit(nr, addr); [ 490s] | ^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 490s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 490s] | ~~~~~~^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 490s] 95 | unsigned long flags = 0; [ 490s] | ^~~~~ [ 490s] CC common/init/board_init.o [ 490s] LD cmd/riscv/built-in.o [ 490s] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 490s] board/thead/light-c910/board.c:156:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 490s] 156 | int sc_err = SC_FAIL; [ 490s] | ^~~~~~ [ 490s] CC cmd/boot.o [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from common/init/board_init.c:9: [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 490s] 98 | out = __test_and_clear_bit(nr, addr); [ 490s] | ^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 490s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 490s] | ~~~~~~^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 490s] 95 | unsigned long flags = 0; [ 490s] | ^~~~~ [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from cmd/boot.c:10: [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 490s] 98 | out = __test_and_clear_bit(nr, addr); [ 490s] | ^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 490s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 490s] | ~~~~~~^~~~ [ 490s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 490s] 95 | unsigned long flags = 0; [ 490s] | ^~~~~ [ 490s] CC cmd/bootm.o [ 491s] CC cmd/help.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from cmd/bootm.c:10: [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 491s] 98 | out = __test_and_clear_bit(nr, addr); [ 491s] | ^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 491s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 491s] | ~~~~~~^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 491s] 95 | unsigned long flags = 0; [ 491s] | ^~~~~ [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from cmd/help.c:7: [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 491s] 98 | out = __test_and_clear_bit(nr, addr); [ 491s] | ^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 491s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 491s] | ~~~~~~^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 491s] 95 | unsigned long flags = 0; [ 491s] | ^~~~~ [ 491s] CC cmd/version.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from cmd/version.c:7: [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 491s] 98 | out = __test_and_clear_bit(nr, addr); [ 491s] | ^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 491s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 491s] | ~~~~~~^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 491s] 95 | unsigned long flags = 0; [ 491s] | ^~~~~ [ 491s] CC cmd/blk_common.o [ 491s] LD common/init/built-in.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from cmd/blk_common.c:11: [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 491s] 98 | out = __test_and_clear_bit(nr, addr); [ 491s] | ^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 491s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 491s] | ~~~~~~^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 491s] 95 | unsigned long flags = 0; [ 491s] | ^~~~~ [ 491s] CC common/main.o [ 491s] LD disk/built-in.o [ 491s] CC board/thead/light-c910/clock_config.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from common/main.c:9: [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 491s] 98 | out = __test_and_clear_bit(nr, addr); [ 491s] | ^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 491s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 491s] | ~~~~~~^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 491s] 95 | unsigned long flags = 0; [ 491s] | ^~~~~ [ 491s] CC arch/riscv/lib/reset.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from arch/riscv/lib/reset.c:6: [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 491s] 98 | out = __test_and_clear_bit(nr, addr); [ 491s] | ^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 491s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 491s] | ~~~~~~^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 491s] 95 | unsigned long flags = 0; [ 491s] | ^~~~~ [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from board/thead/light-c910/clock_config.c:7: [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 491s] 98 | out = __test_and_clear_bit(nr, addr); [ 491s] | ^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 491s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 491s] | ~~~~~~^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 491s] 95 | unsigned long flags = 0; [ 491s] | ^~~~~ [ 491s] CC cmd/source.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from cmd/source.c:17: [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 491s] 98 | out = __test_and_clear_bit(nr, addr); [ 491s] | ^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 491s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 491s] | ~~~~~~^~~~ [ 491s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 491s] 95 | unsigned long flags = 0; [ 491s] | ^~~~~ [ 492s] CC cmd/bdinfo.o [ 492s] CC cmd/blkcache.o [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from cmd/blkcache.c:8: [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 492s] 98 | out = __test_and_clear_bit(nr, addr); [ 492s] | ^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 492s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 492s] | ~~~~~~^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 492s] 95 | unsigned long flags = 0; [ 492s] | ^~~~~ [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from cmd/bdinfo.c:10: [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 492s] 98 | out = __test_and_clear_bit(nr, addr); [ 492s] | ^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 492s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 492s] | ~~~~~~^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 492s] 95 | unsigned long flags = 0; [ 492s] | ^~~~~ [ 492s] LD drivers/adc/built-in.o [ 492s] LD drivers/ata/built-in.o [ 492s] LD drivers/axi/built-in.o [ 492s] CC common/exports.o [ 492s] CC cmd/bmp.o [ 492s] CC drivers/block/blk-uclass.o [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from common/exports.c:1: [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 492s] 98 | out = __test_and_clear_bit(nr, addr); [ 492s] | ^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 492s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 492s] | ~~~~~~^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 492s] 95 | unsigned long flags = 0; [ 492s] | ^~~~~ [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from cmd/bmp.c:11: [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 492s] 98 | out = __test_and_clear_bit(nr, addr); [ 492s] | ^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 492s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 492s] | ~~~~~~^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 492s] 95 | unsigned long flags = 0; [ 492s] | ^~~~~ [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from drivers/block/blk-uclass.c:7: [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 492s] 98 | out = __test_and_clear_bit(nr, addr); [ 492s] | ^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 492s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 492s] | ~~~~~~^~~~ [ 492s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 492s] 95 | unsigned long flags = 0; [ 492s] | ^~~~~ [ 492s] AS arch/riscv/lib/setjmp.o [ 492s] LD drivers/board/built-in.o [ 492s] CC cmd/booti.o [ 493s] CC board/thead/light-c910/sec_check.o [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from cmd/booti.c:7: [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 493s] 98 | out = __test_and_clear_bit(nr, addr); [ 493s] | ^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 493s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 493s] | ~~~~~~^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 493s] 95 | unsigned long flags = 0; [ 493s] | ^~~~~ [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from board/thead/light-c910/sec_check.c:7: [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 493s] 98 | out = __test_and_clear_bit(nr, addr); [ 493s] | ^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 493s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 493s] | ~~~~~~^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 493s] 95 | unsigned long flags = 0; [ 493s] | ^~~~~ [ 493s] CC cmd/console.o [ 493s] CC cmd/cpu.o [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from cmd/console.c:10: [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 493s] 98 | out = __test_and_clear_bit(nr, addr); [ 493s] | ^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 493s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 493s] | ~~~~~~^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 493s] 95 | unsigned long flags = 0; [ 493s] | ^~~~~ [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from cmd/cpu.c:8: [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 493s] 98 | out = __test_and_clear_bit(nr, addr); [ 493s] | ^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 493s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 493s] | ~~~~~~^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 493s] 95 | unsigned long flags = 0; [ 493s] | ^~~~~ [ 493s] CC arch/riscv/lib/smp.o [ 493s] CC common/hash.o [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from arch/riscv/lib/smp.c:7: [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 493s] 98 | out = __test_and_clear_bit(nr, addr); [ 493s] | ^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 493s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 493s] | ~~~~~~^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 493s] 95 | unsigned long flags = 0; [ 493s] | ^~~~~ [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from common/hash.c:13: [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 493s] 98 | out = __test_and_clear_bit(nr, addr); [ 493s] | ^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 493s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 493s] | ~~~~~~^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 493s] 95 | unsigned long flags = 0; [ 493s] | ^~~~~ [ 493s] CC arch/riscv/lib/locks.o [ 493s] CC drivers/block/blkcache.o [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from drivers/block/blkcache.c:8: [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 493s] 98 | out = __test_and_clear_bit(nr, addr); [ 493s] | ^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 493s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 493s] | ~~~~~~^~~~ [ 493s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 493s] 95 | unsigned long flags = 0; [ 493s] | ^~~~~ [ 493s] CC board/thead/light-c910/boot.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from board/thead/light-c910/boot.c:3: [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 494s] 98 | out = __test_and_clear_bit(nr, addr); [ 494s] | ^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 494s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 494s] | ~~~~~~^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 494s] 95 | unsigned long flags = 0; [ 494s] | ^~~~~ [ 494s] CC cmd/dm.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from cmd/dm.c:9: [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 494s] 98 | out = __test_and_clear_bit(nr, addr); [ 494s] | ^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 494s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 494s] | ~~~~~~^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 494s] 95 | unsigned long flags = 0; [ 494s] | ^~~~~ [ 494s] CC common/cli_hush.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from common/cli_hush.c:78: [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 494s] 98 | out = __test_and_clear_bit(nr, addr); [ 494s] | ^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 494s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 494s] | ~~~~~~^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 494s] 95 | unsigned long flags = 0; [ 494s] | ^~~~~ [ 494s] LD drivers/cache/built-in.o [ 494s] LD arch/riscv/lib/built-in.o [ 494s] LD drivers/dma/ti/built-in.o [ 494s] CC board/thead/light-c910/sbmeta/sbmeta.o [ 494s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 494s] LD drivers/clk/analogbits/built-in.o [ 494s] LD drivers/dma/built-in.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from board/thead/light-c910/sbmeta/sbmeta.h:9, [ 494s] from board/thead/light-c910/sbmeta/sbmeta.c:6: [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 494s] 98 | out = __test_and_clear_bit(nr, addr); [ 494s] | ^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 494s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 494s] | ~~~~~~^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 494s] 95 | unsigned long flags = 0; [ 494s] | ^~~~~ [ 494s] CC common/autoboot.o [ 494s] CC cmd/echo.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from cmd/echo.c:7: [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 494s] 98 | out = __test_and_clear_bit(nr, addr); [ 494s] | ^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 494s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 494s] | ~~~~~~^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 494s] 95 | unsigned long flags = 0; [ 494s] | ^~~~~ [ 494s] LD drivers/clk/imx/built-in.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from common/autoboot.c:7: [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 494s] 98 | out = __test_and_clear_bit(nr, addr); [ 494s] | ^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 494s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 494s] | ~~~~~~^~~~ [ 494s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 494s] 95 | unsigned long flags = 0; [ 494s] | ^~~~~ [ 494s] LD drivers/block/built-in.o [ 495s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 495s] LD drivers/clk/tegra/built-in.o [ 495s] CC drivers/clk/clk-uclass.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from drivers/clk/clk-uclass.c:9: [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 495s] 98 | out = __test_and_clear_bit(nr, addr); [ 495s] | ^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 495s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 495s] | ~~~~~~^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 495s] 95 | unsigned long flags = 0; [ 495s] | ^~~~~ [ 495s] CC board/thead/light-c910/light-sv/pll_io_test.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from board/thead/light-c910/light-sv/pll_io_test.c:6: [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 495s] 98 | out = __test_and_clear_bit(nr, addr); [ 495s] | ^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 495s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 495s] | ~~~~~~^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 495s] 95 | unsigned long flags = 0; [ 495s] | ^~~~~ [ 495s] CC drivers/clk/clk_fixed_rate.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from drivers/clk/clk_fixed_rate.c:6: [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 495s] 98 | out = __test_and_clear_bit(nr, addr); [ 495s] | ^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 495s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 495s] | ~~~~~~^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 495s] 95 | unsigned long flags = 0; [ 495s] | ^~~~~ [ 495s] CC cmd/elf.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from cmd/elf.c:16: [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 495s] 98 | out = __test_and_clear_bit(nr, addr); [ 495s] | ^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 495s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 495s] | ~~~~~~^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 495s] 95 | unsigned long flags = 0; [ 495s] | ^~~~~ [ 495s] CC cmd/exit.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from cmd/exit.c:7: [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 495s] 98 | out = __test_and_clear_bit(nr, addr); [ 495s] | ^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 495s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 495s] | ~~~~~~^~~~ [ 495s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 495s] 95 | unsigned long flags = 0; [ 495s] | ^~~~~ [ 496s] CC common/board_f.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from common/board_f.c:12: [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 496s] 98 | out = __test_and_clear_bit(nr, addr); [ 496s] | ^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 496s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 496s] | ~~~~~~^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 496s] 95 | unsigned long flags = 0; [ 496s] | ^~~~~ [ 496s] CC board/thead/light-c910/light-sv/adc_test.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 496s] 98 | out = __test_and_clear_bit(nr, addr); [ 496s] | ^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 496s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 496s] | ~~~~~~^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 496s] 95 | unsigned long flags = 0; [ 496s] | ^~~~~ [ 496s] CC board/thead/light-c910/version_rollback.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from board/thead/light-c910/version_rollback.c:7: [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 496s] 98 | out = __test_and_clear_bit(nr, addr); [ 496s] | ^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 496s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 496s] | ~~~~~~^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 496s] 95 | unsigned long flags = 0; [ 496s] | ^~~~~ [ 496s] CC drivers/clk/clk_fixed_factor.o [ 496s] CC drivers/core/device.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from drivers/clk/clk_fixed_factor.c:8: [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 496s] 98 | out = __test_and_clear_bit(nr, addr); [ 496s] | ^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 496s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 496s] | ~~~~~~^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 496s] 95 | unsigned long flags = 0; [ 496s] | ^~~~~ [ 496s] CC drivers/cpu/cpu-uclass.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from drivers/core/device.c:11: [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 496s] 98 | out = __test_and_clear_bit(nr, addr); [ 496s] | ^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 496s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 496s] | ~~~~~~^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 496s] 95 | unsigned long flags = 0; [ 496s] | ^~~~~ [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from drivers/cpu/cpu-uclass.c:7: [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 496s] 98 | out = __test_and_clear_bit(nr, addr); [ 496s] | ^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 496s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 496s] | ~~~~~~^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 496s] 95 | unsigned long flags = 0; [ 496s] | ^~~~~ [ 496s] CC drivers/cpu/riscv_cpu.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from drivers/cpu/riscv_cpu.c:6: [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 496s] 98 | out = __test_and_clear_bit(nr, addr); [ 496s] | ^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 496s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 496s] | ~~~~~~^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 496s] 95 | unsigned long flags = 0; [ 496s] | ^~~~~ [ 496s] CC cmd/ext4.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from cmd/ext4.c:28: [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 496s] 98 | out = __test_and_clear_bit(nr, addr); [ 496s] | ^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 496s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 496s] | ~~~~~~^~~~ [ 496s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 496s] 95 | unsigned long flags = 0; [ 496s] | ^~~~~ [ 497s] CC common/board_r.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from common/board_r.c:12: [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 497s] 98 | out = __test_and_clear_bit(nr, addr); [ 497s] | ^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 497s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 497s] | ~~~~~~^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 497s] 95 | unsigned long flags = 0; [ 497s] | ^~~~~ [ 497s] CC drivers/core/fdtaddr.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/core/fdtaddr.c:11: [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 497s] 98 | out = __test_and_clear_bit(nr, addr); [ 497s] | ^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 497s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 497s] | ~~~~~~^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 497s] 95 | unsigned long flags = 0; [ 497s] | ^~~~~ [ 497s] LD board/thead/light-c910/built-in.o [ 497s] CC drivers/core/lists.o [ 497s] LD drivers/clk/built-in.o [ 497s] CC drivers/core/root.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/core/lists.c:11: [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 497s] 98 | out = __test_and_clear_bit(nr, addr); [ 497s] | ^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 497s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 497s] | ~~~~~~^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 497s] 95 | unsigned long flags = 0; [ 497s] | ^~~~~ [ 497s] LD drivers/cpu/built-in.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/core/root.c:9: [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 497s] 98 | out = __test_and_clear_bit(nr, addr); [ 497s] | ^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 497s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 497s] | ~~~~~~^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 497s] 95 | unsigned long flags = 0; [ 497s] | ^~~~~ [ 497s] CC drivers/core/uclass.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/core/uclass.c:11: [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 497s] 98 | out = __test_and_clear_bit(nr, addr); [ 497s] | ^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 497s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 497s] | ~~~~~~^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 497s] 95 | unsigned long flags = 0; [ 497s] | ^~~~~ [ 497s] CC drivers/gpio/dwapb_gpio.o [ 497s] CC cmd/ext2.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/gpio/dwapb_gpio.c:8: [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 497s] 98 | out = __test_and_clear_bit(nr, addr); [ 497s] | ^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 497s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 497s] | ~~~~~~^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 497s] 95 | unsigned long flags = 0; [ 497s] | ^~~~~ [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from include/fs.h:8, [ 497s] from cmd/ext2.c:22: [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 497s] 98 | out = __test_and_clear_bit(nr, addr); [ 497s] | ^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 497s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 497s] | ~~~~~~^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 497s] 95 | unsigned long flags = 0; [ 497s] | ^~~~~ [ 497s] CC drivers/gpio/gpio-uclass.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/gpio/gpio-uclass.c:6: [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 497s] 98 | out = __test_and_clear_bit(nr, addr); [ 497s] | ^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 497s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 497s] | ~~~~~~^~~~ [ 497s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 497s] 95 | unsigned long flags = 0; [ 497s] | ^~~~~ [ 498s] CC cmd/fat.o [ 498s] CC common/board_info.o [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from cmd/fat.c:10: [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 498s] 98 | out = __test_and_clear_bit(nr, addr); [ 498s] | ^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 498s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 498s] | ~~~~~~^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 498s] 95 | unsigned long flags = 0; [ 498s] | ^~~~~ [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from common/board_info.c:3: [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 498s] 98 | out = __test_and_clear_bit(nr, addr); [ 498s] | ^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 498s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 498s] | ~~~~~~^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 498s] 95 | unsigned long flags = 0; [ 498s] | ^~~~~ [ 498s] CC cmd/fdt.o [ 498s] CC common/bootm.o [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from cmd/fdt.c:10: [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 498s] 98 | out = __test_and_clear_bit(nr, addr); [ 498s] | ^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 498s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 498s] | ~~~~~~^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 498s] 95 | unsigned long flags = 0; [ 498s] | ^~~~~ [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from common/bootm.c:8: [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 498s] 98 | out = __test_and_clear_bit(nr, addr); [ 498s] | ^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 498s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 498s] | ~~~~~~^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 498s] 95 | unsigned long flags = 0; [ 498s] | ^~~~~ [ 498s] CC common/bootm_os.o [ 498s] CC common/fdt_support.o [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from common/bootm_os.c:7: [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 498s] 98 | out = __test_and_clear_bit(nr, addr); [ 498s] | ^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 498s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 498s] | ~~~~~~^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 498s] 95 | unsigned long flags = 0; [ 498s] | ^~~~~ [ 498s] CC drivers/core/util.o [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from common/fdt_support.c:9: [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 498s] 98 | out = __test_and_clear_bit(nr, addr); [ 498s] | ^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 498s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 498s] | ~~~~~~^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 498s] 95 | unsigned long flags = 0; [ 498s] | ^~~~~ [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from drivers/core/util.c:6: [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 498s] 98 | out = __test_and_clear_bit(nr, addr); [ 498s] | ^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 498s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 498s] | ~~~~~~^~~~ [ 498s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 498s] 95 | unsigned long flags = 0; [ 498s] | ^~~~~ [ 499s] CC drivers/gpio/pca953x_gpio.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from drivers/gpio/pca953x_gpio.c:22: [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 499s] 98 | out = __test_and_clear_bit(nr, addr); [ 499s] | ^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 499s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 499s] | ~~~~~~^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 499s] 95 | unsigned long flags = 0; [ 499s] | ^~~~~ [ 499s] CC cmd/flash.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from cmd/flash.c:10: [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 499s] 98 | out = __test_and_clear_bit(nr, addr); [ 499s] | ^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 499s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 499s] | ~~~~~~^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 499s] 95 | unsigned long flags = 0; [ 499s] | ^~~~~ [ 499s] CC common/miiphyutil.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from common/miiphyutil.c:12: [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 499s] 98 | out = __test_and_clear_bit(nr, addr); [ 499s] | ^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 499s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 499s] | ~~~~~~^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 499s] 95 | unsigned long flags = 0; [ 499s] | ^~~~~ [ 499s] CC common/usb.o [ 499s] CC cmd/fs.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from cmd/fs.c:8: [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 499s] 98 | out = __test_and_clear_bit(nr, addr); [ 499s] | ^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 499s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 499s] | ~~~~~~^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 499s] 95 | unsigned long flags = 0; [ 499s] | ^~~~~ [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from common/usb.c:28: [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 499s] 98 | out = __test_and_clear_bit(nr, addr); [ 499s] | ^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 499s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 499s] | ~~~~~~^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 499s] 95 | unsigned long flags = 0; [ 499s] | ^~~~~ [ 499s] CC drivers/core/device-remove.o [ 499s] CC drivers/i2c/i2c-uclass.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from drivers/core/device-remove.c:11: [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 499s] 98 | out = __test_and_clear_bit(nr, addr); [ 499s] | ^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 499s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 499s] | ~~~~~~^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 499s] 95 | unsigned long flags = 0; [ 499s] | ^~~~~ [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from drivers/i2c/i2c-uclass.c:6: [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 499s] 98 | out = __test_and_clear_bit(nr, addr); [ 499s] | ^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 499s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 499s] | ~~~~~~^~~~ [ 499s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 499s] 95 | unsigned long flags = 0; [ 499s] | ^~~~~ [ 499s] LD drivers/gpio/built-in.o [ 500s] CC drivers/i2c/designware_i2c.o [ 500s] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from drivers/i2c/designware_i2c.c:8: [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 500s] 98 | out = __test_and_clear_bit(nr, addr); [ 500s] | ^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 500s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 500s] | ~~~~~~^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 500s] 95 | unsigned long flags = 0; [ 500s] | ^~~~~ [ 500s] LD drivers/net/mscc_eswitch/built-in.o [ 500s] LD drivers/net/ti/built-in.o [ 500s] CC cmd/i2c.o [ 500s] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from cmd/i2c.c:67: [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 500s] 98 | out = __test_and_clear_bit(nr, addr); [ 500s] | ^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 500s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 500s] | ~~~~~~^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 500s] 95 | unsigned long flags = 0; [ 500s] | ^~~~~ [ 500s] CC drivers/net/designware.o [ 500s] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from drivers/net/designware.c:11: [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 500s] 98 | out = __test_and_clear_bit(nr, addr); [ 500s] | ^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 500s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 500s] | ~~~~~~^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 500s] 95 | unsigned long flags = 0; [ 500s] | ^~~~~ [ 500s] CC common/usb_hub.o [ 500s] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from common/usb_hub.c:24: [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 500s] 98 | out = __test_and_clear_bit(nr, addr); [ 500s] | ^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 500s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 500s] | ~~~~~~^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 500s] 95 | unsigned long flags = 0; [ 500s] | ^~~~~ [ 500s] CC common/iomux.o [ 500s] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from common/iomux.c:7: [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 500s] 98 | out = __test_and_clear_bit(nr, addr); [ 500s] | ^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 500s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 500s] | ~~~~~~^~~~ [ 500s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 500s] 95 | unsigned long flags = 0; [ 500s] | ^~~~~ [ 500s] CC drivers/core/simple-bus.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from drivers/core/simple-bus.c:6: [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 501s] 98 | out = __test_and_clear_bit(nr, addr); [ 501s] | ^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 501s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 501s] | ~~~~~~^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 501s] 95 | unsigned long flags = 0; [ 501s] | ^~~~~ [ 501s] CC common/splash.o [ 501s] CC drivers/core/dump.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from common/splash.c:23: [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 501s] 98 | out = __test_and_clear_bit(nr, addr); [ 501s] | ^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 501s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 501s] | ~~~~~~^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 501s] 95 | unsigned long flags = 0; [ 501s] | ^~~~~ [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from drivers/core/dump.c:6: [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 501s] 98 | out = __test_and_clear_bit(nr, addr); [ 501s] | ^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 501s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 501s] | ~~~~~~^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 501s] 95 | unsigned long flags = 0; [ 501s] | ^~~~~ [ 501s] LD drivers/i2c/built-in.o [ 501s] CC drivers/core/regmap.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from drivers/core/regmap.c:7: [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 501s] 98 | out = __test_and_clear_bit(nr, addr); [ 501s] | ^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 501s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 501s] | ~~~~~~^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 501s] 95 | unsigned long flags = 0; [ 501s] | ^~~~~ [ 501s] CC cmd/itest.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from cmd/itest.c:14: [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 501s] 98 | out = __test_and_clear_bit(nr, addr); [ 501s] | ^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 501s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 501s] | ~~~~~~^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 501s] 95 | unsigned long flags = 0; [ 501s] | ^~~~~ [ 501s] LD drivers/net/built-in.o [ 501s] CC cmd/load.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from cmd/load.c:10: [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 501s] 98 | out = __test_and_clear_bit(nr, addr); [ 501s] | ^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 501s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 501s] | ~~~~~~^~~~ [ 501s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 501s] 95 | unsigned long flags = 0; [ 501s] | ^~~~~ [ 501s] CC cmd/mem.o [ 501s] CC common/menu.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from cmd/mem.c:13: [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 502s] 98 | out = __test_and_clear_bit(nr, addr); [ 502s] | ^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 502s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 502s] | ~~~~~~^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 502s] 95 | unsigned long flags = 0; [ 502s] | ^~~~~ [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from common/menu.c:7: [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 502s] 98 | out = __test_and_clear_bit(nr, addr); [ 502s] | ^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 502s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 502s] | ~~~~~~^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 502s] 95 | unsigned long flags = 0; [ 502s] | ^~~~~ [ 502s] CC drivers/net/phy/phy.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from drivers/net/phy/phy.c:10: [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 502s] 98 | out = __test_and_clear_bit(nr, addr); [ 502s] | ^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 502s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 502s] | ~~~~~~^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 502s] 95 | unsigned long flags = 0; [ 502s] | ^~~~~ [ 502s] LD drivers/power/built-in.o [ 502s] CC drivers/core/syscon-uclass.o [ 502s] CC drivers/core/of_extra.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from drivers/core/syscon-uclass.c:7: [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 502s] 98 | out = __test_and_clear_bit(nr, addr); [ 502s] | ^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 502s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 502s] | ~~~~~~^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 502s] 95 | unsigned long flags = 0; [ 502s] | ^~~~~ [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from drivers/core/of_extra.c:7: [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 502s] 98 | out = __test_and_clear_bit(nr, addr); [ 502s] | ^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 502s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 502s] | ~~~~~~^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 502s] 95 | unsigned long flags = 0; [ 502s] | ^~~~~ [ 502s] CC common/cli_readline.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from common/cli_readline.c:11: [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 502s] 98 | out = __test_and_clear_bit(nr, addr); [ 502s] | ^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 502s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 502s] | ~~~~~~^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 502s] 95 | unsigned long flags = 0; [ 502s] | ^~~~~ [ 502s] CC common/cli_simple.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from common/cli_simple.c:11: [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 502s] 98 | out = __test_and_clear_bit(nr, addr); [ 502s] | ^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 502s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 502s] | ~~~~~~^~~~ [ 502s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 502s] 95 | unsigned long flags = 0; [ 502s] | ^~~~~ [ 503s] CC common/bouncebuf.o [ 503s] CC cmd/mii.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from common/bouncebuf.c:8: [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 503s] 98 | out = __test_and_clear_bit(nr, addr); [ 503s] | ^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 503s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 503s] | ~~~~~~^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 503s] 95 | unsigned long flags = 0; [ 503s] | ^~~~~ [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from cmd/mii.c:11: [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 503s] 98 | out = __test_and_clear_bit(nr, addr); [ 503s] | ^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 503s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 503s] | ~~~~~~^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 503s] 95 | unsigned long flags = 0; [ 503s] | ^~~~~ [ 503s] CC common/console.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from common/console.c:7: [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 503s] 98 | out = __test_and_clear_bit(nr, addr); [ 503s] | ^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 503s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 503s] | ~~~~~~^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 503s] 95 | unsigned long flags = 0; [ 503s] | ^~~~~ [ 503s] CC drivers/core/ofnode.o [ 503s] CC drivers/net/phy/marvell.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from drivers/core/ofnode.c:7: [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 503s] 98 | out = __test_and_clear_bit(nr, addr); [ 503s] | ^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 503s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 503s] | ~~~~~~^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 503s] 95 | unsigned long flags = 0; [ 503s] | ^~~~~ [ 503s] CC drivers/net/phy/realtek.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from drivers/net/phy/marvell.c:8: [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 503s] 98 | out = __test_and_clear_bit(nr, addr); [ 503s] | ^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 503s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 503s] | ~~~~~~^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 503s] 95 | unsigned long flags = 0; [ 503s] | ^~~~~ [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from drivers/net/phy/realtek.c:9: [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 503s] 98 | out = __test_and_clear_bit(nr, addr); [ 503s] | ^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 503s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 503s] | ~~~~~~^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 503s] 95 | unsigned long flags = 0; [ 503s] | ^~~~~ [ 503s] CC drivers/net/phy/mscc.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from include/miiphy.h:17, [ 503s] from drivers/net/phy/mscc.c:12: [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 503s] 98 | out = __test_and_clear_bit(nr, addr); [ 503s] | ^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 503s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 503s] | ~~~~~~^~~~ [ 503s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 503s] 95 | unsigned long flags = 0; [ 503s] | ^~~~~ [ 503s] CC common/dlmalloc.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from common/dlmalloc.c:1: [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 504s] 98 | out = __test_and_clear_bit(nr, addr); [ 504s] | ^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 504s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 504s] | ~~~~~~^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 504s] 95 | unsigned long flags = 0; [ 504s] | ^~~~~ [ 504s] LD drivers/power/battery/built-in.o [ 504s] CC common/malloc_simple.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from common/malloc_simple.c:10: [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 504s] 98 | out = __test_and_clear_bit(nr, addr); [ 504s] | ^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 504s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 504s] | ~~~~~~^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 504s] 95 | unsigned long flags = 0; [ 504s] | ^~~~~ [ 504s] CC cmd/mdio.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from cmd/mdio.c:11: [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 504s] 98 | out = __test_and_clear_bit(nr, addr); [ 504s] | ^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 504s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 504s] | ~~~~~~^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 504s] 95 | unsigned long flags = 0; [ 504s] | ^~~~~ [ 504s] LD drivers/power/domain/built-in.o [ 504s] CC common/image.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from common/image.c:10: [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 504s] 98 | out = __test_and_clear_bit(nr, addr); [ 504s] | ^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 504s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 504s] | ~~~~~~^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 504s] 95 | unsigned long flags = 0; [ 504s] | ^~~~~ [ 504s] CC common/image-fdt.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from common/image-fdt.c:11: [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 504s] 98 | out = __test_and_clear_bit(nr, addr); [ 504s] | ^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 504s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 504s] | ~~~~~~^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 504s] 95 | unsigned long flags = 0; [ 504s] | ^~~~~ [ 504s] CC drivers/crypto/fsl/sec.o [ 504s] CC drivers/core/read_extra.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from drivers/crypto/fsl/sec.c:6: [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 504s] 98 | out = __test_and_clear_bit(nr, addr); [ 504s] | ^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 504s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 504s] | ~~~~~~^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 504s] 95 | unsigned long flags = 0; [ 504s] | ^~~~~ [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from drivers/core/read_extra.c:7: [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 504s] 98 | out = __test_and_clear_bit(nr, addr); [ 504s] | ^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 504s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 504s] | ~~~~~~^~~~ [ 504s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 504s] 95 | unsigned long flags = 0; [ 504s] | ^~~~~ [ 505s] LD drivers/dfu/built-in.o [ 505s] CC common/memsize.o [ 505s] LD drivers/net/phy/built-in.o [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from common/memsize.c:7: [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 505s] 98 | out = __test_and_clear_bit(nr, addr); [ 505s] | ^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 505s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 505s] | ~~~~~~^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 505s] 95 | unsigned long flags = 0; [ 505s] | ^~~~~ [ 505s] CC drivers/input/key_matrix.o [ 505s] CC cmd/misc.o [ 505s] CC drivers/fastboot/fb_common.o [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from drivers/input/key_matrix.c:9: [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 505s] 98 | out = __test_and_clear_bit(nr, addr); [ 505s] | ^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 505s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 505s] | ~~~~~~^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 505s] 95 | unsigned long flags = 0; [ 505s] | ^~~~~ [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from cmd/misc.c:10: [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 505s] 98 | out = __test_and_clear_bit(nr, addr); [ 505s] | ^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 505s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 505s] | ~~~~~~^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 505s] 95 | unsigned long flags = 0; [ 505s] | ^~~~~ [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from drivers/fastboot/fb_common.c:13: [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 505s] 98 | out = __test_and_clear_bit(nr, addr); [ 505s] | ^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 505s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 505s] | ~~~~~~^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 505s] 95 | unsigned long flags = 0; [ 505s] | ^~~~~ [ 505s] LD drivers/mailbox/built-in.o [ 505s] LD drivers/crypto/rsa_mod_exp/built-in.o [ 505s] CC common/stdio.o [ 505s] LD drivers/core/built-in.o [ 505s] LD drivers/crypto/fsl/built-in.o [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from common/stdio.c:12: [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 505s] 98 | out = __test_and_clear_bit(nr, addr); [ 505s] | ^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 505s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 505s] | ~~~~~~^~~~ [ 505s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 505s] 95 | unsigned long flags = 0; [ 505s] | ^~~~~ [ 505s] LD drivers/crypto/built-in.o [ 505s] CC common/cli.o [ 506s] LD drivers/misc/built-in.o [ 506s] LD drivers/memory/built-in.o [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from common/cli.c:11: [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 506s] 98 | out = __test_and_clear_bit(nr, addr); [ 506s] | ^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 506s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 506s] | ~~~~~~^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 506s] 95 | unsigned long flags = 0; [ 506s] | ^~~~~ [ 506s] CC drivers/fastboot/fb_getvar.o [ 506s] CC drivers/fastboot/fb_command.o [ 506s] CC common/command.o [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from drivers/fastboot/fb_command.c:6: [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 506s] 98 | out = __test_and_clear_bit(nr, addr); [ 506s] | ^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 506s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 506s] | ~~~~~~^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 506s] 95 | unsigned long flags = 0; [ 506s] | ^~~~~ [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from drivers/fastboot/fb_getvar.c:6: [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 506s] 98 | out = __test_and_clear_bit(nr, addr); [ 506s] | ^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 506s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 506s] | ~~~~~~^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 506s] 95 | unsigned long flags = 0; [ 506s] | ^~~~~ [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from common/command.c:11: [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 506s] 98 | out = __test_and_clear_bit(nr, addr); [ 506s] | ^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 506s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 506s] | ~~~~~~^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 506s] 95 | unsigned long flags = 0; [ 506s] | ^~~~~ [ 506s] common/command.c: At top level: [ 506s] 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] [ 506s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 506s] | ^~~~~~~~~~~ [ 506s] In file included from include/image.h:45, [ 506s] from include/common.h:40: [ 506s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 506s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 506s] | ^~~~~~~~~~~ [ 506s] CC common/s_record.o [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from common/s_record.c:7: [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 506s] 98 | out = __test_and_clear_bit(nr, addr); [ 506s] | ^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 506s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 506s] | ~~~~~~^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 506s] 95 | unsigned long flags = 0; [ 506s] | ^~~~~ [ 506s] LD drivers/input/built-in.o [ 506s] CC cmd/mmc.o [ 506s] CC cmd/mtd.o [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from cmd/mmc.c:7: [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 506s] 98 | out = __test_and_clear_bit(nr, addr); [ 506s] | ^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 506s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 506s] | ~~~~~~^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 506s] 95 | unsigned long flags = 0; [ 506s] | ^~~~~ [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from cmd/mtd.c:12: [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 506s] 98 | out = __test_and_clear_bit(nr, addr); [ 506s] | ^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 506s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 506s] | ~~~~~~^~~~ [ 506s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 506s] 95 | unsigned long flags = 0; [ 506s] | ^~~~~ [ 507s] CC cmd/legacy-mtd-utils.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from cmd/legacy-mtd-utils.c:3: [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 507s] 98 | out = __test_and_clear_bit(nr, addr); [ 507s] | ^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 507s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 507s] | ~~~~~~^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 507s] 95 | unsigned long flags = 0; [ 507s] | ^~~~~ [ 507s] CC drivers/fastboot/fb_mmc.o [ 507s] CC drivers/mmc/mmc.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from drivers/fastboot/fb_mmc.c:7: [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 507s] 98 | out = __test_and_clear_bit(nr, addr); [ 507s] | ^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 507s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 507s] | ~~~~~~^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 507s] 95 | unsigned long flags = 0; [ 507s] | ^~~~~ [ 507s] CC drivers/mmc/mmc-uclass.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from drivers/mmc/mmc.c:10: [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 507s] 98 | out = __test_and_clear_bit(nr, addr); [ 507s] | ^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 507s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 507s] | ~~~~~~^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 507s] 95 | unsigned long flags = 0; [ 507s] | ^~~~~ [ 507s] CC common/xyzModem.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from drivers/mmc/mmc-uclass.c:7: [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 507s] 98 | out = __test_and_clear_bit(nr, addr); [ 507s] | ^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 507s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 507s] | ~~~~~~^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 507s] 95 | unsigned long flags = 0; [ 507s] | ^~~~~ [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from common/xyzModem.c:24: [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 507s] 98 | out = __test_and_clear_bit(nr, addr); [ 507s] | ^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 507s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 507s] | ~~~~~~^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 507s] 95 | unsigned long flags = 0; [ 507s] | ^~~~~ [ 507s] CC drivers/mtd/nand/spi/core.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from drivers/mtd/nand/spi/core.c:23: [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 507s] 98 | out = __test_and_clear_bit(nr, addr); [ 507s] | ^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 507s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 507s] | ~~~~~~^~~~ [ 507s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 507s] 95 | unsigned long flags = 0; [ 507s] | ^~~~~ [ 508s] CC drivers/mtd/nand/spi/gigadevice.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from include/linux/mtd/spinand.h:20, [ 508s] from drivers/mtd/nand/spi/gigadevice.c:13: [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 508s] 98 | out = __test_and_clear_bit(nr, addr); [ 508s] | ^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 508s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 508s] | ~~~~~~^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 508s] 95 | unsigned long flags = 0; [ 508s] | ^~~~~ [ 508s] CC drivers/mtd/nand/spi/macronix.o [ 508s] CC cmd/net.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from include/linux/mtd/spinand.h:20, [ 508s] from drivers/mtd/nand/spi/macronix.c:12: [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from cmd/net.c:10: [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 508s] 98 | out = __test_and_clear_bit(nr, addr); [ 508s] | ^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 508s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 508s] | ~~~~~~^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 508s] 95 | unsigned long flags = 0; [ 508s] | ^~~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 508s] 98 | out = __test_and_clear_bit(nr, addr); [ 508s] | ^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 508s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 508s] | ~~~~~~^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 508s] 95 | unsigned long flags = 0; [ 508s] | ^~~~~ [ 508s] LD drivers/fastboot/built-in.o [ 508s] CC drivers/mtd/nand/spi/micron.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from include/linux/mtd/spinand.h:20, [ 508s] from drivers/mtd/nand/spi/micron.c:13: [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 508s] 98 | out = __test_and_clear_bit(nr, addr); [ 508s] | ^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 508s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 508s] | ~~~~~~^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 508s] 95 | unsigned long flags = 0; [ 508s] | ^~~~~ [ 508s] CC drivers/mtd/nand/spi/winbond.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from include/linux/mtd/spinand.h:20, [ 508s] from drivers/mtd/nand/spi/winbond.c:14: [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 508s] 98 | out = __test_and_clear_bit(nr, addr); [ 508s] | ^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 508s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 508s] | ~~~~~~^~~~ [ 508s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 508s] 95 | unsigned long flags = 0; [ 508s] | ^~~~~ [ 509s] LD common/built-in.o [ 509s] LD drivers/power/fuel_gauge/built-in.o [ 509s] CC drivers/phy/phy-uclass.o [ 509s] LD drivers/mtd/onenand/built-in.o [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/phy/phy-uclass.c:7: [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 509s] 98 | out = __test_and_clear_bit(nr, addr); [ 509s] | ^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 509s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 509s] | ~~~~~~^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 509s] 95 | unsigned long flags = 0; [ 509s] | ^~~~~ [ 509s] LD drivers/phy/allwinner/built-in.o [ 509s] CC cmd/part.o [ 509s] CC drivers/mmc/mmc_write.o [ 509s] CC drivers/mtd/nand/core.o [ 509s] CC drivers/mmc/mmc_boot.o [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/mmc/mmc_write.c:10: [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 509s] 98 | out = __test_and_clear_bit(nr, addr); [ 509s] | ^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 509s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 509s] | ~~~~~~^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 509s] 95 | unsigned long flags = 0; [ 509s] | ^~~~~ [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from cmd/part.c:18: [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 509s] 98 | out = __test_and_clear_bit(nr, addr); [ 509s] | ^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 509s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 509s] | ~~~~~~^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 509s] 95 | unsigned long flags = 0; [ 509s] | ^~~~~ [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/mmc/mmc_boot.c:7: [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 509s] 98 | out = __test_and_clear_bit(nr, addr); [ 509s] | ^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 509s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 509s] | ~~~~~~^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 509s] 95 | unsigned long flags = 0; [ 509s] | ^~~~~ [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/mtd/nand/core.c:12: [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 509s] 98 | out = __test_and_clear_bit(nr, addr); [ 509s] | ^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 509s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 509s] | ~~~~~~^~~~ [ 509s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 509s] 95 | unsigned long flags = 0; [ 509s] | ^~~~~ [ 509s] LD drivers/phy/marvell/built-in.o [ 509s] CC drivers/mtd/nand/bbt.o [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from drivers/mtd/nand/bbt.c:12: [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 510s] 98 | out = __test_and_clear_bit(nr, addr); [ 510s] | ^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 510s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 510s] | ~~~~~~^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 510s] 95 | unsigned long flags = 0; [ 510s] | ^~~~~ [ 510s] LD drivers/mtd/nand/spi/spinand.o [ 510s] CC drivers/mtd/spi/sf-uclass.o [ 510s] LD drivers/mtd/nand/spi/built-in.o [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from drivers/mtd/spi/sf-uclass.c:6: [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 510s] 98 | out = __test_and_clear_bit(nr, addr); [ 510s] | ^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 510s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 510s] | ~~~~~~^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 510s] 95 | unsigned long flags = 0; [ 510s] | ^~~~~ [ 510s] CC drivers/mtd/mtdcore.o [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from include/ubi_uboot.h:17, [ 510s] from drivers/mtd/mtdcore.c:30: [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 510s] 98 | out = __test_and_clear_bit(nr, addr); [ 510s] | ^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 510s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 510s] | ~~~~~~^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 510s] 95 | unsigned long flags = 0; [ 510s] | ^~~~~ [ 510s] LD drivers/phy/built-in.o [ 510s] CC drivers/mtd/mtd_uboot.o [ 510s] CC cmd/pxe.o [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from drivers/mtd/mtd_uboot.c:6: [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 510s] 98 | out = __test_and_clear_bit(nr, addr); [ 510s] | ^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 510s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 510s] | ~~~~~~^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 510s] 95 | unsigned long flags = 0; [ 510s] | ^~~~~ [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from cmd/pxe.c:7: [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 510s] 98 | out = __test_and_clear_bit(nr, addr); [ 510s] | ^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 510s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 510s] | ~~~~~~^~~~ [ 510s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 510s] 95 | unsigned long flags = 0; [ 510s] | ^~~~~ [ 511s] CC drivers/mtd/spi/sf_probe.o [ 511s] CC drivers/mmc/dw_mmc.o [ 511s] CC drivers/mtd/spi/spi-nor-ids.o [ 511s] CC drivers/mtd/spi/spi-nor-core.o [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from drivers/mtd/spi/sf_probe.c:10: [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 511s] 98 | out = __test_and_clear_bit(nr, addr); [ 511s] | ^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 511s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 511s] | ~~~~~~^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 511s] 95 | unsigned long flags = 0; [ 511s] | ^~~~~ [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from drivers/mmc/dw_mmc.c:9: [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 511s] 98 | out = __test_and_clear_bit(nr, addr); [ 511s] | ^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 511s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 511s] | ~~~~~~^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 511s] 95 | unsigned long flags = 0; [ 511s] | ^~~~~ [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from drivers/mtd/spi/spi-nor-ids.c:9: [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 511s] 98 | out = __test_and_clear_bit(nr, addr); [ 511s] | ^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 511s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 511s] | ~~~~~~^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 511s] 95 | unsigned long flags = 0; [ 511s] | ^~~~~ [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from drivers/mtd/spi/spi-nor-core.c:12: [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 511s] 98 | out = __test_and_clear_bit(nr, addr); [ 511s] | ^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 511s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 511s] | ~~~~~~^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 511s] 95 | unsigned long flags = 0; [ 511s] | ^~~~~ [ 511s] LD drivers/mtd/nand/nandcore.o [ 511s] LD drivers/mtd/nand/built-in.o [ 511s] CC cmd/pxe_utils.o [ 511s] LD drivers/pwm/built-in.o [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from cmd/pxe_utils.c:7: [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 511s] 98 | out = __test_and_clear_bit(nr, addr); [ 511s] | ^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 511s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 511s] | ~~~~~~^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 511s] 95 | unsigned long flags = 0; [ 511s] | ^~~~~ [ 511s] CC drivers/mtd/mtd-uclass.o [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from drivers/mtd/mtd-uclass.c:6: [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 511s] 98 | out = __test_and_clear_bit(nr, addr); [ 511s] | ^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 511s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 511s] | ~~~~~~^~~~ [ 511s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 511s] 95 | unsigned long flags = 0; [ 511s] | ^~~~~ [ 511s] LD drivers/reset/built-in.o [ 511s] CC drivers/mmc/snps_dw_mmc.o [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from drivers/mmc/snps_dw_mmc.c:10: [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 512s] 98 | out = __test_and_clear_bit(nr, addr); [ 512s] | ^~~~ [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 512s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 512s] | ~~~~~~^~~~ [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 512s] 95 | unsigned long flags = 0; [ 512s] | ^~~~~ [ 512s] CC drivers/rtc/rtc-lib.o [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from drivers/rtc/rtc-lib.c:13: [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 512s] 98 | out = __test_and_clear_bit(nr, addr); [ 512s] | ^~~~ [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 512s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 512s] | ~~~~~~^~~~ [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 512s] 95 | unsigned long flags = 0; [ 512s] | ^~~~~ [ 512s] LD drivers/scsi/built-in.o [ 512s] CC drivers/mtd/mtdpart.o [ 512s] CC drivers/mmc/rpmb.o [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from drivers/mtd/mtdpart.c:20: [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 512s] 98 | out = __test_and_clear_bit(nr, addr); [ 512s] | ^~~~ [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 512s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 512s] | ~~~~~~^~~~ [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 512s] 95 | unsigned long flags = 0; [ 512s] | ^~~~~ [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from drivers/mmc/rpmb.c:11: [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 512s] 98 | out = __test_and_clear_bit(nr, addr); [ 512s] | ^~~~ [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 512s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 512s] | ~~~~~~^~~~ [ 512s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 512s] 95 | unsigned long flags = 0; [ 512s] | ^~~~~ [ 512s] LD drivers/mtd/spi/spi-nor.o [ 513s] LD drivers/smem/built-in.o [ 513s] LD drivers/mtd/spi/built-in.o [ 513s] LD drivers/power/mfd/built-in.o [ 513s] CC drivers/mmc/sdhci.o [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from drivers/mmc/sdhci.c:10: [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 513s] 98 | out = __test_and_clear_bit(nr, addr); [ 513s] | ^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 513s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 513s] | ~~~~~~^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 513s] 95 | unsigned long flags = 0; [ 513s] | ^~~~~ [ 513s] LD drivers/power/pmic/built-in.o [ 513s] LD drivers/soc/built-in.o [ 513s] CC cmd/sf.o [ 513s] CC drivers/mmc/snps_sdhci.o [ 513s] LD drivers/power/regulator/built-in.o [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from cmd/sf.c:8: [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from drivers/mmc/snps_sdhci.c:6: [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 513s] 98 | out = __test_and_clear_bit(nr, addr); [ 513s] | ^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 513s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 513s] | ~~~~~~^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 513s] 95 | unsigned long flags = 0; [ 513s] | ^~~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 513s] 98 | out = __test_and_clear_bit(nr, addr); [ 513s] | ^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 513s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 513s] | ~~~~~~^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 513s] 95 | unsigned long flags = 0; [ 513s] | ^~~~~ [ 513s] LD drivers/rtc/built-in.o [ 513s] CC cmd/setexpr.o [ 513s] CC cmd/spi.o [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from cmd/spi.c:11: [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from cmd/setexpr.c:11: [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 513s] 98 | out = __test_and_clear_bit(nr, addr); [ 513s] | ^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 513s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 513s] | ~~~~~~^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 513s] 95 | unsigned long flags = 0; [ 513s] | ^~~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 513s] 98 | out = __test_and_clear_bit(nr, addr); [ 513s] | ^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 513s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 513s] | ~~~~~~^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 513s] 95 | unsigned long flags = 0; [ 513s] | ^~~~~ [ 513s] LD drivers/sound/built-in.o [ 513s] CC cmd/sysboot.o [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from cmd/sysboot.c:3: [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 513s] 98 | out = __test_and_clear_bit(nr, addr); [ 513s] | ^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 513s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 513s] | ~~~~~~^~~~ [ 513s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 513s] 95 | unsigned long flags = 0; [ 513s] | ^~~~~ [ 514s] CC cmd/test.o [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from cmd/test.c:7: [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 514s] 98 | out = __test_and_clear_bit(nr, addr); [ 514s] | ^~~~ [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 514s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 514s] | ~~~~~~^~~~ [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 514s] 95 | unsigned long flags = 0; [ 514s] | ^~~~~ [ 514s] LD drivers/mtd/mtd.o [ 514s] LD drivers/mtd/built-in.o [ 514s] CC cmd/unzip.o [ 514s] CC cmd/lzmadec.o [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from cmd/unzip.c:7: [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 514s] 98 | out = __test_and_clear_bit(nr, addr); [ 514s] | ^~~~ [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 514s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 514s] | ~~~~~~^~~~ [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 514s] 95 | unsigned long flags = 0; [ 514s] | ^~~~~ [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from cmd/lzmadec.c:12: [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 514s] 98 | out = __test_and_clear_bit(nr, addr); [ 514s] | ^~~~ [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 514s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 514s] | ~~~~~~^~~~ [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 514s] 95 | unsigned long flags = 0; [ 514s] | ^~~~~ [ 514s] CC drivers/serial/serial-uclass.o [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from drivers/serial/serial-uclass.c:6: [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 514s] 98 | out = __test_and_clear_bit(nr, addr); [ 514s] | ^~~~ [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 514s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 514s] | ~~~~~~^~~~ [ 514s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 514s] 95 | unsigned long flags = 0; [ 514s] | ^~~~~ [ 515s] CC cmd/fastboot.o [ 515s] LD drivers/usb/cdns3/built-in.o [ 515s] CC drivers/spi/spi-uclass.o [ 515s] LD drivers/mmc/built-in.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from cmd/fastboot.c:9: [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 515s] 98 | out = __test_and_clear_bit(nr, addr); [ 515s] | ^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 515s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 515s] | ~~~~~~^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 515s] 95 | unsigned long flags = 0; [ 515s] | ^~~~~ [ 515s] CC cmd/usb_mass_storage.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from drivers/spi/spi-uclass.c:6: [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 515s] 98 | out = __test_and_clear_bit(nr, addr); [ 515s] | ^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 515s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 515s] | ~~~~~~^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 515s] 95 | unsigned long flags = 0; [ 515s] | ^~~~~ [ 515s] LD drivers/usb/common/built-in.o [ 515s] CC drivers/spi/spi-mem.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from cmd/usb_mass_storage.c:10: [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 515s] 98 | out = __test_and_clear_bit(nr, addr); [ 515s] | ^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 515s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 515s] | ~~~~~~^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 515s] 95 | unsigned long flags = 0; [ 515s] | ^~~~~ [ 515s] LD drivers/spmi/built-in.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from include/spi.h:12, [ 515s] from drivers/spi/spi-mem.c:14: [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 515s] 98 | out = __test_and_clear_bit(nr, addr); [ 515s] | ^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 515s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 515s] | ~~~~~~^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 515s] 95 | unsigned long flags = 0; [ 515s] | ^~~~~ [ 515s] LD drivers/thermal/built-in.o [ 515s] CC drivers/timer/timer-uclass.o [ 515s] CC drivers/timer/riscv_timer.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from drivers/timer/timer-uclass.c:6: [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 515s] 98 | out = __test_and_clear_bit(nr, addr); [ 515s] | ^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 515s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 515s] | ~~~~~~^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 515s] 95 | unsigned long flags = 0; [ 515s] | ^~~~~ [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from drivers/timer/riscv_timer.c:14: [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 515s] 98 | out = __test_and_clear_bit(nr, addr); [ 515s] | ^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 515s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 515s] | ~~~~~~^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 515s] 95 | unsigned long flags = 0; [ 515s] | ^~~~~ [ 515s] CC cmd/ximg.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from cmd/ximg.c:14: [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 515s] 98 | out = __test_and_clear_bit(nr, addr); [ 515s] | ^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 515s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 515s] | ~~~~~~^~~~ [ 515s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 515s] 95 | unsigned long flags = 0; [ 515s] | ^~~~~ [ 516s] CC drivers/spi/designware_spi.o [ 516s] LD drivers/ufs/built-in.o [ 516s] CC drivers/serial/ns16550.o [ 516s] CC drivers/spi/designware_qspi.o [ 516s] In file included from include/linux/bitops.h:136, [ 516s] from include/common.h:26, [ 516s] from drivers/spi/designware_spi.c:12: [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 516s] 98 | out = __test_and_clear_bit(nr, addr); [ 516s] | ^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 516s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 516s] | ~~~~~~^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 516s] 95 | unsigned long flags = 0; [ 516s] | ^~~~~ [ 516s] In file included from include/linux/bitops.h:136, [ 516s] from include/common.h:26, [ 516s] from drivers/serial/ns16550.c:7: [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 516s] 98 | out = __test_and_clear_bit(nr, addr); [ 516s] | ^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 516s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 516s] | ~~~~~~^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 516s] 95 | unsigned long flags = 0; [ 516s] | ^~~~~ [ 516s] In file included from include/linux/bitops.h:136, [ 516s] from include/common.h:26, [ 516s] from drivers/spi/designware_qspi.c:12: [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 516s] 98 | out = __test_and_clear_bit(nr, addr); [ 516s] | ^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 516s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 516s] | ~~~~~~^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 516s] 95 | unsigned long flags = 0; [ 516s] | ^~~~~ [ 516s] LD drivers/watchdog/built-in.o [ 516s] CC cmd/gpt.o [ 516s] CC cmd/ddrscan.o [ 516s] In file included from include/linux/bitops.h:136, [ 516s] from include/common.h:26, [ 516s] from cmd/gpt.c:13: [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 516s] 98 | out = __test_and_clear_bit(nr, addr); [ 516s] | ^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 516s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 516s] | ~~~~~~^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 516s] 95 | unsigned long flags = 0; [ 516s] | ^~~~~ [ 516s] In file included from include/linux/bitops.h:136, [ 516s] from include/common.h:26, [ 516s] from cmd/ddrscan.c:11: [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 516s] 98 | out = __test_and_clear_bit(nr, addr); [ 516s] | ^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 516s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 516s] | ~~~~~~^~~~ [ 516s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 516s] 95 | unsigned long flags = 0; [ 516s] | ^~~~~ [ 516s] CC drivers/video/bridge/video-bridge-uclass.o [ 517s] In file included from include/linux/bitops.h:136, [ 517s] from include/common.h:26, [ 517s] from drivers/video/bridge/video-bridge-uclass.c:7: [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 517s] 98 | out = __test_and_clear_bit(nr, addr); [ 517s] | ^~~~ [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 517s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 517s] | ~~~~~~^~~~ [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 517s] 95 | unsigned long flags = 0; [ 517s] | ^~~~~ [ 517s] LD drivers/timer/built-in.o [ 517s] CC cmd/nvedit.o [ 517s] In file included from include/linux/bitops.h:136, [ 517s] from include/common.h:26, [ 517s] from cmd/nvedit.c:26: [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 517s] 98 | out = __test_and_clear_bit(nr, addr); [ 517s] | ^~~~ [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 517s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 517s] | ~~~~~~^~~~ [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 517s] 95 | unsigned long flags = 0; [ 517s] | ^~~~~ [ 517s] CC drivers/usb/dwc3/core.o [ 517s] In file included from include/linux/bitops.h:136, [ 517s] from include/common.h:26, [ 517s] from drivers/usb/dwc3/core.c:16: [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 517s] 98 | out = __test_and_clear_bit(nr, addr); [ 517s] | ^~~~ [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 517s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 517s] | ~~~~~~^~~~ [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 517s] 95 | unsigned long flags = 0; [ 517s] | ^~~~~ [ 517s] LD drivers/serial/built-in.o [ 517s] CC drivers/usb/dwc3/gadget.o [ 517s] In file included from include/linux/bitops.h:136, [ 517s] from include/common.h:26, [ 517s] from drivers/usb/dwc3/gadget.c:16: [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 517s] 98 | out = __test_and_clear_bit(nr, addr); [ 517s] | ^~~~ [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 517s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 517s] | ~~~~~~^~~~ [ 517s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 517s] 95 | unsigned long flags = 0; [ 517s] | ^~~~~ [ 518s] LD drivers/spi/built-in.o [ 518s] LD drivers/video/bridge/built-in.o [ 518s] CC drivers/video/light/vs_dpu.o [ 518s] LD drivers/usb/emul/built-in.o [ 518s] LD drivers/video/sunxi/built-in.o [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from drivers/video/light/vs_dpu.c:3: [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 518s] CC drivers/video/console_normal.o [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 518s] 98 | out = __test_and_clear_bit(nr, addr); [ 518s] | ^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 518s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 518s] | ~~~~~~^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 518s] 95 | unsigned long flags = 0; [ 518s] | ^~~~~ [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from drivers/video/console_normal.c:10: [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 518s] LD drivers/usb/eth/built-in.o [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 518s] 98 | out = __test_and_clear_bit(nr, addr); [ 518s] | ^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 518s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 518s] | ~~~~~~^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 518s] 95 | unsigned long flags = 0; [ 518s] | ^~~~~ [ 518s] CC drivers/video/backlight-uclass.o [ 518s] LD cmd/built-in.o [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from drivers/video/backlight-uclass.c:7: [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 518s] 98 | out = __test_and_clear_bit(nr, addr); [ 518s] | ^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 518s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 518s] | ~~~~~~^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 518s] 95 | unsigned long flags = 0; [ 518s] | ^~~~~ [ 518s] CC drivers/usb/gadget/epautoconf.o [ 518s] CC drivers/usb/gadget/udc/udc-core.o [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from drivers/usb/gadget/epautoconf.c:11: [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 518s] from drivers/usb/gadget/udc/udc-core.c:19: [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 518s] 98 | out = __test_and_clear_bit(nr, addr); [ 518s] | ^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 518s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 518s] | ~~~~~~^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 518s] 95 | unsigned long flags = 0; [ 518s] | ^~~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 518s] 98 | out = __test_and_clear_bit(nr, addr); [ 518s] | ^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 518s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 518s] | ~~~~~~^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 518s] 95 | unsigned long flags = 0; [ 518s] | ^~~~~ [ 518s] CC drivers/video/light/dw_dsi_light.o [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from drivers/video/light/dw_dsi_light.c:3: [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 518s] 98 | out = __test_and_clear_bit(nr, addr); [ 518s] | ^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 518s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 518s] | ~~~~~~^~~~ [ 518s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 518s] 95 | unsigned long flags = 0; [ 518s] | ^~~~~ [ 519s] CC drivers/usb/dwc3/ep0.o [ 519s] In file included from include/linux/bitops.h:136, [ 519s] from include/common.h:26, [ 519s] from drivers/usb/dwc3/ep0.c:15: [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 519s] 98 | out = __test_and_clear_bit(nr, addr); [ 519s] | ^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 519s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 519s] | ~~~~~~^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 519s] 95 | unsigned long flags = 0; [ 519s] | ^~~~~ [ 519s] CC drivers/usb/gadget/udc/udc-uclass.o [ 519s] CC drivers/video/light/dw_dsi_host.o [ 519s] In file included from include/linux/bitops.h:136, [ 519s] from include/common.h:26, [ 519s] from drivers/video/light/dw_dsi_host.c:3: [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 519s] 98 | out = __test_and_clear_bit(nr, addr); [ 519s] | ^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 519s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 519s] | ~~~~~~^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 519s] 95 | unsigned long flags = 0; [ 519s] | ^~~~~ [ 519s] In file included from include/linux/bitops.h:136, [ 519s] from include/common.h:26, [ 519s] from drivers/usb/gadget/udc/udc-uclass.c:7: [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 519s] 98 | out = __test_and_clear_bit(nr, addr); [ 519s] | ^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 519s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 519s] | ~~~~~~^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 519s] 95 | unsigned long flags = 0; [ 519s] | ^~~~~ [ 519s] CC drivers/usb/gadget/config.o [ 519s] In file included from include/linux/bitops.h:136, [ 519s] from include/common.h:26, [ 519s] from drivers/usb/gadget/config.c:11: [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 519s] 98 | out = __test_and_clear_bit(nr, addr); [ 519s] | ^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 519s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 519s] | ~~~~~~^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 519s] 95 | unsigned long flags = 0; [ 519s] | ^~~~~ [ 519s] CC drivers/video/light/phy-dw-dphy.o [ 519s] In file included from include/linux/bitops.h:136, [ 519s] from include/common.h:26, [ 519s] from drivers/video/light/phy-dw-dphy.c:3: [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 519s] 98 | out = __test_and_clear_bit(nr, addr); [ 519s] | ^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 519s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 519s] | ~~~~~~^~~~ [ 519s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 519s] 95 | unsigned long flags = 0; [ 519s] | ^~~~~ [ 519s] CC drivers/video/dsi-host-uclass.o [ 520s] In file included from include/linux/bitops.h:136, [ 520s] from include/common.h:26, [ 520s] from drivers/video/dsi-host-uclass.c:8: [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 520s] 98 | out = __test_and_clear_bit(nr, addr); [ 520s] | ^~~~ [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 520s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 520s] | ~~~~~~^~~~ [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 520s] 95 | unsigned long flags = 0; [ 520s] | ^~~~~ [ 520s] LD drivers/usb/host/built-in.o [ 520s] CC drivers/video/panel-uclass.o [ 520s] In file included from include/linux/bitops.h:136, [ 520s] from include/common.h:26, [ 520s] from drivers/video/panel-uclass.c:7: [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 520s] 98 | out = __test_and_clear_bit(nr, addr); [ 520s] | ^~~~ [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 520s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 520s] | ~~~~~~^~~~ [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 520s] 95 | unsigned long flags = 0; [ 520s] | ^~~~~ [ 520s] CC drivers/usb/gadget/usbstring.o [ 520s] In file included from include/linux/bitops.h:136, [ 520s] from include/common.h:26, [ 520s] from drivers/usb/gadget/usbstring.c:9: [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 520s] 98 | out = __test_and_clear_bit(nr, addr); [ 520s] | ^~~~ [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 520s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 520s] | ~~~~~~^~~~ [ 520s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 520s] 95 | unsigned long flags = 0; [ 520s] | ^~~~~ [ 520s] LD drivers/usb/dwc3/dwc3.o [ 520s] LD drivers/usb/musb-new/built-in.o [ 520s] LD drivers/usb/gadget/udc/built-in.o [ 520s] LD drivers/usb/dwc3/built-in.o [ 521s] LD drivers/usb/musb/built-in.o [ 521s] CC drivers/usb/gadget/g_dnl.o [ 521s] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from drivers/usb/gadget/g_dnl.c:9: [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 521s] 98 | out = __test_and_clear_bit(nr, addr); [ 521s] | ^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 521s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 521s] | ~~~~~~^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 521s] 95 | unsigned long flags = 0; [ 521s] | ^~~~~ [ 521s] LD drivers/usb/phy/built-in.o [ 521s] CC drivers/usb/gadget/f_mass_storage.o [ 521s] LD drivers/usb/ulpi/built-in.o [ 521s] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from drivers/usb/gadget/f_mass_storage.c:245: [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 521s] 98 | out = __test_and_clear_bit(nr, addr); [ 521s] | ^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 521s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 521s] | ~~~~~~^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 521s] 95 | unsigned long flags = 0; [ 521s] | ^~~~~ [ 521s] CC drivers/usb/gadget/f_fastboot.o [ 521s] DTC arch/riscv/dts/light-a-ref.dtb [ 521s] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from drivers/usb/gadget/f_fastboot.c:14: [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 521s] 98 | out = __test_and_clear_bit(nr, addr); [ 521s] | ^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 521s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 521s] | ~~~~~~^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 521s] 95 | unsigned long flags = 0; [ 521s] | ^~~~~ [ 521s] CC drivers/video/simple_panel.o [ 521s] LD drivers/video/light/built-in.o [ 521s] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from drivers/video/simple_panel.c:7: [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 521s] 98 | out = __test_and_clear_bit(nr, addr); [ 521s] | ^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 521s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 521s] | ~~~~~~^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 521s] 95 | unsigned long flags = 0; [ 521s] | ^~~~~ [ 521s] CC env/common.o [ 521s] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from env/common.c:10: [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 521s] 98 | out = __test_and_clear_bit(nr, addr); [ 521s] | ^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 521s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 521s] | ~~~~~~^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 521s] 95 | unsigned long flags = 0; [ 521s] | ^~~~~ [ 521s] CC fs/ext4/ext4fs.o [ 521s] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from fs/ext4/ext4fs.c:23: [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 521s] 98 | out = __test_and_clear_bit(nr, addr); [ 521s] | ^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 521s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 521s] | ~~~~~~^~~~ [ 521s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 521s] 95 | unsigned long flags = 0; [ 521s] | ^~~~~ [ 522s] CC drivers/video/video-uclass.o [ 522s] CC drivers/video/vidconsole-uclass.o [ 522s] CC fs/ext4/ext4_common.o [ 522s] In file included from include/linux/bitops.h:136, [ 522s] from include/common.h:26, [ 522s] from drivers/video/video-uclass.c:6: [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 522s] 98 | out = __test_and_clear_bit(nr, addr); [ 522s] | ^~~~ [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 522s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 522s] | ~~~~~~^~~~ [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 522s] 95 | unsigned long flags = 0; [ 522s] | ^~~~~ [ 522s] In file included from include/linux/bitops.h:136, [ 522s] from include/common.h:26, [ 522s] from drivers/video/vidconsole-uclass.c:10: [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 522s] 98 | out = __test_and_clear_bit(nr, addr); [ 522s] | ^~~~ [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 522s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 522s] | ~~~~~~^~~~ [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 522s] 95 | unsigned long flags = 0; [ 522s] | ^~~~~ [ 522s] In file included from include/linux/bitops.h:136, [ 522s] from include/common.h:26, [ 522s] from fs/ext4/ext4_common.c:21: [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 522s] 98 | out = __test_and_clear_bit(nr, addr); [ 522s] | ^~~~ [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 522s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 522s] | ~~~~~~^~~~ [ 522s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 522s] 95 | unsigned long flags = 0; [ 522s] | ^~~~~ [ 523s] LD lib/crypto/built-in.o [ 523s] LD drivers/usb/gadget/built-in.o [ 523s] CC env/env.o [ 523s] In file included from include/linux/bitops.h:136, [ 523s] from include/common.h:26, [ 523s] from env/env.c:7: [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 523s] 98 | out = __test_and_clear_bit(nr, addr); [ 523s] | ^~~~ [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 523s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 523s] | ~~~~~~^~~~ [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 523s] 95 | unsigned long flags = 0; [ 523s] | ^~~~~ [ 523s] CC env/attr.o [ 523s] DTC arch/riscv/dts/light-b-ref.dtb [ 523s] In file included from include/linux/bitops.h:136, [ 523s] from include/common.h:26, [ 523s] from env/attr.c:12: [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 523s] 98 | out = __test_and_clear_bit(nr, addr); [ 523s] | ^~~~ [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 523s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 523s] | ~~~~~~^~~~ [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 523s] 95 | unsigned long flags = 0; [ 523s] | ^~~~~ [ 523s] CC net/checksum.o [ 523s] CC lib/libfdt/fdt.o [ 523s] In file included from include/linux/bitops.h:136, [ 523s] from include/common.h:26, [ 523s] from net/checksum.c:10: [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 523s] 98 | out = __test_and_clear_bit(nr, addr); [ 523s] | ^~~~ [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 523s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 523s] | ~~~~~~^~~~ [ 523s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 523s] 95 | unsigned long flags = 0; [ 523s] | ^~~~~ [ 524s] CC drivers/video/video_bmp.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from drivers/video/video_bmp.c:6: [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 524s] 98 | out = __test_and_clear_bit(nr, addr); [ 524s] | ^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 524s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 524s] | ~~~~~~^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 524s] 95 | unsigned long flags = 0; [ 524s] | ^~~~~ [ 524s] CC drivers/video/ilitek-ili9881c.o [ 524s] CC env/callback.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from drivers/video/ilitek-ili9881c.c:3: [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 524s] 98 | out = __test_and_clear_bit(nr, addr); [ 524s] | ^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 524s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 524s] | ~~~~~~^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 524s] 95 | unsigned long flags = 0; [ 524s] | ^~~~~ [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from env/callback.c:7: [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 524s] 98 | out = __test_and_clear_bit(nr, addr); [ 524s] | ^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 524s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 524s] | ~~~~~~^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 524s] 95 | unsigned long flags = 0; [ 524s] | ^~~~~ [ 524s] CC env/flags.o [ 524s] CC net/arp.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from net/arp.c:12: [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 524s] 98 | out = __test_and_clear_bit(nr, addr); [ 524s] | ^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 524s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 524s] | ~~~~~~^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 524s] 95 | unsigned long flags = 0; [ 524s] | ^~~~~ [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from env/flags.c:21: [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 524s] 98 | out = __test_and_clear_bit(nr, addr); [ 524s] | ^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 524s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 524s] | ~~~~~~^~~~ [ 524s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 524s] 95 | unsigned long flags = 0; [ 524s] | ^~~~~ [ 524s] CC lib/libfdt/fdt_wip.o [ 525s] CC fs/ext4/dev.o [ 525s] In file included from include/linux/bitops.h:136, [ 525s] from include/common.h:26, [ 525s] from fs/ext4/dev.c:25: [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 525s] 98 | out = __test_and_clear_bit(nr, addr); [ 525s] | ^~~~ [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 525s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 525s] | ~~~~~~^~~~ [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 525s] 95 | unsigned long flags = 0; [ 525s] | ^~~~~ [ 525s] CC lib/lzma/LzmaDec.o [ 525s] In file included from include/linux/bitops.h:136, [ 525s] from include/common.h:26, [ 525s] from lib/lzma/LzmaDec.c:5: [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 525s] 98 | out = __test_and_clear_bit(nr, addr); [ 525s] | ^~~~ [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 525s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 525s] | ~~~~~~^~~~ [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 525s] 95 | unsigned long flags = 0; [ 525s] | ^~~~~ [ 525s] DTC arch/riscv/dts/light-a-val.dtb [ 525s] CC net/bootp.o [ 525s] CC drivers/video/mipi_dsi.o [ 525s] In file included from include/linux/bitops.h:136, [ 525s] from include/common.h:26, [ 525s] from drivers/video/mipi_dsi.c:35: [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 525s] 98 | out = __test_and_clear_bit(nr, addr); [ 525s] | ^~~~ [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 525s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 525s] | ~~~~~~^~~~ [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 525s] 95 | unsigned long flags = 0; [ 525s] | ^~~~~ [ 525s] In file included from include/linux/bitops.h:136, [ 525s] from include/common.h:26, [ 525s] from net/bootp.c:11: [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 525s] 98 | out = __test_and_clear_bit(nr, addr); [ 525s] | ^~~~ [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 525s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 525s] | ~~~~~~^~~~ [ 525s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 525s] 95 | unsigned long flags = 0; [ 525s] | ^~~~~ [ 526s] CC env/fat.o [ 526s] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from env/fat.c:9: [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 526s] 98 | out = __test_and_clear_bit(nr, addr); [ 526s] | ^~~~ [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 526s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 526s] | ~~~~~~^~~~ [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 526s] 95 | unsigned long flags = 0; [ 526s] | ^~~~~ [ 526s] CC lib/lzma/LzmaTools.o [ 526s] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from lib/lzma/LzmaTools.c:21: [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 526s] 98 | out = __test_and_clear_bit(nr, addr); [ 526s] | ^~~~ [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 526s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 526s] | ~~~~~~^~~~ [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 526s] 95 | unsigned long flags = 0; [ 526s] | ^~~~~ [ 526s] CC lib/libfdt/fdt_strerror.o [ 526s] CC fs/ext4/ext4_write.o [ 526s] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from fs/ext4/ext4_write.c:24: [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 526s] 98 | out = __test_and_clear_bit(nr, addr); [ 526s] | ^~~~ [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 526s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 526s] | ~~~~~~^~~~ [ 526s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 526s] 95 | unsigned long flags = 0; [ 526s] | ^~~~~ [ 527s] CC net/eth-uclass.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from net/eth-uclass.c:8: [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 527s] 98 | out = __test_and_clear_bit(nr, addr); [ 527s] | ^~~~ [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 527s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 527s] | ~~~~~~^~~~ [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 527s] 95 | unsigned long flags = 0; [ 527s] | ^~~~~ [ 527s] LD env/built-in.o [ 527s] LD drivers/video/built-in.o [ 527s] CC fs/ext4/ext4_journal.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from fs/ext4/ext4_journal.c:16: [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 527s] 98 | out = __test_and_clear_bit(nr, addr); [ 527s] | ^~~~ [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 527s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 527s] | ~~~~~~^~~~ [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 527s] 95 | unsigned long flags = 0; [ 527s] | ^~~~~ [ 527s] CC lib/zlib/zlib.o [ 527s] LD drivers/built-in.o [ 527s] CC lib/libfdt/fdt_sw.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/zlib/zlib.c:15: [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 527s] 98 | out = __test_and_clear_bit(nr, addr); [ 527s] | ^~~~ [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 527s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 527s] | ~~~~~~^~~~ [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 527s] 95 | unsigned long flags = 0; [ 527s] | ^~~~~ [ 527s] LD lib/lzma/built-in.o [ 527s] DTC arch/riscv/dts/light-b-product.dtb [ 527s] DTC arch/riscv/dts/light-a-product.dtb [ 528s] CC lib/crc7.o [ 528s] DTC arch/riscv/dts/light-ant-ref.dtb [ 528s] CC net/eth_common.o [ 528s] In file included from include/linux/bitops.h:136, [ 528s] from include/common.h:26, [ 528s] from net/eth_common.c:8: [ 528s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 528s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 528s] 98 | out = __test_and_clear_bit(nr, addr); [ 528s] | ^~~~ [ 528s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 528s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 528s] | ~~~~~~^~~~ [ 528s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 528s] 95 | unsigned long flags = 0; [ 528s] | ^~~~~ [ 529s] CC fs/ext4/crc16.o [ 529s] In file included from include/linux/bitops.h:136, [ 529s] from include/common.h:26, [ 529s] from fs/ext4/crc16.c:8: [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 529s] 98 | out = __test_and_clear_bit(nr, addr); [ 529s] | ^~~~ [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 529s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 529s] | ~~~~~~^~~~ [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 529s] 95 | unsigned long flags = 0; [ 529s] | ^~~~~ [ 529s] CC lib/libfdt/fdt_rw.o [ 529s] CC net/net.o [ 529s] In file included from include/linux/bitops.h:136, [ 529s] from include/common.h:26, [ 529s] from net/net.c:90: [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 529s] 98 | out = __test_and_clear_bit(nr, addr); [ 529s] | ^~~~ [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 529s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 529s] | ~~~~~~^~~~ [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 529s] 95 | unsigned long flags = 0; [ 529s] | ^~~~~ [ 529s] CC lib/crc8.o [ 529s] In file included from include/linux/bitops.h:136, [ 529s] from include/common.h:26, [ 529s] from lib/crc8.c:9: [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 529s] 98 | out = __test_and_clear_bit(nr, addr); [ 529s] | ^~~~ [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 529s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 529s] | ~~~~~~^~~~ [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 529s] 95 | unsigned long flags = 0; [ 529s] | ^~~~~ [ 529s] CC net/nfs.o [ 529s] In file included from include/linux/bitops.h:136, [ 529s] from include/common.h:26, [ 529s] from net/nfs.c:29: [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 529s] 98 | out = __test_and_clear_bit(nr, addr); [ 529s] | ^~~~ [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 529s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 529s] | ~~~~~~^~~~ [ 529s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 529s] 95 | unsigned long flags = 0; [ 529s] | ^~~~~ [ 530s] LD lib/zlib/built-in.o [ 530s] LD fs/ext4/built-in.o [ 530s] CC net/ping.o [ 530s] In file included from include/linux/bitops.h:136, [ 530s] from include/common.h:26, [ 530s] from net/ping.h:15, [ 530s] from net/ping.c:12: [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 530s] 98 | out = __test_and_clear_bit(nr, addr); [ 530s] | ^~~~ [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 530s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 530s] | ~~~~~~^~~~ [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 530s] 95 | unsigned long flags = 0; [ 530s] | ^~~~~ [ 530s] CC fs/fat/fat_write.o [ 530s] DTC arch/riscv/dts/light-beagle.dtb [ 530s] In file included from include/linux/bitops.h:136, [ 530s] from include/common.h:26, [ 530s] from fs/fat/fat_write.c:8: [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 530s] 98 | out = __test_and_clear_bit(nr, addr); [ 530s] | ^~~~ [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 530s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 530s] | ~~~~~~^~~~ [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 530s] 95 | unsigned long flags = 0; [ 530s] | ^~~~~ [ 530s] CC fs/fs.o [ 530s] In file included from include/linux/bitops.h:136, [ 530s] from include/common.h:26, [ 530s] from fs/fs.c:8: [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 530s] 98 | out = __test_and_clear_bit(nr, addr); [ 530s] | ^~~~ [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 530s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 530s] | ~~~~~~^~~~ [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 530s] 95 | unsigned long flags = 0; [ 530s] | ^~~~~ [ 530s] CC lib/libfdt/fdt_empty_tree.o [ 530s] CC lib/crc16.o [ 530s] CC net/tftp.o [ 530s] In file included from include/linux/bitops.h:136, [ 530s] from include/common.h:26, [ 530s] from lib/crc16.c:28: [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 530s] 98 | out = __test_and_clear_bit(nr, addr); [ 530s] | ^~~~ [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 530s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 530s] | ~~~~~~^~~~ [ 530s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 530s] 95 | unsigned long flags = 0; [ 530s] | ^~~~~ [ 531s] In file included from include/linux/bitops.h:136, [ 531s] from include/common.h:26, [ 531s] from net/tftp.c:9: [ 531s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 531s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 531s] 98 | out = __test_and_clear_bit(nr, addr); [ 531s] | ^~~~ [ 531s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 531s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 531s] | ~~~~~~^~~~ [ 531s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 531s] 95 | unsigned long flags = 0; [ 531s] | ^~~~~ [ 531s] CC lib/libfdt/fdt_addresses.o [ 531s] CC lib/libfdt/fdt_ro.o [ 531s] CC lib/libfdt/fdt_region.o [ 531s] CC net/fastboot.o [ 532s] CC fs/fs_internal.o [ 532s] In file included from include/linux/bitops.h:136, [ 532s] from include/common.h:26, [ 532s] from fs/fs_internal.c:8: [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 532s] 98 | out = __test_and_clear_bit(nr, addr); [ 532s] | ^~~~ [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 532s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 532s] | ~~~~~~^~~~ [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 532s] 95 | unsigned long flags = 0; [ 532s] | ^~~~~ [ 532s] In file included from include/linux/bitops.h:136, [ 532s] from include/common.h:26, [ 532s] from net/fastboot.c:6: [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 532s] 98 | out = __test_and_clear_bit(nr, addr); [ 532s] | ^~~~ [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 532s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 532s] | ~~~~~~^~~~ [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 532s] 95 | unsigned long flags = 0; [ 532s] | ^~~~~ [ 532s] CC lib/image-sparse.o [ 532s] CC lib/ldiv.o [ 532s] In file included from include/linux/bitops.h:136, [ 532s] from include/common.h:26, [ 532s] from lib/image-sparse.c:38: [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 532s] 98 | out = __test_and_clear_bit(nr, addr); [ 532s] | ^~~~ [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 532s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 532s] | ~~~~~~^~~~ [ 532s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 532s] 95 | unsigned long flags = 0; [ 532s] | ^~~~~ [ 532s] DTC arch/riscv/dts/light-b-power.dtb [ 532s] LD fs/fat/built-in.o [ 532s] DTC arch/riscv/dts/light-lpi4a.dtb [ 532s] CC lib/net_utils.o [ 533s] In file included from include/linux/bitops.h:136, [ 533s] from include/common.h:26, [ 533s] from lib/net_utils.c:12: [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 533s] 98 | out = __test_and_clear_bit(nr, addr); [ 533s] | ^~~~ [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 533s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 533s] | ~~~~~~^~~~ [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 533s] 95 | unsigned long flags = 0; [ 533s] | ^~~~~ [ 533s] LD lib/libfdt/built-in.o [ 533s] LD net/built-in.o [ 533s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 533s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 533s] LD fs/built-in.o [ 533s] CC lib/rc4.o [ 533s] In file included from include/linux/bitops.h:136, [ 533s] from include/common.h:26, [ 533s] from lib/rc4.c:11: [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 533s] 98 | out = __test_and_clear_bit(nr, addr); [ 533s] | ^~~~ [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 533s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 533s] | ~~~~~~^~~~ [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 533s] 95 | unsigned long flags = 0; [ 533s] | ^~~~~ [ 533s] CC lib/list_sort.o [ 533s] CC lib/sha256.o [ 533s] In file included from include/linux/bitops.h:136, [ 533s] from include/common.h:26, [ 533s] from lib/list_sort.c:7: [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 533s] 98 | out = __test_and_clear_bit(nr, addr); [ 533s] | ^~~~ [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 533s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 533s] | ~~~~~~^~~~ [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 533s] 95 | unsigned long flags = 0; [ 533s] | ^~~~~ [ 533s] In file included from include/linux/bitops.h:136, [ 533s] from include/common.h:26, [ 533s] from lib/sha256.c:9: [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 533s] 98 | out = __test_and_clear_bit(nr, addr); [ 533s] | ^~~~ [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 533s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 533s] | ~~~~~~^~~~ [ 533s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 533s] 95 | unsigned long flags = 0; [ 533s] | ^~~~~ [ 534s] CC lib/gunzip.o [ 534s] In file included from include/linux/bitops.h:136, [ 534s] from include/common.h:26, [ 534s] from lib/gunzip.c:7: [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 534s] 98 | out = __test_and_clear_bit(nr, addr); [ 534s] | ^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 534s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 534s] | ~~~~~~^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 534s] 95 | unsigned long flags = 0; [ 534s] | ^~~~~ [ 534s] CC lib/fdtdec_common.o [ 534s] In file included from include/linux/bitops.h:136, [ 534s] from include/common.h:26, [ 534s] from lib/fdtdec_common.c:11: [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 534s] 98 | out = __test_and_clear_bit(nr, addr); [ 534s] | ^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 534s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 534s] | ~~~~~~^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 534s] 95 | unsigned long flags = 0; [ 534s] | ^~~~~ [ 534s] CC lib/fdtdec.o [ 534s] CC lib/qsort.o [ 534s] In file included from include/linux/bitops.h:136, [ 534s] from include/common.h:26, [ 534s] from lib/fdtdec.c:7: [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 534s] 98 | out = __test_and_clear_bit(nr, addr); [ 534s] | ^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 534s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 534s] | ~~~~~~^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 534s] 95 | unsigned long flags = 0; [ 534s] | ^~~~~ [ 534s] In file included from include/linux/bitops.h:136, [ 534s] from include/common.h:26, [ 534s] from lib/qsort.c:19: [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 534s] 98 | out = __test_and_clear_bit(nr, addr); [ 534s] | ^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 534s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 534s] | ~~~~~~^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 534s] 95 | unsigned long flags = 0; [ 534s] | ^~~~~ [ 534s] CC lib/hashtable.o [ 534s] In file included from include/linux/bitops.h:136, [ 534s] from include/common.h:26, [ 534s] from lib/hashtable.c:32: [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 534s] 98 | out = __test_and_clear_bit(nr, addr); [ 534s] | ^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 534s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 534s] | ~~~~~~^~~~ [ 534s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 534s] 95 | unsigned long flags = 0; [ 534s] | ^~~~~ [ 535s] CC lib/errno.o [ 535s] CC lib/display_options.o [ 535s] In file included from include/linux/bitops.h:136, [ 535s] from include/common.h:26, [ 535s] from lib/display_options.c:7: [ 535s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 535s] SHIPPED dts/dt.dtb [ 535s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 535s] 98 | out = __test_and_clear_bit(nr, addr); [ 535s] | ^~~~ [ 535s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 535s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 535s] | ~~~~~~^~~~ [ 535s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 535s] 95 | unsigned long flags = 0; [ 535s] | ^~~~~ [ 535s] DTB dts/dt.dtb.S [ 535s] AS dts/dt.dtb.o [ 535s] CC lib/crc32.o [ 535s] In file included from include/linux/bitops.h:136, [ 535s] from include/common.h:26, [ 535s] from lib/crc32.c:15: [ 535s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 535s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 535s] 98 | out = __test_and_clear_bit(nr, addr); [ 535s] | ^~~~ [ 535s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 535s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 535s] | ~~~~~~^~~~ [ 535s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 535s] 95 | unsigned long flags = 0; [ 535s] | ^~~~~ [ 535s] CC lib/ctype.o [ 536s] CC lib/div64.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/linux/math64.h:5, [ 536s] from lib/div64.c:22: [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 536s] 98 | out = __test_and_clear_bit(nr, addr); [ 536s] | ^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 536s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 536s] | ~~~~~~^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 536s] 95 | unsigned long flags = 0; [ 536s] | ^~~~~ [ 536s] CC lib/hang.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from lib/hang.c:10: [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 536s] LD dts/built-in.o [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 536s] 98 | out = __test_and_clear_bit(nr, addr); [ 536s] | ^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 536s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 536s] | ~~~~~~^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 536s] 95 | unsigned long flags = 0; [ 536s] | ^~~~~ [ 536s] CC lib/linux_compat.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from lib/linux_compat.c:2: [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 536s] 98 | out = __test_and_clear_bit(nr, addr); [ 536s] | ^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 536s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 536s] | ~~~~~~^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 536s] 95 | unsigned long flags = 0; [ 536s] | ^~~~~ [ 536s] CC lib/linux_string.o [ 536s] CC lib/lmb.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from lib/lmb.c:9: [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 536s] 98 | out = __test_and_clear_bit(nr, addr); [ 536s] | ^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 536s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 536s] | ~~~~~~^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 536s] 95 | unsigned long flags = 0; [ 536s] | ^~~~~ [ 536s] CC lib/membuff.o [ 536s] CC lib/slre.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from lib/membuff.c:9: [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 536s] 98 | out = __test_and_clear_bit(nr, addr); [ 536s] | ^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 536s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 536s] | ~~~~~~^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 536s] 95 | unsigned long flags = 0; [ 536s] | ^~~~~ [ 536s] CC lib/string.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from lib/slre.c:23: [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 536s] 98 | out = __test_and_clear_bit(nr, addr); [ 536s] | ^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 536s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 536s] | ~~~~~~^~~~ [ 536s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 536s] 95 | unsigned long flags = 0; [ 536s] | ^~~~~ [ 537s] CC lib/tables_csum.o [ 537s] CC lib/time.o [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from lib/tables_csum.c:6: [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from lib/time.c:7: [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 537s] 98 | out = __test_and_clear_bit(nr, addr); [ 537s] | ^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 537s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 537s] | ~~~~~~^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 537s] 95 | unsigned long flags = 0; [ 537s] | ^~~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 537s] 98 | out = __test_and_clear_bit(nr, addr); [ 537s] | ^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 537s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 537s] | ~~~~~~^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 537s] 95 | unsigned long flags = 0; [ 537s] | ^~~~~ [ 537s] CC lib/hexdump.o [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from lib/hexdump.c:11: [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 537s] 98 | out = __test_and_clear_bit(nr, addr); [ 537s] | ^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 537s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 537s] | ~~~~~~^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 537s] 95 | unsigned long flags = 0; [ 537s] | ^~~~~ [ 537s] CC lib/uuid.o [ 537s] CC lib/rand.o [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from lib/uuid.c:6: [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 537s] 98 | out = __test_and_clear_bit(nr, addr); [ 537s] | ^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 537s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 537s] | ~~~~~~^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 537s] 95 | unsigned long flags = 0; [ 537s] | ^~~~~ [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from lib/rand.c:10: [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 537s] 98 | out = __test_and_clear_bit(nr, addr); [ 537s] | ^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 537s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 537s] | ~~~~~~^~~~ [ 537s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 537s] 95 | unsigned long flags = 0; [ 537s] | ^~~~~ [ 537s] CC lib/panic.o [ 538s] In file included from include/linux/bitops.h:136, [ 538s] from include/common.h:26, [ 538s] from lib/panic.c:12: [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 538s] 98 | out = __test_and_clear_bit(nr, addr); [ 538s] | ^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 538s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 538s] | ~~~~~~^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 538s] 95 | unsigned long flags = 0; [ 538s] | ^~~~~ [ 538s] CC lib/vsprintf.o [ 538s] CC lib/strto.o [ 538s] In file included from include/linux/bitops.h:136, [ 538s] from include/common.h:26, [ 538s] from lib/strto.c:12: [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 538s] 98 | out = __test_and_clear_bit(nr, addr); [ 538s] | ^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 538s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 538s] | ~~~~~~^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 538s] 95 | unsigned long flags = 0; [ 538s] | ^~~~~ [ 538s] In file included from include/linux/bitops.h:136, [ 538s] from include/common.h:26, [ 538s] from lib/vsprintf.c:16: [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 538s] 98 | out = __test_and_clear_bit(nr, addr); [ 538s] | ^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 538s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 538s] | ~~~~~~^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 538s] 95 | unsigned long flags = 0; [ 538s] | ^~~~~ [ 538s] CC lib/abuf.o [ 538s] CC lib/date.o [ 538s] In file included from include/linux/bitops.h:136, [ 538s] from include/common.h:26, [ 538s] from lib/abuf.c:10: [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 538s] 98 | out = __test_and_clear_bit(nr, addr); [ 538s] | ^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 538s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 538s] | ~~~~~~^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 538s] 95 | unsigned long flags = 0; [ 538s] | ^~~~~ [ 538s] In file included from include/linux/bitops.h:136, [ 538s] from include/common.h:26, [ 538s] from lib/date.c:7: [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 538s] 98 | out = __test_and_clear_bit(nr, addr); [ 538s] | ^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 538s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 538s] | ~~~~~~^~~~ [ 538s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 538s] 95 | unsigned long flags = 0; [ 538s] | ^~~~~ [ 539s] LD lib/built-in.o [ 540s] CC examples/standalone/hello_world.o [ 540s] CC examples/standalone/stubs.o [ 540s] In file included from include/linux/bitops.h:136, [ 540s] from include/common.h:26, [ 540s] from examples/standalone/stubs.c:1: [ 540s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 540s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 540s] 98 | out = __test_and_clear_bit(nr, addr); [ 540s] | ^~~~ [ 540s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 540s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 540s] | ~~~~~~^~~~ [ 540s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 540s] 95 | unsigned long flags = 0; [ 540s] | ^~~~~ [ 540s] In file included from include/linux/bitops.h:136, [ 540s] from include/common.h:26, [ 540s] from examples/standalone/hello_world.c:7: [ 540s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 540s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 540s] 98 | out = __test_and_clear_bit(nr, addr); [ 540s] | ^~~~ [ 540s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 540s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 540s] | ~~~~~~^~~~ [ 540s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 540s] 95 | unsigned long flags = 0; [ 540s] | ^~~~~ [ 541s] LD examples/standalone/libstubs.o [ 541s] LD examples/standalone/hello_world [ 541s] OBJCOPY examples/standalone/hello_world.srec [ 541s] OBJCOPY examples/standalone/hello_world.bin [ 542s] LD u-boot [ 543s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 544s] OBJCOPY u-boot.srec [ 544s] OBJCOPY u-boot-nodtb.bin [ 544s] SYM u-boot.sym [ 544s] FDTGREP dts/dt-spl.dtb [ 546s] COPY u-boot.bin [ 546s] CC spl/arch/riscv/cpu/cpu.o [ 546s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 546s] CC spl/common/init/board_init.o [ 546s] CC spl/board/thead/common/board_common.o [ 546s] In file included from include/linux/bitops.h:136, [ 546s] from include/common.h:26, [ 546s] from arch/riscv/cpu/cpu.c:6: [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 546s] 98 | out = __test_and_clear_bit(nr, addr); [ 546s] | ^~~~ [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 546s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 546s] | ~~~~~~^~~~ [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 546s] 95 | unsigned long flags = 0; [ 546s] | ^~~~~ [ 546s] In file included from include/linux/bitops.h:136, [ 546s] from include/common.h:26, [ 546s] from arch/riscv/cpu/c9xx/dram.c:7: [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 546s] CC spl/common/spl/spl.o [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 546s] 98 | out = __test_and_clear_bit(nr, addr); [ 546s] | ^~~~ [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 546s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 546s] | ~~~~~~^~~~ [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 546s] 95 | unsigned long flags = 0; [ 546s] | ^~~~~ [ 546s] In file included from include/linux/bitops.h:136, [ 546s] from include/common.h:26, [ 546s] from common/init/board_init.c:9: [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 546s] 98 | out = __test_and_clear_bit(nr, addr); [ 546s] | ^~~~ [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 546s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 546s] | ~~~~~~^~~~ [ 546s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 546s] 95 | unsigned long flags = 0; [ 546s] | ^~~~~ [ 547s] In file included from include/linux/bitops.h:136, [ 547s] from include/common.h:26, [ 547s] from board/thead/common/board_common.c:7: [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 547s] 98 | out = __test_and_clear_bit(nr, addr); [ 547s] | ^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 547s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 547s] | ~~~~~~^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 547s] 95 | unsigned long flags = 0; [ 547s] | ^~~~~ [ 547s] CC spl/arch/riscv/lib/bootm.o [ 547s] In file included from include/linux/bitops.h:136, [ 547s] from include/common.h:26, [ 547s] from common/spl/spl.c:9: [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 547s] 98 | out = __test_and_clear_bit(nr, addr); [ 547s] | ^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 547s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 547s] | ~~~~~~^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 547s] 95 | unsigned long flags = 0; [ 547s] | ^~~~~ [ 547s] CC spl/board/thead/light-c910/spl.o [ 547s] In file included from include/linux/bitops.h:136, [ 547s] from include/common.h:26, [ 547s] from arch/riscv/lib/bootm.c:9: [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 547s] 98 | out = __test_and_clear_bit(nr, addr); [ 547s] | ^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 547s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 547s] | ~~~~~~^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 547s] 95 | unsigned long flags = 0; [ 547s] | ^~~~~ [ 547s] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 547s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 547s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 547s] | ^ [ 547s] arch/riscv/lib/bootm.c: At top level: [ 547s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 547s] 34 | extern void secondary_entry(); [ 547s] | ^~~~~~ [ 547s] In file included from include/linux/bitops.h:136, [ 547s] from include/common.h:26, [ 547s] from board/thead/light-c910/spl.c:8: [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 547s] 98 | out = __test_and_clear_bit(nr, addr); [ 547s] | ^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 547s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 547s] | ~~~~~~^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 547s] 95 | unsigned long flags = 0; [ 547s] | ^~~~~ [ 547s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 547s] In file included from include/linux/bitops.h:136, [ 547s] from include/common.h:26, [ 547s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 547s] 98 | out = __test_and_clear_bit(nr, addr); [ 547s] | ^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 547s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 547s] | ~~~~~~^~~~ [ 547s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 547s] 95 | unsigned long flags = 0; [ 547s] | ^~~~~ [ 548s] CC spl/board/thead/light-c910/sys_clk.o [ 548s] AS spl/arch/riscv/cpu/mtrap.o [ 548s] LD spl/board/thead/common/built-in.o [ 548s] LD spl/common/init/built-in.o [ 548s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from board/thead/light-c910/sys_clk.c:7: [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 548s] 98 | out = __test_and_clear_bit(nr, addr); [ 548s] | ^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 548s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 548s] | ~~~~~~^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 548s] 95 | unsigned long flags = 0; [ 548s] | ^~~~~ [ 548s] AS spl/arch/riscv/cpu/start.o [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from board/thead/light-c910/lpddr-regu/ddr_regu.c:7: [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 548s] 98 | out = __test_and_clear_bit(nr, addr); [ 548s] | ^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 548s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 548s] | ~~~~~~^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 548s] 95 | unsigned long flags = 0; [ 548s] | ^~~~~ [ 548s] CC spl/arch/riscv/lib/image.o [ 548s] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 548s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 548s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 548s] | ^~~~~~~~~~~~~~ [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from arch/riscv/lib/image.c:9: [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 548s] 98 | out = __test_and_clear_bit(nr, addr); [ 548s] | ^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 548s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 548s] | ~~~~~~^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 548s] 95 | unsigned long flags = 0; [ 548s] | ^~~~~ [ 548s] CC spl/common/spl/spl_mmc.o [ 548s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from common/spl/spl_mmc.c:8: [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 548s] 98 | out = __test_and_clear_bit(nr, addr); [ 548s] | ^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 548s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 548s] | ~~~~~~^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 548s] 95 | unsigned long flags = 0; [ 548s] | ^~~~~ [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from arch/riscv/cpu/c9xx/feature.c:1: [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 548s] 98 | out = __test_and_clear_bit(nr, addr); [ 548s] | ^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 548s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 548s] | ~~~~~~^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 548s] 95 | unsigned long flags = 0; [ 548s] | ^~~~~ [ 548s] CC spl/common/fdt_support.o [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from common/fdt_support.c:9: [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 548s] 98 | out = __test_and_clear_bit(nr, addr); [ 548s] | ^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 548s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 548s] | ~~~~~~^~~~ [ 548s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 548s] 95 | unsigned long flags = 0; [ 548s] | ^~~~~ [ 548s] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 549s] In file included from include/linux/bitops.h:136, [ 549s] from include/common.h:26, [ 549s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 549s] 98 | out = __test_and_clear_bit(nr, addr); [ 549s] | ^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 549s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 549s] | ~~~~~~^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 549s] 95 | unsigned long flags = 0; [ 549s] | ^~~~~ [ 549s] MKIMAGE u-boot.img [ 549s] LD spl/arch/riscv/cpu/built-in.o [ 549s] CC spl/arch/riscv/lib/boot.o [ 549s] In file included from include/linux/bitops.h:136, [ 549s] from include/common.h:26, [ 549s] from arch/riscv/lib/boot.c:7: [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 549s] 98 | out = __test_and_clear_bit(nr, addr); [ 549s] | ^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 549s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 549s] | ~~~~~~^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 549s] 95 | unsigned long flags = 0; [ 549s] | ^~~~~ [ 549s] CC spl/cmd/nvedit.o [ 549s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 549s] In file included from include/linux/bitops.h:136, [ 549s] from include/common.h:26, [ 549s] from cmd/nvedit.c:26: [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 549s] 98 | out = __test_and_clear_bit(nr, addr); [ 549s] | ^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 549s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 549s] | ~~~~~~^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 549s] 95 | unsigned long flags = 0; [ 549s] | ^~~~~ [ 549s] CC spl/common/spl/spl_ram.o [ 549s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 549s] In file included from include/linux/bitops.h:136, [ 549s] from include/common.h:26, [ 549s] from common/spl/spl_ram.c:12: [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 549s] 98 | out = __test_and_clear_bit(nr, addr); [ 549s] | ^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 549s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 549s] | ~~~~~~^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 549s] 95 | unsigned long flags = 0; [ 549s] | ^~~~~ [ 549s] CC spl/env/common.o [ 549s] In file included from include/linux/bitops.h:136, [ 549s] from include/common.h:26, [ 549s] from env/common.c:10: [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 549s] 98 | out = __test_and_clear_bit(nr, addr); [ 549s] | ^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 549s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 549s] | ~~~~~~^~~~ [ 549s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 549s] 95 | unsigned long flags = 0; [ 549s] | ^~~~~ [ 550s] CC spl/env/env.o [ 550s] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from env/env.c:7: [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 550s] 98 | out = __test_and_clear_bit(nr, addr); [ 550s] | ^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 550s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 550s] | ~~~~~~^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 550s] 95 | unsigned long flags = 0; [ 550s] | ^~~~~ [ 550s] CC spl/arch/riscv/lib/cache.o [ 550s] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from arch/riscv/lib/cache.c:7: [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 550s] 98 | out = __test_and_clear_bit(nr, addr); [ 550s] | ^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 550s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 550s] | ~~~~~~^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 550s] 95 | unsigned long flags = 0; [ 550s] | ^~~~~ [ 550s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 550s] CC spl/common/bouncebuf.o [ 550s] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from common/bouncebuf.c:8: [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 550s] 98 | out = __test_and_clear_bit(nr, addr); [ 550s] | ^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 550s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 550s] | ~~~~~~^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 550s] 95 | unsigned long flags = 0; [ 550s] | ^~~~~ [ 550s] LD spl/common/spl/built-in.o [ 550s] CC spl/lib/libfdt/fdt.o [ 550s] CC spl/common/console.o [ 550s] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from common/console.c:7: [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 550s] 98 | out = __test_and_clear_bit(nr, addr); [ 550s] | ^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 550s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 550s] | ~~~~~~^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 550s] 95 | unsigned long flags = 0; [ 550s] | ^~~~~ [ 550s] LD spl/cmd/built-in.o [ 550s] CC spl/arch/riscv/lib/thead_ipi.o [ 550s] CC spl/arch/riscv/lib/rdtime.o [ 550s] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from arch/riscv/lib/rdtime.c:10: [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 550s] 98 | out = __test_and_clear_bit(nr, addr); [ 550s] | ^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 550s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 550s] | ~~~~~~^~~~ [ 550s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 550s] 95 | unsigned long flags = 0; [ 550s] | ^~~~~ [ 550s] LD spl/env/built-in.o [ 551s] CC spl/disk/part.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from disk/part.c:7: [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 551s] 98 | out = __test_and_clear_bit(nr, addr); [ 551s] | ^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 551s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 551s] | ~~~~~~^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 551s] 95 | unsigned long flags = 0; [ 551s] | ^~~~~ [ 551s] CC spl/disk/part_efi.o [ 551s] CC spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from disk/part_efi.c:13: [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 551s] 98 | out = __test_and_clear_bit(nr, addr); [ 551s] | ^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 551s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 551s] | ~~~~~~^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 551s] 95 | unsigned long flags = 0; [ 551s] | ^~~~~ [ 551s] CC spl/lib/libfdt/fdt_wip.o [ 551s] CC spl/drivers/block/blk-uclass.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from drivers/block/blk-uclass.c:7: [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 551s] 98 | out = __test_and_clear_bit(nr, addr); [ 551s] | ^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 551s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 551s] | ~~~~~~^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 551s] 95 | unsigned long flags = 0; [ 551s] | ^~~~~ [ 551s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 551s] CC spl/arch/riscv/lib/interrupts.o [ 551s] CC spl/common/dlmalloc.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from arch/riscv/lib/interrupts.c:10: [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 551s] 98 | out = __test_and_clear_bit(nr, addr); [ 551s] | ^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 551s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 551s] | ~~~~~~^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 551s] 95 | unsigned long flags = 0; [ 551s] | ^~~~~ [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from common/dlmalloc.c:1: [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 551s] 98 | out = __test_and_clear_bit(nr, addr); [ 551s] | ^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 551s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 551s] | ~~~~~~^~~~ [ 551s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 551s] 95 | unsigned long flags = 0; [ 551s] | ^~~~~ [ 552s] CC spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 552s] CC spl/lib/libfdt/fdt_strerror.o [ 552s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 552s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:7:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 552s] 7 | int dwc_ddrphy_phyinit_regInterface(); [ 552s] | ^~~ [ 552s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:995:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 552s] 995 | int dwc_ddrphy_phyinit_regInterface() { [ 552s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 552s] LD spl/disk/built-in.o [ 552s] CC spl/arch/riscv/lib/reset.o [ 552s] In file included from include/linux/bitops.h:136, [ 552s] from include/common.h:26, [ 552s] from arch/riscv/lib/reset.c:6: [ 552s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 552s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 552s] 98 | out = __test_and_clear_bit(nr, addr); [ 552s] | ^~~~ [ 552s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 552s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 552s] | ~~~~~~^~~~ [ 552s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 552s] 95 | unsigned long flags = 0; [ 552s] | ^~~~~ [ 552s] AS spl/arch/riscv/lib/setjmp.o [ 552s] LD spl/drivers/block/built-in.o [ 553s] LD spl/drivers/clk/analogbits/built-in.o [ 553s] CC spl/drivers/core/device.o [ 553s] LD spl/drivers/clk/imx/built-in.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from drivers/core/device.c:11: [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 553s] 98 | out = __test_and_clear_bit(nr, addr); [ 553s] | ^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 553s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 553s] | ~~~~~~^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 553s] 95 | unsigned long flags = 0; [ 553s] | ^~~~~ [ 553s] LD spl/drivers/clk/tegra/built-in.o [ 553s] CC spl/common/malloc_simple.o [ 553s] CC spl/drivers/clk/clk-uclass.o [ 553s] CC spl/lib/libfdt/fdt_sw.o [ 553s] CC spl/drivers/core/fdtaddr.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from drivers/clk/clk-uclass.c:9: [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 553s] 98 | out = __test_and_clear_bit(nr, addr); [ 553s] | ^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 553s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 553s] | ~~~~~~^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 553s] 95 | unsigned long flags = 0; [ 553s] | ^~~~~ [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from common/malloc_simple.c:10: [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 553s] 98 | out = __test_and_clear_bit(nr, addr); [ 553s] | ^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 553s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 553s] | ~~~~~~^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 553s] 95 | unsigned long flags = 0; [ 553s] | ^~~~~ [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from drivers/core/fdtaddr.c:11: [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 553s] 98 | out = __test_and_clear_bit(nr, addr); [ 553s] | ^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 553s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 553s] | ~~~~~~^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 553s] 95 | unsigned long flags = 0; [ 553s] | ^~~~~ [ 553s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 553s] CC spl/arch/riscv/lib/smp.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from arch/riscv/lib/smp.c:7: [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 553s] 98 | out = __test_and_clear_bit(nr, addr); [ 553s] | ^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 553s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 553s] | ~~~~~~^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 553s] 95 | unsigned long flags = 0; [ 553s] | ^~~~~ [ 553s] CC spl/arch/riscv/lib/spl.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from arch/riscv/lib/spl.c:6: [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 553s] 98 | out = __test_and_clear_bit(nr, addr); [ 553s] | ^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 553s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 553s] | ~~~~~~^~~~ [ 553s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 553s] 95 | unsigned long flags = 0; [ 553s] | ^~~~~ [ 554s] CC spl/common/image.o [ 554s] CC spl/common/image-fdt.o [ 554s] CC spl/drivers/core/lists.o [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from common/image.c:10: [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 554s] 98 | out = __test_and_clear_bit(nr, addr); [ 554s] | ^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 554s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 554s] | ~~~~~~^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 554s] 95 | unsigned long flags = 0; [ 554s] | ^~~~~ [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from common/image-fdt.c:11: [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 554s] 98 | out = __test_and_clear_bit(nr, addr); [ 554s] | ^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 554s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 554s] | ~~~~~~^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 554s] 95 | unsigned long flags = 0; [ 554s] | ^~~~~ [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from drivers/core/lists.c:11: [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 554s] 98 | out = __test_and_clear_bit(nr, addr); [ 554s] | ^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 554s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 554s] | ~~~~~~^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 554s] 95 | unsigned long flags = 0; [ 554s] | ^~~~~ [ 554s] CC spl/drivers/core/root.o [ 554s] CC spl/lib/libfdt/fdt_rw.o [ 554s] CC spl/drivers/clk/clk_fixed_rate.o [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from drivers/clk/clk_fixed_rate.c:6: [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 554s] 98 | out = __test_and_clear_bit(nr, addr); [ 554s] | ^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 554s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 554s] | ~~~~~~^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 554s] 95 | unsigned long flags = 0; [ 554s] | ^~~~~ [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from drivers/core/root.c:9: [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 554s] 98 | out = __test_and_clear_bit(nr, addr); [ 554s] | ^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 554s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 554s] | ~~~~~~^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 554s] 95 | unsigned long flags = 0; [ 554s] | ^~~~~ [ 554s] CC spl/arch/riscv/lib/locks.o [ 554s] LD spl/board/thead/light-c910/built-in.o [ 554s] CC spl/drivers/cpu/cpu-uclass.o [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from drivers/cpu/cpu-uclass.c:7: [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 554s] 98 | out = __test_and_clear_bit(nr, addr); [ 554s] | ^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 554s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 554s] | ~~~~~~^~~~ [ 554s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 554s] 95 | unsigned long flags = 0; [ 554s] | ^~~~~ [ 555s] LD spl/drivers/mtd/built-in.o [ 555s] CC spl/drivers/core/uclass.o [ 555s] CC spl/drivers/mmc/mmc.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from drivers/mmc/mmc.c:10: [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 555s] 98 | out = __test_and_clear_bit(nr, addr); [ 555s] | ^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 555s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 555s] | ~~~~~~^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 555s] 95 | unsigned long flags = 0; [ 555s] | ^~~~~ [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from drivers/core/uclass.c:11: [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 555s] 98 | out = __test_and_clear_bit(nr, addr); [ 555s] | ^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 555s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 555s] | ~~~~~~^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 555s] 95 | unsigned long flags = 0; [ 555s] | ^~~~~ [ 555s] CC spl/drivers/clk/clk_fixed_factor.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from drivers/clk/clk_fixed_factor.c:8: [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 555s] 98 | out = __test_and_clear_bit(nr, addr); [ 555s] | ^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 555s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 555s] | ~~~~~~^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 555s] 95 | unsigned long flags = 0; [ 555s] | ^~~~~ [ 555s] LD spl/arch/riscv/lib/built-in.o [ 555s] CC spl/drivers/serial/serial-uclass.o [ 555s] CC spl/common/memsize.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from drivers/serial/serial-uclass.c:6: [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 555s] 98 | out = __test_and_clear_bit(nr, addr); [ 555s] | ^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 555s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 555s] | ~~~~~~^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 555s] 95 | unsigned long flags = 0; [ 555s] | ^~~~~ [ 555s] CC spl/lib/libfdt/fdt_empty_tree.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from common/memsize.c:7: [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 555s] 98 | out = __test_and_clear_bit(nr, addr); [ 555s] | ^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 555s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 555s] | ~~~~~~^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 555s] 95 | unsigned long flags = 0; [ 555s] | ^~~~~ [ 555s] FDTGREP spl/dts/dt-spl.dtb [ 555s] CC spl/drivers/cpu/riscv_cpu.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from drivers/cpu/riscv_cpu.c:6: [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 555s] 98 | out = __test_and_clear_bit(nr, addr); [ 555s] | ^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 555s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 555s] | ~~~~~~^~~~ [ 555s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 555s] 95 | unsigned long flags = 0; [ 555s] | ^~~~~ [ 556s] LD spl/drivers/clk/built-in.o [ 556s] CC spl/lib/libfdt/fdt_addresses.o [ 556s] CC spl/fs/fs_internal.o [ 556s] DTB spl/dts/dt-spl.dtb.S [ 556s] AS spl/dts/dt-spl.dtb.o [ 556s] CC spl/drivers/serial/ns16550.o [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from fs/fs_internal.c:8: [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 556s] 98 | out = __test_and_clear_bit(nr, addr); [ 556s] | ^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 556s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 556s] | ~~~~~~^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 556s] 95 | unsigned long flags = 0; [ 556s] | ^~~~~ [ 556s] CC spl/common/stdio.o [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from drivers/serial/ns16550.c:7: [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 556s] 98 | out = __test_and_clear_bit(nr, addr); [ 556s] | ^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 556s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 556s] | ~~~~~~^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 556s] 95 | unsigned long flags = 0; [ 556s] | ^~~~~ [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from common/stdio.c:12: [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 556s] 98 | out = __test_and_clear_bit(nr, addr); [ 556s] | ^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 556s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 556s] | ~~~~~~^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 556s] 95 | unsigned long flags = 0; [ 556s] | ^~~~~ [ 556s] CC spl/drivers/core/util.o [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from drivers/core/util.c:6: [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 556s] 98 | out = __test_and_clear_bit(nr, addr); [ 556s] | ^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 556s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 556s] | ~~~~~~^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 556s] 95 | unsigned long flags = 0; [ 556s] | ^~~~~ [ 556s] LD spl/drivers/cpu/built-in.o [ 556s] LDS spl/u-boot-spl.lds [ 556s] CC spl/drivers/mmc/mmc-uclass.o [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from drivers/mmc/mmc-uclass.c:7: [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 556s] 98 | out = __test_and_clear_bit(nr, addr); [ 556s] | ^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 556s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 556s] | ~~~~~~^~~~ [ 556s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 556s] 95 | unsigned long flags = 0; [ 556s] | ^~~~~ [ 557s] CC spl/lib/libfdt/fdt_ro.o [ 557s] LD spl/dts/built-in.o [ 557s] LD spl/fs/built-in.o [ 557s] CC spl/drivers/mmc/mmc_boot.o [ 557s] CC spl/drivers/mmc/dw_mmc.o [ 557s] LD spl/drivers/serial/built-in.o [ 557s] CC spl/drivers/core/simple-bus.o [ 557s] In file included from include/linux/bitops.h:136, [ 557s] from include/common.h:26, [ 557s] from drivers/mmc/mmc_boot.c:7: [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 557s] In file included from include/linux/bitops.h:136, [ 557s] from include/common.h:26, [ 557s] from drivers/mmc/dw_mmc.c:9: [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 557s] 98 | out = __test_and_clear_bit(nr, addr); [ 557s] | ^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 557s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 557s] | ~~~~~~^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 557s] 95 | unsigned long flags = 0; [ 557s] | ^~~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 557s] 98 | out = __test_and_clear_bit(nr, addr); [ 557s] | ^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 557s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 557s] | ~~~~~~^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 557s] 95 | unsigned long flags = 0; [ 557s] | ^~~~~ [ 557s] In file included from include/linux/bitops.h:136, [ 557s] from include/common.h:26, [ 557s] from drivers/core/simple-bus.c:6: [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 557s] 98 | out = __test_and_clear_bit(nr, addr); [ 557s] | ^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 557s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 557s] | ~~~~~~^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 557s] 95 | unsigned long flags = 0; [ 557s] | ^~~~~ [ 557s] CC spl/drivers/timer/timer-uclass.o [ 557s] CC spl/common/cli.o [ 557s] In file included from include/linux/bitops.h:136, [ 557s] from include/common.h:26, [ 557s] from drivers/timer/timer-uclass.c:6: [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 557s] 98 | out = __test_and_clear_bit(nr, addr); [ 557s] | ^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 557s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 557s] | ~~~~~~^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 557s] 95 | unsigned long flags = 0; [ 557s] | ^~~~~ [ 557s] In file included from include/linux/bitops.h:136, [ 557s] from include/common.h:26, [ 557s] from common/cli.c:11: [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 557s] 98 | out = __test_and_clear_bit(nr, addr); [ 557s] | ^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 557s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 557s] | ~~~~~~^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 557s] 95 | unsigned long flags = 0; [ 557s] | ^~~~~ [ 557s] CC spl/drivers/timer/riscv_timer.o [ 557s] In file included from include/linux/bitops.h:136, [ 557s] from include/common.h:26, [ 557s] from drivers/timer/riscv_timer.c:14: [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 557s] 98 | out = __test_and_clear_bit(nr, addr); [ 557s] | ^~~~ [ 557s] CC spl/lib/libfdt/fdt_region.o [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 557s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 557s] | ~~~~~~^~~~ [ 557s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 557s] 95 | unsigned long flags = 0; [ 557s] | ^~~~~ [ 558s] CC spl/lib/fdtdec_common.o [ 558s] CC spl/drivers/core/dump.o [ 558s] CC spl/drivers/core/of_extra.o [ 558s] In file included from include/linux/bitops.h:136, [ 558s] from include/common.h:26, [ 558s] from lib/fdtdec_common.c:11: [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 558s] 98 | out = __test_and_clear_bit(nr, addr); [ 558s] | ^~~~ [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 558s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 558s] | ~~~~~~^~~~ [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 558s] 95 | unsigned long flags = 0; [ 558s] | ^~~~~ [ 558s] In file included from include/linux/bitops.h:136, [ 558s] from include/common.h:26, [ 558s] from drivers/core/of_extra.c:7: [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 558s] 98 | out = __test_and_clear_bit(nr, addr); [ 558s] | ^~~~ [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 558s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 558s] | ~~~~~~^~~~ [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 558s] 95 | unsigned long flags = 0; [ 558s] | ^~~~~ [ 558s] CC spl/common/command.o [ 558s] In file included from include/linux/bitops.h:136, [ 558s] from include/common.h:26, [ 558s] from drivers/core/dump.c:6: [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 558s] 98 | out = __test_and_clear_bit(nr, addr); [ 558s] | ^~~~ [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 558s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 558s] | ~~~~~~^~~~ [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 558s] 95 | unsigned long flags = 0; [ 558s] | ^~~~~ [ 558s] CC spl/common/s_record.o [ 558s] In file included from include/linux/bitops.h:136, [ 558s] from include/common.h:26, [ 558s] from common/command.c:11: [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 558s] 98 | out = __test_and_clear_bit(nr, addr); [ 558s] | ^~~~ [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 558s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 558s] | ~~~~~~^~~~ [ 558s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 558s] 95 | unsigned long flags = 0; [ 558s] | ^~~~~ [ 559s] CC spl/drivers/mmc/snps_dw_mmc.o [ 559s] common/command.c: At top level: [ 559s] In file included from include/linux/bitops.h:136, [ 559s] from include/common.h:26, [ 559s] from common/s_record.c:7: [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 559s] 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] [ 559s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 559s] | ^~~~~~~~~~~ [ 559s] In file included from include/image.h:45, [ 559s] from include/common.h:40: [ 559s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 559s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 559s] | ^~~~~~~~~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 559s] 98 | out = __test_and_clear_bit(nr, addr); [ 559s] | ^~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 559s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 559s] | ~~~~~~^~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 559s] 95 | unsigned long flags = 0; [ 559s] | ^~~~~ [ 559s] In file included from include/linux/bitops.h:136, [ 559s] from include/common.h:26, [ 559s] from drivers/mmc/snps_dw_mmc.c:10: [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 559s] 98 | out = __test_and_clear_bit(nr, addr); [ 559s] | ^~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 559s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 559s] | ~~~~~~^~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 559s] 95 | unsigned long flags = 0; [ 559s] | ^~~~~ [ 559s] LD spl/drivers/timer/built-in.o [ 559s] CC spl/common/xyzModem.o [ 559s] LD spl/lib/libfdt/built-in.o [ 559s] In file included from include/linux/bitops.h:136, [ 559s] from include/common.h:26, [ 559s] from common/xyzModem.c:24: [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 559s] 98 | out = __test_and_clear_bit(nr, addr); [ 559s] | ^~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 559s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 559s] | ~~~~~~^~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 559s] 95 | unsigned long flags = 0; [ 559s] | ^~~~~ [ 559s] CC spl/lib/fdtdec.o [ 559s] In file included from include/linux/bitops.h:136, [ 559s] from include/common.h:26, [ 559s] from lib/fdtdec.c:7: [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 559s] 98 | out = __test_and_clear_bit(nr, addr); [ 559s] | ^~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 559s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 559s] | ~~~~~~^~~~ [ 559s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 559s] 95 | unsigned long flags = 0; [ 559s] | ^~~~~ [ 559s] CC spl/lib/qsort.o [ 560s] CC spl/lib/hashtable.o [ 560s] CC spl/drivers/core/ofnode.o [ 560s] In file included from include/linux/bitops.h:136, [ 560s] from include/common.h:26, [ 560s] from lib/qsort.c:19: [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 560s] 98 | out = __test_and_clear_bit(nr, addr); [ 560s] | ^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 560s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 560s] | ~~~~~~^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 560s] 95 | unsigned long flags = 0; [ 560s] | ^~~~~ [ 560s] In file included from include/linux/bitops.h:136, [ 560s] from include/common.h:26, [ 560s] from lib/hashtable.c:32: [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 560s] 98 | out = __test_and_clear_bit(nr, addr); [ 560s] | ^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 560s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 560s] | ~~~~~~^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 560s] 95 | unsigned long flags = 0; [ 560s] | ^~~~~ [ 560s] In file included from include/linux/bitops.h:136, [ 560s] from include/common.h:26, [ 560s] from drivers/core/ofnode.c:7: [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 560s] 98 | out = __test_and_clear_bit(nr, addr); [ 560s] | ^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 560s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 560s] | ~~~~~~^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 560s] 95 | unsigned long flags = 0; [ 560s] | ^~~~~ [ 560s] CC spl/drivers/core/read_extra.o [ 560s] In file included from include/linux/bitops.h:136, [ 560s] from include/common.h:26, [ 560s] from drivers/core/read_extra.c:7: [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 560s] 98 | out = __test_and_clear_bit(nr, addr); [ 560s] | ^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 560s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 560s] | ~~~~~~^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 560s] 95 | unsigned long flags = 0; [ 560s] | ^~~~~ [ 560s] CC spl/drivers/mmc/rpmb.o [ 560s] In file included from include/linux/bitops.h:136, [ 560s] from include/common.h:26, [ 560s] from drivers/mmc/rpmb.c:11: [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 560s] 98 | out = __test_and_clear_bit(nr, addr); [ 560s] | ^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 560s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 560s] | ~~~~~~^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 560s] 95 | unsigned long flags = 0; [ 560s] | ^~~~~ [ 560s] CC spl/drivers/mmc/sdhci.o [ 560s] LD spl/common/built-in.o [ 560s] In file included from include/linux/bitops.h:136, [ 560s] from include/common.h:26, [ 560s] from drivers/mmc/sdhci.c:10: [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 560s] 98 | out = __test_and_clear_bit(nr, addr); [ 560s] | ^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 560s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 560s] | ~~~~~~^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 560s] 95 | unsigned long flags = 0; [ 560s] | ^~~~~ [ 560s] CC spl/drivers/mmc/snps_sdhci.o [ 560s] In file included from include/linux/bitops.h:136, [ 560s] from include/common.h:26, [ 560s] from drivers/mmc/snps_sdhci.c:6: [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 560s] 98 | out = __test_and_clear_bit(nr, addr); [ 560s] | ^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 560s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 560s] | ~~~~~~^~~~ [ 560s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 560s] 95 | unsigned long flags = 0; [ 560s] | ^~~~~ [ 561s] CC spl/lib/errno.o [ 561s] CC spl/lib/display_options.o [ 561s] In file included from include/linux/bitops.h:136, [ 561s] from include/common.h:26, [ 561s] from lib/display_options.c:7: [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 561s] CC spl/lib/crc32.o [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 561s] 98 | out = __test_and_clear_bit(nr, addr); [ 561s] | ^~~~ [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 561s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 561s] | ~~~~~~^~~~ [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 561s] 95 | unsigned long flags = 0; [ 561s] | ^~~~~ [ 561s] CC spl/lib/ctype.o [ 561s] In file included from include/linux/bitops.h:136, [ 561s] from include/common.h:26, [ 561s] from lib/crc32.c:15: [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 561s] 98 | out = __test_and_clear_bit(nr, addr); [ 561s] | ^~~~ [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 561s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 561s] | ~~~~~~^~~~ [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 561s] 95 | unsigned long flags = 0; [ 561s] | ^~~~~ [ 561s] LD spl/drivers/core/built-in.o [ 561s] CC spl/lib/div64.o [ 561s] CC spl/lib/hang.o [ 561s] In file included from include/linux/bitops.h:136, [ 561s] from include/linux/math64.h:5, [ 561s] from lib/div64.c:22: [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 561s] 98 | out = __test_and_clear_bit(nr, addr); [ 561s] | ^~~~ [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 561s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 561s] | ~~~~~~^~~~ [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 561s] 95 | unsigned long flags = 0; [ 561s] | ^~~~~ [ 561s] In file included from include/linux/bitops.h:136, [ 561s] from include/common.h:26, [ 561s] from lib/hang.c:10: [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 561s] 98 | out = __test_and_clear_bit(nr, addr); [ 561s] | ^~~~ [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 561s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 561s] | ~~~~~~^~~~ [ 561s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 561s] 95 | unsigned long flags = 0; [ 561s] | ^~~~~ [ 562s] CC spl/lib/linux_compat.o [ 562s] In file included from include/linux/bitops.h:136, [ 562s] from include/common.h:26, [ 562s] from lib/linux_compat.c:2: [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 562s] 98 | out = __test_and_clear_bit(nr, addr); [ 562s] | ^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 562s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 562s] | ~~~~~~^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 562s] 95 | unsigned long flags = 0; [ 562s] | ^~~~~ [ 562s] CC spl/lib/linux_string.o [ 562s] LD spl/drivers/mmc/built-in.o [ 562s] LD spl/drivers/built-in.o [ 562s] CC spl/lib/lmb.o [ 562s] In file included from include/linux/bitops.h:136, [ 562s] from include/common.h:26, [ 562s] from lib/lmb.c:9: [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 562s] 98 | out = __test_and_clear_bit(nr, addr); [ 562s] | ^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 562s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 562s] | ~~~~~~^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 562s] 95 | unsigned long flags = 0; [ 562s] | ^~~~~ [ 562s] CC spl/lib/membuff.o [ 562s] CC spl/lib/slre.o [ 562s] CC spl/lib/string.o [ 562s] CC spl/lib/tables_csum.o [ 562s] In file included from include/linux/bitops.h:136, [ 562s] from include/common.h:26, [ 562s] from lib/slre.c:23: [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 562s] 98 | out = __test_and_clear_bit(nr, addr); [ 562s] | ^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 562s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 562s] | ~~~~~~^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 562s] 95 | unsigned long flags = 0; [ 562s] | ^~~~~ [ 562s] In file included from include/linux/bitops.h:136, [ 562s] from include/common.h:26, [ 562s] from lib/membuff.c:9: [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 562s] 98 | out = __test_and_clear_bit(nr, addr); [ 562s] | ^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 562s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 562s] | ~~~~~~^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 562s] 95 | unsigned long flags = 0; [ 562s] | ^~~~~ [ 562s] CC spl/lib/time.o [ 562s] In file included from include/linux/bitops.h:136, [ 562s] from include/common.h:26, [ 562s] from lib/tables_csum.c:6: [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 562s] 98 | out = __test_and_clear_bit(nr, addr); [ 562s] | ^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 562s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 562s] | ~~~~~~^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 562s] 95 | unsigned long flags = 0; [ 562s] | ^~~~~ [ 562s] In file included from include/linux/bitops.h:136, [ 562s] from include/common.h:26, [ 562s] from lib/time.c:7: [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 562s] 98 | out = __test_and_clear_bit(nr, addr); [ 562s] | ^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 562s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 562s] | ~~~~~~^~~~ [ 562s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 562s] 95 | unsigned long flags = 0; [ 562s] | ^~~~~ [ 563s] CC spl/lib/hexdump.o [ 563s] CC spl/lib/uuid.o [ 563s] In file included from include/linux/bitops.h:136, [ 563s] from include/common.h:26, [ 563s] from lib/hexdump.c:11: [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 563s] 98 | out = __test_and_clear_bit(nr, addr); [ 563s] | ^~~~ [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 563s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 563s] | ~~~~~~^~~~ [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 563s] 95 | unsigned long flags = 0; [ 563s] | ^~~~~ [ 563s] In file included from include/linux/bitops.h:136, [ 563s] from include/common.h:26, [ 563s] from lib/uuid.c:6: [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 563s] 98 | out = __test_and_clear_bit(nr, addr); [ 563s] | ^~~~ [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 563s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 563s] | ~~~~~~^~~~ [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 563s] 95 | unsigned long flags = 0; [ 563s] | ^~~~~ [ 563s] CC spl/lib/rand.o [ 563s] In file included from include/linux/bitops.h:136, [ 563s] from include/common.h:26, [ 563s] from lib/rand.c:10: [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 563s] 98 | out = __test_and_clear_bit(nr, addr); [ 563s] | ^~~~ [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 563s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 563s] | ~~~~~~^~~~ [ 563s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 563s] 95 | unsigned long flags = 0; [ 563s] | ^~~~~ [ 563s] CC spl/lib/panic.o [ 564s] In file included from include/linux/bitops.h:136, [ 564s] from include/common.h:26, [ 564s] from lib/panic.c:12: [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 564s] 98 | out = __test_and_clear_bit(nr, addr); [ 564s] | ^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 564s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 564s] | ~~~~~~^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 564s] 95 | unsigned long flags = 0; [ 564s] | ^~~~~ [ 564s] CC spl/lib/vsprintf.o [ 564s] In file included from include/linux/bitops.h:136, [ 564s] from include/common.h:26, [ 564s] from lib/vsprintf.c:16: [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 564s] 98 | out = __test_and_clear_bit(nr, addr); [ 564s] | ^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 564s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 564s] | ~~~~~~^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 564s] 95 | unsigned long flags = 0; [ 564s] | ^~~~~ [ 564s] CC spl/lib/strto.o [ 564s] CC spl/lib/abuf.o [ 564s] In file included from include/linux/bitops.h:136, [ 564s] from include/common.h:26, [ 564s] from lib/strto.c:12: [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 564s] 98 | out = __test_and_clear_bit(nr, addr); [ 564s] | ^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 564s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 564s] | ~~~~~~^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 564s] 95 | unsigned long flags = 0; [ 564s] | ^~~~~ [ 564s] In file included from include/linux/bitops.h:136, [ 564s] from include/common.h:26, [ 564s] from lib/abuf.c:10: [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 564s] 98 | out = __test_and_clear_bit(nr, addr); [ 564s] | ^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 564s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 564s] | ~~~~~~^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 564s] 95 | unsigned long flags = 0; [ 564s] | ^~~~~ [ 564s] CC spl/lib/date.o [ 564s] In file included from include/linux/bitops.h:136, [ 564s] from include/common.h:26, [ 564s] from lib/date.c:7: [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 564s] 98 | out = __test_and_clear_bit(nr, addr); [ 564s] | ^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 564s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 564s] | ~~~~~~^~~~ [ 564s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 564s] 95 | unsigned long flags = 0; [ 564s] | ^~~~~ [ 565s] LD spl/lib/built-in.o [ 566s] LD spl/u-boot-spl [ 566s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 567s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 567s] COPY spl/u-boot-spl.bin [ 567s] CAT u-boot-with-spl.bin [ 568s] ===================== WARNING ====================== [ 568s] This board does not use CONFIG_DM_USB. Please update [ 568s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 568s] Failure to update by the deadline may result in board removal. [ 568s] See doc/driver-model/MIGRATION.txt for more info. [ 568s] ==================================================== [ 568s] ===================== WARNING ====================== [ 568s] CONFIG_OF_EMBED is enabled. This option should only [ 568s] be used for debugging purposes. Please use [ 568s] CONFIG_OF_SEPARATE for boards in mainline. [ 568s] See doc/README.fdt-control for more info. [ 568s] ==================================================== [ 568s] CFGCHK u-boot.cfg [ 571s] + ./scripts/get_default_envs.sh [ 573s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 574s] + rm default_envs.txt [ 574s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 574s] Image Name: Tizen LicheePi4A Board Script [ 574s] Created: Fri Dec 6 14:04:07 2024 [ 574s] Image Type: RISC-V Linux Script (uncompressed) [ 574s] Data Size: 4158 Bytes = 4.06 KiB = 0.00 MiB [ 574s] Load Address: 00000000 [ 574s] Entry Point: 00000000 [ 574s] Contents: [ 574s] Image 0: 4150 Bytes = 4.05 KiB = 0.00 MiB [ 574s] + exit 0 [ 574s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UMqtyV [ 574s] + umask 022 [ 574s] + cd /home/abuild/rpmbuild/BUILD [ 574s] + cd u-boot-2020.01 [ 574s] + LANG=C [ 574s] + export LANG [ 574s] + unset DISPLAY [ 574s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 574s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 574s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 574s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot [ 574s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp [ 574s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 575s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 576s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 576s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 577s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 578s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 578s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 579s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 2020.01-0 --unique-debug-src-base u-boot-lpi4a-16g-2020.01-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/u-boot-2020.01 [ 588s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debuginfo.manifest [ 589s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debugsource.manifest [ 589s] + /usr/lib/rpm/check-buildroot [ 590s] + /usr/lib/rpm//brp-compress [ 590s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 591s] + /usr/lib/rpm/brp-python-hardlink [ 591s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 592s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 592s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 592s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 592s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 597s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 597s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 597s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 597s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 597s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 597s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 597s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 597s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 597s] Processing files: u-boot-lpi4a-16g-2020.01-0.riscv64 [ 597s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 597s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 597s] [ 597s] Provides: u-boot-lpi4a-16g = 2020.01-0 u-boot-lpi4a-16g(riscv-64) = 2020.01-0 [ 597s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 597s] Processing files: u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64 [ 597s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 597s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 597s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 597s] [ 597s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 601s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-2020.01-0.riscv64.rpm [ 601s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64.rpm [ 601s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bV79lv [ 601s] + umask 022 [ 601s] + cd /home/abuild/rpmbuild/BUILD [ 601s] + cd u-boot-2020.01 [ 601s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 601s] + exit 0 [ 601s] ... checking for files with abuild user/group [ 601s] ... creating baselibs [ 612s] [ 612s] ip-192-168-56-230 finished "build u-boot-lpi4a-16g.spec" at Fri Dec 6 14:04:45 UTC 2024. [ 612s]