[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.25 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-31 started "build u-boot-lpi4a-8g.spec" at Tue Dec 17 04:02:51 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/u-boot-lpi4a-8g-2020.01-0/u-boot-lpi4a-8g.spec ... [ 1s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --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-8g-2020.01-0/u-boot-lpi4a-8g.spec build ... [ 2s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.25/.srcfiles.cache ... [ 2s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.25/.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/ [ 4s] /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 [ 7s] calculating packages to download... [ 27s] cycle: nss -> libsoftokn3 [ 27s] breaking dependency nss -> libsoftokn3 [ 27s] [1/47] preinstalling libmagic-data... [ 27s] [2/47] preinstalling libncurses... [ 27s] [3/47] preinstalling setup... [ 27s] [4/47] preinstalling filesystem... [ 27s] [5/47] preinstalling glibc... [ 28s] [6/47] preinstalling libgcc... [ 28s] [7/47] preinstalling libstdc++... [ 28s] [8/47] preinstalling libasan... [ 28s] [9/47] preinstalling findutils... [ 28s] [10/47] preinstalling grep... [ 28s] [11/47] preinstalling libattr... [ 28s] [12/47] preinstalling libbz2... [ 28s] [13/47] preinstalling liblua... [ 28s] [14/47] preinstalling libpopt... [ 28s] [15/47] preinstalling libsmack... [ 29s] [16/47] preinstalling libuuid... [ 29s] [17/47] preinstalling libxcrypt... [ 29s] [18/47] preinstalling nspr... [ 29s] [19/47] preinstalling sed... [ 29s] [20/47] preinstalling zlib... [ 29s] [21/47] preinstalling bash... [ 29s] [22/47] preinstalling diffutils... [ 29s] [23/47] preinstalling libblkid... [ 30s] [24/47] preinstalling libcap... [ 30s] [25/47] preinstalling libfreebl3... [ 30s] [26/47] preinstalling liblzma... [ 30s] [27/47] preinstalling libreadline... [ 30s] [28/47] preinstalling libsqlite... [ 30s] [29/47] preinstalling libzstd1... [ 31s] [30/47] preinstalling qemu-accel-x86_64-riscv64... [ 40s] [31/47] preinstalling qemu-linux-user-x86_64-cross... [ 43s] [32/47] preinstalling asan-build-env... [ 43s] [33/47] preinstalling libacl... [ 44s] [34/47] preinstalling libelf... [ 44s] [35/47] preinstalling smack... [ 44s] [36/47] preinstalling bzip2... [ 44s] [37/47] preinstalling coreutils... [ 44s] [38/47] preinstalling libmagic... [ 44s] [39/47] preinstalling libmount... [ 44s] [40/47] preinstalling libxml2... [ 45s] [41/47] preinstalling tar... [ 45s] [42/47] preinstalling util-linux... [ 45s] [43/47] preinstalling util-linux-su... [ 45s] [44/47] preinstalling nss... [ 45s] [45/47] preinstalling libsoftokn3... [ 45s] [46/47] preinstalling rpm... [ 46s] [47/47] preinstalling asan-force-options... [ 46s] [ 47s] running qemu-linux-user-x86_64-cross postinstall script [ 50s] running qemu-accel-x86_64-riscv64 postinstall script [ 50s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.1.0/liblto_plugin.so': No such file or directory [ 50s] running setup postinstall script [ 50s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 50s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 50s] running asan-build-env postinstall script [ 54s] running asan-force-options postinstall script [ 88s] initializing rpm db... [ 88s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 88s] breaking dependency bash -> glibc [ 88s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 88s] breaking dependency libasan -> glibc [ 88s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 88s] breaking dependency asan-runtime-env -> bash [ 88s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 88s] breaking dependency coreutils -> bash [ 88s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 88s] breaking dependency coreutils -> glibc [ 88s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 88s] breaking dependency libasan -> libgcc [ 88s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 88s] breaking dependency libstdc++ -> glibc [ 88s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 88s] breaking dependency coreutils -> libasan [ 88s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 88s] breaking dependency asan-runtime-env -> coreutils [ 88s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 88s] breaking dependency setup -> asan-runtime-env [ 88s] cycle: glibc-devel -> libxcrypt-devel [ 88s] breaking dependency glibc-devel -> libxcrypt-devel [ 88s] cycle: nss -> libsoftokn3 [ 88s] breaking dependency nss -> libsoftokn3 [ 89s] reordering done [ 91s] [1/116] installing libmagic-data-5.45-1.9 [ 91s] [2/116] installing opensbi-1.5-0 [ 91s] [3/116] installing setup-0.9-1.4 [ 92s] [4/116] installing filesystem-3.1-1.2 [ 92s] [5/116] installing glibc-2.39-1.5 [ 92s] [6/116] installing libatomic-14.1.0-1.10 [ 93s] [7/116] installing libgcc-14.1.0-1.10 [ 93s] [8/116] installing libgomp-14.1.0-1.10 [ 93s] [9/116] installing libitm-14.1.0-1.10 [ 94s] [10/116] installing libgfortran-14.1.0-1.10 [ 94s] [11/116] installing libstdc++-14.1.0-1.10 [ 94s] [12/116] installing coreutils-6.9-14.4 [ 95s] [13/116] installing libstdc++-devel-14.1.0-1.10 [ 96s] [14/116] installing linux-glibc-devel-6.6-1.11 [ 96s] [15/116] installing libasan-14.1.0-1.10 [ 97s] [16/116] installing libcc1-14.1.0-1.10 [ 97s] [17/116] installing libubsan-14.1.0-1.10 [ 98s] [18/116] installing cpio-2.8-1.2 [ 98s] [19/116] installing findutils-4.3.8-1.9 [ 98s] [20/116] installing gdbm-1.8.3-1.11 [ 99s] [21/116] installing hostname-3.23-1.2 [ 99s] [22/116] installing libattr-2.5.1-1.9 [ 99s] [23/116] installing libbz2-1.0.8-1.9 [ 100s] [24/116] installing libexpat-2.6.2-1.11 [ 100s] [25/116] installing libffi-3.4.2-1.11 [ 101s] [26/116] installing libltdl-2.4.7-1.11 [ 101s] [27/116] installing liblua-5.1.5-1.9 [ 101s] [28/116] installing libpopt-1.16-1.9 [ 102s] [29/116] installing libsmack-1.3.1-1.9 [ 102s] [30/116] installing libsmartcols-2.39.3-1.7 [ 102s] [31/116] installing libuuid-2.39.3-1.7 [ 103s] [32/116] installing libxcrypt-4.4.36-1.11 [ 103s] [33/116] installing m4-1.4.19-1.2 [ 103s] [34/116] installing net-tools-2.0_20121208git-1.9 [ 103s] [35/116] installing nspr-4.35-1.9 [ 104s] [36/116] installing patch-2.7.6-1.9 [ 104s] [37/116] installing sed-4.1c-1.9 [ 104s] [38/116] installing which-2.17-1.2 [ 104s] [39/116] installing zlib-1.3-1.11 [ 104s] [40/116] installing asan-runtime-env-14.1.0-1.5 [ 105s] [41/116] installing bash-3.2.57-2.1 [ 105s] [42/116] installing diffutils-3.10-1.2 [ 105s] [43/116] installing libblkid-2.39.3-1.7 [ 105s] [44/116] installing libcap-2.69-1.9 [ 105s] [45/116] installing libfreebl3-3.98-1.11 [ 106s] [46/116] installing liblzma-5.4.5-1.11 [ 106s] [47/116] installing libopenssl3-3.0.13-1.11 [ 106s] [48/116] installing libpcre-8.45-1.9 [ 107s] [49/116] installing libpython3_121_0-3.12.0-1.11 [ 107s] [50/116] installing libsqlite-3.44.0-1.9 [ 108s] [51/116] installing libzstd1-1.5.5-1.9 [ 108s] [52/116] installing pkg-config-0.29.2-1.9 [ 108s] [53/116] installing update-alternatives-1.22.2-1.2 [ 108s] [54/116] installing build-compare-2023.06.18-1.4 [ 108s] [55/116] installing hal-rootstrap-checker-0.1.0-1.2 [ 108s] [56/116] installing qemu-linux-user-x86_64-cross-5.2.0.2-20.4 [ 110s] [57/116] installing asan-build-env-14.1.0-1.5 [ 111s] libasan.so is already preloaded [ 111s] [58/116] installing cpp-14.1.0-1.10 [ 111s] [59/116] installing gcc-c++-14.1.0-1.10 [ 112s] [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 [ 114s] [64/116] installing grep-2.5.2-1.9 [ 114s] [65/116] installing libacl-2.3.2-1.9 [ 114s] [66/116] installing libelf-0.189-1.11 [ 115s] [67/116] installing make-4.4-1.9 [ 115s] [68/116] installing nss-certs-3.98-1.11 [ 115s] [69/116] installing smack-1.3.1-1.9 [ 115s] [70/116] installing binutils-libs-2.43-2.1 [ 115s] [71/116] installing bzip2-1.0.8-1.9 [ 115s] [72/116] installing gzip-1.13-1.5 [ 115s] [73/116] installing libmagic-5.45-1.9 [ 116s] [74/116] installing libmount-2.39.3-1.7 [ 116s] [75/116] installing xz-5.4.5-1.11 [ 116s] [76/116] installing bison-3.0.5-1.9 [ 116s] [77/116] installing libfdisk-2.39.3-1.7 [ 116s] [78/116] installing libxml2-2.12.5-1.10 [ 117s] [79/116] installing swig-4.0.2-0 [ 117s] [80/116] installing tzdata-2023c-1.2 [ 117s] [81/116] installing pam-1.1.6-1.9 [ 120s] [82/116] installing perl-5.38.0-1.8 [ 123s] [83/116] installing gcc-14.1.0-1.10 [ 126s] [84/116] installing build-mkbaselibs-20120927-1.2 [ 126s] [85/116] installing qemu-accel-x86_64-riscv64-0.4-1.3 [ 147s] [86/116] installing autoconf-2.71-1.12 [ 148s] [87/116] installing file-5.45-1.9 [ 148s] [88/116] installing binutils-2.43-2.1 [ 149s] [89/116] installing tar-1.17-1.2 [ 149s] [90/116] installing glibc-devel-2.39-1.5 [ 150s] [91/116] installing libncurses6-6.4-1.11 [ 150s] [92/116] installing libdw-0.189-1.11 [ 151s] [93/116] installing nss-3.98-1.11 [ 152s] [94/116] installing libarchive-3.7.2-1.10 [ 153s] [95/116] installing libncurses-6.4-1.11 [ 153s] [96/116] installing automake-1.16.5-1.12 [ 154s] [97/116] installing less-643-1.2 [ 154s] [98/116] installing libxcrypt-devel-4.4.36-1.11 [ 154s] [99/116] installing zlib-devel-1.3-1.11 [ 155s] [100/116] installing libasm-0.189-1.11 [ 155s] [101/116] installing libreadline-5.2-1.9 [ 156s] [102/116] installing build-20120927-1.2 [ 156s] [103/116] installing libsoftokn3-3.98-1.11 [ 157s] [104/116] installing rpm-4.14.1.1-1.11 [ 160s] [105/116] installing bc-1.06-1.2 [ 160s] [106/116] installing libopenssl3-devel-3.0.13-1.11 [ 160s] [107/116] installing asan-force-options-14.1.0-1.5 [ 223s] [108/116] installing libtool-2.4.7-1.11 [ 223s] [109/116] installing elfutils-0.189-1.11 [ 224s] [110/116] installing python3-base-3.12.0-1.11 [ 225s] [111/116] installing util-linux-2.39.3-1.7 [ 226s] [112/116] installing rpm-build-4.14.1.1-1.11 [ 227s] [113/116] installing python3-3.12.0-1.2 [ 227s] [114/116] installing util-linux-su-2.39.3-1.7 [ 227s] [115/116] installing python3-devel-3.12.0-1.11 [ 228s] [116/116] installing python3-setuptools-69.0.2-1.3 [ 228s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.25/etc/nsswitch.conf... [ 229s] now finalizing build dir... [ 239s] ----------------------------------------------------------------- [ 239s] ----- building u-boot-lpi4a-8g.spec (user abuild) [ 239s] ----------------------------------------------------------------- [ 239s] ----------------------------------------------------------------- [ 244s] + 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-8g.spec [ 244s] Building target platforms: riscv64-tizen-linux [ 244s] Building for target riscv64-tizen-linux [ 244s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S3oRL9 [ 244s] + umask 022 [ 244s] + cd /home/abuild/rpmbuild/BUILD [ 244s] + cd /home/abuild/rpmbuild/BUILD [ 244s] + rm -rf u-boot-2020.01 [ 244s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 244s] + /bin/tar -xof - [ 259s] + STATUS=0 [ 259s] + '[' 0 -ne 0 ']' [ 259s] + cd u-boot-2020.01 [ 259s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 261s] + exit 0 [ 261s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.T87q5W [ 261s] + umask 022 [ 261s] + cd /home/abuild/rpmbuild/BUILD [ 261s] + cd u-boot-2020.01 [ 261s] + ref=/usr/lib/rpm [ 261s] + mints=0 [ 261s] + case $(uname -m) in [ 261s] ++ uname -m [ 261s] + mints=20160911 [ 261s] + for s in guess sub [ 261s] ++ find -maxdepth 8 -name config.guess [ 261s] + for s in guess sub [ 261s] ++ find -maxdepth 8 -name config.sub [ 262s] + LANG=C [ 262s] + export LANG [ 262s] + unset DISPLAY [ 262s] + 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' [ 262s] + export CFLAGS [ 262s] + 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' [ 262s] + export CXXFLAGS [ 262s] + 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' [ 262s] + export FFLAGS [ 262s] + LDFLAGS= [ 262s] + export LDFLAGS [ 262s] + /usr/bin/gcc-unforce-options [ 263s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-8g.manifest . [ 264s] + CONFIG=tizen_lpi4a_8g_defconfig [ 264s] + make mrproper [ 283s] + make tizen_lpi4a_8g_defconfig [ 292s] HOSTCC scripts/basic/fixdep [ 300s] HOSTCC scripts/kconfig/conf.o [ 302s] YACC scripts/kconfig/zconf.tab.c [ 303s] LEX scripts/kconfig/zconf.lex.c [ 309s] HOSTCC scripts/kconfig/zconf.tab.o [ 314s] HOSTLD scripts/kconfig/conf [ 315s] # [ 315s] # configuration written to .config [ 315s] # [ 316s] + 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 [ 329s] HOSTCC scripts/basic/fixdep [ 336s] HOSTCC scripts/kconfig/conf.o [ 341s] HOSTCC scripts/kconfig/zconf.tab.o [ 346s] HOSTLD scripts/kconfig/conf [ 346s] scripts/kconfig/conf --syncconfig Kconfig [ 349s] CHK include/config.h [ 349s] UPD include/config.h [ 349s] CFG u-boot.cfg [ 349s] GEN include/autoconf.mk.dep [ 349s] CFG spl/u-boot.cfg [ 349s] GEN include/autoconf.mk [ 349s] GEN spl/include/autoconf.mk [ 369s] CHK include/config/uboot.release [ 369s] CHK include/generated/timestamp_autogenerated.h [ 369s] HOSTCC scripts/basic/fixdep [ 369s] UPD include/config/uboot.release [ 370s] CHK include/generated/version_autogenerated.h [ 370s] UPD include/generated/version_autogenerated.h [ 372s] HOSTCC scripts/dtc/flattree.o [ 372s] HOSTCC scripts/dtc/dtc.o [ 372s] HOSTCC scripts/dtc/fstree.o [ 372s] HOSTCC scripts/dtc/data.o [ 372s] HOSTCC scripts/dtc/livetree.o [ 372s] HOSTCC scripts/dtc/treesource.o [ 372s] HOSTCC scripts/dtc/srcpos.o [ 374s] HOSTCC scripts/dtc/checks.o [ 374s] HOSTCC scripts/dtc/util.o [ 374s] LEX scripts/dtc/dtc-lexer.lex.c [ 374s] YACC scripts/dtc/dtc-parser.tab.h [ 375s] YACC scripts/dtc/dtc-parser.tab.c [ 377s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 377s] UPD include/generated/timestamp_autogenerated.h [ 377s] CC lib/asm-offsets.s [ 377s] CC arch/riscv/lib/asm-offsets.s [ 377s] In file included from include/linux/bitops.h:136, [ 377s] from include/common.h:26, [ 377s] from lib/asm-offsets.c:14: [ 377s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 377s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 377s] 98 | out = __test_and_clear_bit(nr, addr); [ 377s] | ^~~~ [ 377s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 377s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 377s] | ~~~~~~^~~~ [ 377s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 377s] 95 | unsigned long flags = 0; [ 377s] | ^~~~~ [ 377s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 377s] In file included from include/linux/bitops.h:136, [ 377s] from include/common.h:26, [ 377s] from arch/riscv/lib/asm-offsets.c:11: [ 377s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 377s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 377s] 98 | out = __test_and_clear_bit(nr, addr); [ 377s] | ^~~~ [ 377s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 377s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 377s] | ~~~~~~^~~~ [ 377s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 377s] 95 | unsigned long flags = 0; [ 377s] | ^~~~~ [ 379s] CHK include/generated/asm-offsets.h [ 379s] CHK include/generated/generic-asm-offsets.h [ 379s] UPD include/generated/asm-offsets.h [ 379s] UPD include/generated/generic-asm-offsets.h [ 380s] HOSTLD scripts/dtc/dtc [ 381s] HOSTCC tools/bmp_logo [ 381s] HOSTCC tools/gen_eth_addr [ 381s] HOSTCC tools/gen_ethaddr_crc.o [ 381s] WRAP tools/lib/crc8.c [ 381s] HOSTCC tools/img2srec [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 381s] HOSTCC tools/mkenvimage.o [ 381s] HOSTCC tools/os_support.o [ 381s] WRAP tools/lib/crc32.c [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 381s] HOSTCC tools/aisimage.o [ 381s] HOSTCC tools/atmelimage.o [ 382s] WRAP tools/common/bootm.c [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 382s] HOSTCC tools/lib/crc32.o [ 383s] HOSTCC tools/default_image.o [ 383s] WRAP tools/lib/fdtdec_common.c [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 383s] WRAP tools/lib/fdtdec.c [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 383s] WRAP tools/common/image.c [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 383s] HOSTCC tools/imagetool.o [ 383s] HOSTCC tools/imximage.o [ 383s] HOSTCC tools/imx8image.o [ 383s] HOSTCC tools/imx8mimage.o [ 383s] HOSTCC tools/kwbimage.o [ 383s] WRAP tools/lib/md5.c [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/md5.c'. [ 383s] HOSTCC tools/lpc32xximage.o [ 383s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 383s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 383s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 383s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 383s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 383s] 251 | int zero = 0; [ 383s] | ^~~~ [ 383s] In file included from tools/imagetool.h:21, [ 383s] from tools/imx8mimage.c:9: [ 383s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 383s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 383s] | ^~~~~ [ 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] | ^~~~~ [ 384s] 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 [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/rc4.c'. [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/rc4.c'. [ 385s] HOSTCC tools/rkcommon.o [ 386s] HOSTCC tools/rkimage.o [ 386s] HOSTCC tools/rksd.o [ 386s] HOSTCC tools/rkspi.o [ 386s] HOSTCC tools/socfpgaimage.o [ 387s] WRAP tools/lib/crc16.c [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc16.c'. [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc16.c'. [ 387s] WRAP tools/lib/sha1.c [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha1.c'. [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha1.c'. [ 387s] WRAP tools/lib/sha256.c [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha256.c'. [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha256.c'. [ 387s] WRAP tools/common/hash.c [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/hash.c'. [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/hash.c'. [ 387s] HOSTCC tools/ublimage.o [ 387s] HOSTCC tools/zynqimage.o [ 387s] 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 [ 388s] HOSTCC tools/libfdt/fdt_rw.o [ 388s] HOSTCC tools/libfdt/fdt_strerror.o [ 388s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 388s] HOSTCC tools/libfdt/fdt_addresses.o [ 388s] HOSTCC tools/libfdt/fdt_overlay.o [ 389s] WRAP tools/lib/libfdt/fdt_ro.c [ 389s] /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'. [ 389s] /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'. [ 389s] WRAP tools/lib/libfdt/fdt_region.c [ 389s] /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'. [ 389s] /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'. [ 389s] HOSTCC tools/gpimage.o [ 389s] HOSTCC tools/gpimage-common.o [ 389s] HOSTCC tools/mtk_image.o [ 389s] HOSTCC tools/dumpimage.o [ 389s] HOSTCC tools/common/bootm.o [ 389s] HOSTCC tools/lib/fdtdec_common.o [ 390s] HOSTCC tools/lib/fdtdec.o [ 390s] HOSTCC tools/common/image.o [ 390s] HOSTCC tools/lib/md5.o [ 390s] 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 [ 391s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 391s] HOSTCC tools/lib/libfdt/fdt_region.o [ 391s] HOSTCC tools/mkimage.o [ 391s] HOSTCC tools/proftool [ 392s] HOSTCC tools/prelink-riscv [ 392s] HOSTCC tools/fdtgrep.o [ 392s] 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 [ 393s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 393s] HOSTCC tools/lib/crc8.o [ 393s] HOSTLD tools/mkenvimage [ 394s] HOSTLD tools/gen_ethaddr_crc [ 394s] HOSTLD tools/fdtgrep [ 395s] HOSTLD tools/dumpimage [ 395s] HOSTLD tools/mkimage [ 395s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 395s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 395s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 395s] ++ echo platform/kernel/u-boot-thead#7a92d09dbfbbb09327b4aea686fe71a7472fddca [ 395s] + make -j8 EXTRAVERSION=-g7a92d09db-TIZEN.org [ 414s] HOSTCC scripts/basic/fixdep [ 424s] HOSTCC scripts/kconfig/conf.o [ 431s] HOSTCC scripts/kconfig/zconf.tab.o [ 437s] HOSTLD scripts/kconfig/conf [ 437s] scripts/kconfig/conf --syncconfig Kconfig [ 440s] CHK include/config.h [ 441s] CFG u-boot.cfg [ 441s] GEN include/autoconf.mk.dep [ 441s] CFG spl/u-boot.cfg [ 441s] GEN include/autoconf.mk [ 441s] GEN spl/include/autoconf.mk [ 463s] CHK include/config/uboot.release [ 463s] CHK include/generated/timestamp_autogenerated.h [ 464s] UPD include/config/uboot.release [ 464s] HOSTCC scripts/dtc/dtc.o [ 464s] HOSTCC scripts/dtc/flattree.o [ 464s] HOSTCC scripts/dtc/data.o [ 464s] HOSTCC scripts/dtc/fstree.o [ 464s] HOSTCC scripts/dtc/livetree.o [ 464s] HOSTCC scripts/dtc/treesource.o [ 465s] HOSTCC scripts/dtc/srcpos.o [ 465s] HOSTCC scripts/dtc/checks.o [ 466s] HOSTCC scripts/dtc/util.o [ 466s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 466s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 466s] CHK include/generated/version_autogenerated.h [ 467s] UPD include/generated/version_autogenerated.h [ 467s] HOSTLD scripts/dtc/dtc [ 468s] UPD include/generated/timestamp_autogenerated.h [ 468s] CC lib/asm-offsets.s [ 468s] CC arch/riscv/lib/asm-offsets.s [ 468s] In file included from include/linux/bitops.h:136, [ 468s] from include/common.h:26, [ 468s] from lib/asm-offsets.c:14: [ 468s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 468s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 468s] 98 | out = __test_and_clear_bit(nr, addr); [ 468s] | ^~~~ [ 468s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 468s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 468s] | ~~~~~~^~~~ [ 468s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 468s] 95 | unsigned long flags = 0; [ 468s] | ^~~~~ [ 468s] In file included from include/linux/bitops.h:136, [ 468s] from include/common.h:26, [ 468s] from arch/riscv/lib/asm-offsets.c:11: [ 468s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 468s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 468s] 98 | out = __test_and_clear_bit(nr, addr); [ 468s] | ^~~~ [ 468s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 468s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 468s] | ~~~~~~^~~~ [ 468s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 468s] 95 | unsigned long flags = 0; [ 468s] | ^~~~~ [ 469s] CHK include/generated/asm-offsets.h [ 469s] CHK include/generated/generic-asm-offsets.h [ 471s] HOSTCC tools/bmp_logo [ 471s] HOSTCC tools/gen_eth_addr [ 471s] HOSTCC tools/gen_ethaddr_crc.o [ 471s] HOSTCC tools/lib/crc8.o [ 471s] HOSTCC tools/mkenvimage.o [ 471s] HOSTCC tools/os_support.o [ 471s] HOSTCC tools/img2srec [ 471s] LDS u-boot.lds [ 472s] HOSTCC tools/lib/crc32.o [ 472s] HOSTCC tools/aisimage.o [ 472s] HOSTCC tools/atmelimage.o [ 472s] HOSTCC tools/common/bootm.o [ 472s] HOSTCC tools/default_image.o [ 472s] HOSTCC tools/lib/fdtdec_common.o [ 472s] HOSTCC tools/lib/fdtdec.o [ 472s] HOSTCC tools/common/image.o [ 472s] In file included from tools/default_image.c:20: [ 472s] In function 'image_set_name', [ 472s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 472s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 472s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 472s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 473s] HOSTCC tools/imagetool.o [ 473s] HOSTCC tools/imximage.o [ 473s] HOSTCC tools/imx8image.o [ 473s] HOSTCC tools/imx8mimage.o [ 473s] HOSTCC tools/kwbimage.o [ 473s] HOSTCC tools/lib/md5.o [ 473s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 473s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 473s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 473s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 473s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 473s] 251 | int zero = 0; [ 473s] | ^~~~ [ 473s] In file included from tools/imagetool.h:21, [ 473s] from tools/imx8mimage.c:9: [ 473s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 473s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 473s] | ^~~~~ [ 473s] HOSTCC tools/lpc32xximage.o [ 473s] tools/imx8image.c: In function 'copy_file.constprop': [ 473s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 473s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 473s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 473s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 473s] 367 | int zero = 0; [ 473s] | ^~~~ [ 473s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 473s] from include/imx8image.h:13, [ 473s] from tools/imx8image.c:8: [ 473s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 473s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 473s] | ^~~~~ [ 473s] HOSTCC tools/mxsimage.o [ 474s] HOSTCC tools/omapimage.o [ 474s] HOSTCC tools/pblimage.o [ 474s] HOSTCC tools/pbl_crc32.o [ 474s] HOSTCC tools/vybridimage.o [ 475s] HOSTCC tools/stm32image.o [ 475s] HOSTCC tools/lib/rc4.o [ 475s] HOSTCC tools/rkcommon.o [ 475s] HOSTCC tools/rkimage.o [ 475s] HOSTCC tools/rksd.o [ 476s] HOSTCC tools/rkspi.o [ 476s] HOSTCC tools/socfpgaimage.o [ 476s] HOSTCC tools/lib/crc16.o [ 476s] HOSTCC tools/lib/sha1.o [ 476s] HOSTCC tools/lib/sha256.o [ 476s] HOSTCC tools/common/hash.o [ 476s] HOSTCC tools/ublimage.o [ 476s] HOSTCC tools/zynqimage.o [ 477s] HOSTCC tools/zynqmpimage.o [ 477s] HOSTCC tools/zynqmpbif.o [ 477s] HOSTCC tools/libfdt/fdt.o [ 477s] HOSTCC tools/libfdt/fdt_wip.o [ 477s] HOSTCC tools/libfdt/fdt_sw.o [ 477s] HOSTCC tools/libfdt/fdt_rw.o [ 477s] HOSTCC tools/libfdt/fdt_strerror.o [ 478s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 478s] HOSTCC tools/libfdt/fdt_addresses.o [ 478s] HOSTCC tools/libfdt/fdt_overlay.o [ 478s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 478s] HOSTCC tools/lib/libfdt/fdt_region.o [ 479s] HOSTCC tools/gpimage.o [ 479s] HOSTCC tools/gpimage-common.o [ 479s] HOSTCC tools/mtk_image.o [ 479s] HOSTCC tools/dumpimage.o [ 479s] HOSTCC tools/mkimage.o [ 479s] HOSTCC tools/proftool [ 480s] HOSTCC tools/prelink-riscv [ 480s] HOSTCC tools/fdtgrep.o [ 480s] HOSTCC tools/spl_size_limit [ 480s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 480s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 480s] HOSTLD tools/gen_ethaddr_crc [ 480s] HOSTLD tools/mkenvimage [ 481s] HOSTLD tools/dumpimage [ 481s] HOSTLD tools/mkimage [ 481s] HOSTLD tools/fdtgrep [ 482s] CC arch/riscv/cpu/c9xx/dram.o [ 482s] CC arch/riscv/cpu/c9xx/cpu.o [ 482s] CC arch/riscv/cpu/c9xx/feature.o [ 482s] CC arch/riscv/cpu/cpu.o [ 482s] AS arch/riscv/cpu/mtrap.o [ 482s] In file included from include/linux/bitops.h:136, [ 482s] from include/common.h:26, [ 482s] from arch/riscv/cpu/c9xx/dram.c:7: [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 482s] 98 | out = __test_and_clear_bit(nr, addr); [ 482s] | ^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 482s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 482s] | ~~~~~~^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 482s] 95 | unsigned long flags = 0; [ 482s] | ^~~~~ [ 482s] In file included from include/linux/bitops.h:136, [ 482s] from include/common.h:26, [ 482s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 482s] 98 | out = __test_and_clear_bit(nr, addr); [ 482s] | ^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 482s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 482s] | ~~~~~~^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 482s] 95 | unsigned long flags = 0; [ 482s] | ^~~~~ [ 482s] In file included from include/linux/bitops.h:136, [ 482s] from include/common.h:26, [ 482s] from arch/riscv/cpu/c9xx/feature.c:1: [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 482s] 98 | out = __test_and_clear_bit(nr, addr); [ 482s] | ^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 482s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 482s] | ~~~~~~^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 482s] 95 | unsigned long flags = 0; [ 482s] | ^~~~~ [ 482s] CC board/thead/common/board_common.o [ 482s] In file included from include/linux/bitops.h:136, [ 482s] from include/common.h:26, [ 482s] from arch/riscv/cpu/cpu.c:6: [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 482s] 98 | out = __test_and_clear_bit(nr, addr); [ 482s] | ^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 482s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 482s] | ~~~~~~^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 482s] 95 | unsigned long flags = 0; [ 482s] | ^~~~~ [ 482s] In file included from include/linux/bitops.h:136, [ 482s] from include/common.h:26, [ 482s] from board/thead/common/board_common.c:7: [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 482s] 98 | out = __test_and_clear_bit(nr, addr); [ 482s] | ^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 482s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 482s] | ~~~~~~^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 482s] 95 | unsigned long flags = 0; [ 482s] | ^~~~~ [ 482s] CC arch/riscv/lib/bootm.o [ 482s] CC board/thead/light-c910/light.o [ 482s] In file included from include/linux/bitops.h:136, [ 482s] from include/common.h:26, [ 482s] from board/thead/light-c910/light.c:7: [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 482s] 98 | out = __test_and_clear_bit(nr, addr); [ 482s] | ^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 482s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 482s] | ~~~~~~^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 482s] 95 | unsigned long flags = 0; [ 482s] | ^~~~~ [ 482s] In file included from include/linux/bitops.h:136, [ 482s] from include/common.h:26, [ 482s] from arch/riscv/lib/bootm.c:9: [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 482s] 98 | out = __test_and_clear_bit(nr, addr); [ 482s] | ^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 482s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 482s] | ~~~~~~^~~~ [ 482s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 482s] 95 | unsigned long flags = 0; [ 482s] | ^~~~~ [ 482s] arch/riscv/lib/bootm.c: At top level: [ 482s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 482s] 34 | extern void secondary_entry(); [ 482s] | ^~~~~~ [ 483s] CC board/thead/light-c910/board.o [ 483s] AS arch/riscv/cpu/start.o [ 483s] In file included from include/linux/bitops.h:136, [ 483s] from include/common.h:26, [ 483s] from board/thead/light-c910/board.c:7: [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 483s] 98 | out = __test_and_clear_bit(nr, addr); [ 483s] | ^~~~ [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 483s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 483s] | ~~~~~~^~~~ [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 483s] 95 | unsigned long flags = 0; [ 483s] | ^~~~~ [ 483s] CC arch/riscv/lib/image.o [ 483s] In file included from include/linux/bitops.h:136, [ 483s] from include/common.h:26, [ 483s] from arch/riscv/lib/image.c:9: [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 483s] 98 | out = __test_and_clear_bit(nr, addr); [ 483s] | ^~~~ [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 483s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 483s] | ~~~~~~^~~~ [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 483s] 95 | unsigned long flags = 0; [ 483s] | ^~~~~ [ 483s] LD arch/riscv/cpu/c9xx/built-in.o [ 483s] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 483s] board/thead/light-c910/board.c:156:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 483s] 156 | int sc_err = SC_FAIL; [ 483s] | ^~~~~~ [ 483s] LD board/thead/common/built-in.o [ 483s] CC arch/riscv/lib/boot.o [ 483s] In file included from include/linux/bitops.h:136, [ 483s] from include/common.h:26, [ 483s] from arch/riscv/lib/boot.c:7: [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 483s] 98 | out = __test_and_clear_bit(nr, addr); [ 483s] | ^~~~ [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 483s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 483s] | ~~~~~~^~~~ [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 483s] 95 | unsigned long flags = 0; [ 483s] | ^~~~~ [ 483s] CC board/thead/light-c910/clock_config.o [ 483s] In file included from include/linux/bitops.h:136, [ 483s] from include/common.h:26, [ 483s] from board/thead/light-c910/clock_config.c:7: [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 483s] 98 | out = __test_and_clear_bit(nr, addr); [ 483s] | ^~~~ [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 483s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 483s] | ~~~~~~^~~~ [ 483s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 483s] 95 | unsigned long flags = 0; [ 483s] | ^~~~~ [ 484s] CC board/thead/light-c910/sec_check.o [ 484s] LD arch/riscv/cpu/built-in.o [ 484s] In file included from include/linux/bitops.h:136, [ 484s] from include/common.h:26, [ 484s] from board/thead/light-c910/sec_check.c:7: [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 484s] 98 | out = __test_and_clear_bit(nr, addr); [ 484s] | ^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 484s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 484s] | ~~~~~~^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 484s] 95 | unsigned long flags = 0; [ 484s] | ^~~~~ [ 484s] CC board/thead/light-c910/boot.o [ 484s] CC disk/part.o [ 484s] LD cmd/riscv/built-in.o [ 484s] In file included from include/linux/bitops.h:136, [ 484s] from include/common.h:26, [ 484s] from board/thead/light-c910/boot.c:3: [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 484s] 98 | out = __test_and_clear_bit(nr, addr); [ 484s] | ^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 484s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 484s] | ~~~~~~^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 484s] 95 | unsigned long flags = 0; [ 484s] | ^~~~~ [ 484s] In file included from include/linux/bitops.h:136, [ 484s] from include/common.h:26, [ 484s] from disk/part.c:7: [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 484s] 98 | out = __test_and_clear_bit(nr, addr); [ 484s] | ^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 484s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 484s] | ~~~~~~^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 484s] 95 | unsigned long flags = 0; [ 484s] | ^~~~~ [ 484s] CC disk/part_efi.o [ 484s] CC common/init/board_init.o [ 484s] CC cmd/boot.o [ 484s] In file included from include/linux/bitops.h:136, [ 484s] from include/common.h:26, [ 484s] from cmd/boot.c:10: [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 484s] In file included from include/linux/bitops.h:136, [ 484s] from include/common.h:26, [ 484s] from common/init/board_init.c:9: [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 484s] 98 | out = __test_and_clear_bit(nr, addr); [ 484s] | ^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 484s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 484s] | ~~~~~~^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 484s] 95 | unsigned long flags = 0; [ 484s] | ^~~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 484s] 98 | out = __test_and_clear_bit(nr, addr); [ 484s] | ^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 484s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 484s] | ~~~~~~^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 484s] 95 | unsigned long flags = 0; [ 484s] | ^~~~~ [ 484s] In file included from include/linux/bitops.h:136, [ 484s] from include/common.h:26, [ 484s] from disk/part_efi.c:13: [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 484s] 98 | out = __test_and_clear_bit(nr, addr); [ 484s] | ^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 484s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 484s] | ~~~~~~^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 484s] 95 | unsigned long flags = 0; [ 484s] | ^~~~~ [ 484s] CC arch/riscv/lib/cache.o [ 484s] In file included from include/linux/bitops.h:136, [ 484s] from include/common.h:26, [ 484s] from arch/riscv/lib/cache.c:7: [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 484s] 98 | out = __test_and_clear_bit(nr, addr); [ 484s] | ^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 484s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 484s] | ~~~~~~^~~~ [ 484s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 484s] 95 | unsigned long flags = 0; [ 484s] | ^~~~~ [ 485s] CC cmd/bootm.o [ 485s] CC cmd/help.o [ 485s] CC board/thead/light-c910/sbmeta/sbmeta.o [ 485s] In file included from include/linux/bitops.h:136, [ 485s] from include/common.h:26, [ 485s] from cmd/bootm.c:10: [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 485s] 98 | out = __test_and_clear_bit(nr, addr); [ 485s] | ^~~~ [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 485s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 485s] | ~~~~~~^~~~ [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 485s] 95 | unsigned long flags = 0; [ 485s] | ^~~~~ [ 485s] In file included from include/linux/bitops.h:136, [ 485s] from include/common.h:26, [ 485s] from board/thead/light-c910/sbmeta/sbmeta.h:9, [ 485s] from board/thead/light-c910/sbmeta/sbmeta.c:6: [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 485s] 98 | out = __test_and_clear_bit(nr, addr); [ 485s] | ^~~~ [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 485s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 485s] | ~~~~~~^~~~ [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 485s] 95 | unsigned long flags = 0; [ 485s] | ^~~~~ [ 485s] In file included from include/linux/bitops.h:136, [ 485s] from include/common.h:26, [ 485s] from cmd/help.c:7: [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 485s] 98 | out = __test_and_clear_bit(nr, addr); [ 485s] | ^~~~ [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 485s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 485s] | ~~~~~~^~~~ [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 485s] 95 | unsigned long flags = 0; [ 485s] | ^~~~~ [ 485s] LD common/init/built-in.o [ 485s] CC common/main.o [ 485s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 485s] CC arch/riscv/lib/thead_ipi.o [ 485s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 485s] In file included from include/linux/bitops.h:136, [ 485s] from include/common.h:26, [ 485s] from common/main.c:9: [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 485s] 98 | out = __test_and_clear_bit(nr, addr); [ 485s] | ^~~~ [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 485s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 485s] | ~~~~~~^~~~ [ 485s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 485s] 95 | unsigned long flags = 0; [ 485s] | ^~~~~ [ 485s] LD disk/built-in.o [ 485s] CC board/thead/light-c910/light-sv/pll_io_test.o [ 486s] In file included from include/linux/bitops.h:136, [ 486s] from include/common.h:26, [ 486s] from board/thead/light-c910/light-sv/pll_io_test.c:6: [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 486s] 98 | out = __test_and_clear_bit(nr, addr); [ 486s] | ^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 486s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 486s] | ~~~~~~^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 486s] 95 | unsigned long flags = 0; [ 486s] | ^~~~~ [ 486s] CC board/thead/light-c910/light-sv/adc_test.o [ 486s] CC cmd/version.o [ 486s] CC board/thead/light-c910/version_rollback.o [ 486s] In file included from include/linux/bitops.h:136, [ 486s] from include/common.h:26, [ 486s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 486s] In file included from include/linux/bitops.h:136, [ 486s] from include/common.h:26, [ 486s] from cmd/version.c:7: [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 486s] 98 | out = __test_and_clear_bit(nr, addr); [ 486s] | ^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 486s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 486s] | ~~~~~~^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 486s] 95 | unsigned long flags = 0; [ 486s] | ^~~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 486s] 98 | out = __test_and_clear_bit(nr, addr); [ 486s] | ^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 486s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 486s] | ~~~~~~^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 486s] 95 | unsigned long flags = 0; [ 486s] | ^~~~~ [ 486s] In file included from include/linux/bitops.h:136, [ 486s] from include/common.h:26, [ 486s] from board/thead/light-c910/version_rollback.c:7: [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 486s] 98 | out = __test_and_clear_bit(nr, addr); [ 486s] | ^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 486s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 486s] | ~~~~~~^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 486s] 95 | unsigned long flags = 0; [ 486s] | ^~~~~ [ 486s] CC cmd/blk_common.o [ 486s] CC common/exports.o [ 486s] In file included from include/linux/bitops.h:136, [ 486s] from include/common.h:26, [ 486s] from cmd/blk_common.c:11: [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 486s] 98 | out = __test_and_clear_bit(nr, addr); [ 486s] | ^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 486s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 486s] | ~~~~~~^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 486s] 95 | unsigned long flags = 0; [ 486s] | ^~~~~ [ 486s] In file included from include/linux/bitops.h:136, [ 486s] from include/common.h:26, [ 486s] from common/exports.c:1: [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 486s] 98 | out = __test_and_clear_bit(nr, addr); [ 486s] | ^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 486s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 486s] | ~~~~~~^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 486s] 95 | unsigned long flags = 0; [ 486s] | ^~~~~ [ 486s] CC arch/riscv/lib/rdtime.o [ 486s] In file included from include/linux/bitops.h:136, [ 486s] from include/common.h:26, [ 486s] from arch/riscv/lib/rdtime.c:10: [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 486s] 98 | out = __test_and_clear_bit(nr, addr); [ 486s] | ^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 486s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 486s] | ~~~~~~^~~~ [ 486s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 486s] 95 | unsigned long flags = 0; [ 486s] | ^~~~~ [ 486s] CC arch/riscv/lib/interrupts.o [ 487s] In file included from include/linux/bitops.h:136, [ 487s] from include/common.h:26, [ 487s] from arch/riscv/lib/interrupts.c:10: [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 487s] 98 | out = __test_and_clear_bit(nr, addr); [ 487s] | ^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 487s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 487s] | ~~~~~~^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 487s] 95 | unsigned long flags = 0; [ 487s] | ^~~~~ [ 487s] CC cmd/source.o [ 487s] CC cmd/bdinfo.o [ 487s] CC arch/riscv/lib/reset.o [ 487s] In file included from include/linux/bitops.h:136, [ 487s] from include/common.h:26, [ 487s] from cmd/source.c:17: [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 487s] 98 | out = __test_and_clear_bit(nr, addr); [ 487s] | ^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 487s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 487s] | ~~~~~~^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 487s] 95 | unsigned long flags = 0; [ 487s] | ^~~~~ [ 487s] In file included from include/linux/bitops.h:136, [ 487s] from include/common.h:26, [ 487s] from cmd/bdinfo.c:10: [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 487s] 98 | out = __test_and_clear_bit(nr, addr); [ 487s] | ^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 487s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 487s] | ~~~~~~^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 487s] 95 | unsigned long flags = 0; [ 487s] | ^~~~~ [ 487s] In file included from include/linux/bitops.h:136, [ 487s] from include/common.h:26, [ 487s] from arch/riscv/lib/reset.c:6: [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 487s] 98 | out = __test_and_clear_bit(nr, addr); [ 487s] | ^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 487s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 487s] | ~~~~~~^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 487s] 95 | unsigned long flags = 0; [ 487s] | ^~~~~ [ 487s] LD board/thead/light-c910/built-in.o [ 487s] CC cmd/blkcache.o [ 487s] CC common/hash.o [ 487s] In file included from include/linux/bitops.h:136, [ 487s] from include/common.h:26, [ 487s] from cmd/blkcache.c:8: [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 487s] 98 | out = __test_and_clear_bit(nr, addr); [ 487s] | ^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 487s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 487s] | ~~~~~~^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 487s] 95 | unsigned long flags = 0; [ 487s] | ^~~~~ [ 487s] In file included from include/linux/bitops.h:136, [ 487s] from include/common.h:26, [ 487s] from common/hash.c:13: [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 487s] 98 | out = __test_and_clear_bit(nr, addr); [ 487s] | ^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 487s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 487s] | ~~~~~~^~~~ [ 487s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 487s] 95 | unsigned long flags = 0; [ 487s] | ^~~~~ [ 487s] AS arch/riscv/lib/setjmp.o [ 488s] CC arch/riscv/lib/smp.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from arch/riscv/lib/smp.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 common/cli_hush.o [ 488s] CC cmd/bmp.o [ 488s] CC arch/riscv/lib/locks.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from cmd/bmp.c:11: [ 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 common/cli_hush.c:78: [ 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] LD drivers/adc/built-in.o [ 488s] LD drivers/ata/built-in.o [ 488s] CC common/autoboot.o [ 488s] LD drivers/axi/built-in.o [ 488s] CC drivers/block/blk-uclass.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from common/autoboot.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] LD drivers/board/built-in.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from drivers/block/blk-uclass.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 drivers/block/blkcache.o [ 488s] CC common/board_f.o [ 488s] In file included from include/linux/bitops.h:136, [ 488s] from include/common.h:26, [ 488s] from drivers/block/blkcache.c:8: [ 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 common/board_f.c:12: [ 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 common/board_r.o [ 489s] In file included from include/linux/bitops.h:136, [ 489s] from include/common.h:26, [ 489s] from common/board_r.c:12: [ 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 arch/riscv/lib/built-in.o [ 489s] CC common/board_info.o [ 489s] CC cmd/booti.o [ 489s] In file included from include/linux/bitops.h:136, [ 489s] from include/common.h:26, [ 489s] from common/board_info.c:3: [ 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 cmd/booti.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 drivers/dma/ti/built-in.o [ 489s] LD drivers/dma/built-in.o [ 489s] LD drivers/cache/built-in.o [ 489s] CC common/bootm.o [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from common/bootm.c:8: [ 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] LD drivers/clk/analogbits/built-in.o [ 490s] LD drivers/clk/imx/built-in.o [ 490s] CC drivers/cpu/cpu-uclass.o [ 490s] LD drivers/block/built-in.o [ 490s] CC drivers/cpu/riscv_cpu.o [ 490s] LD drivers/clk/tegra/built-in.o [ 490s] CC drivers/clk/clk-uclass.o [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from drivers/cpu/cpu-uclass.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] CC drivers/core/device.o [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from drivers/cpu/riscv_cpu.c:6: [ 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 drivers/clk/clk_fixed_rate.o [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from drivers/clk/clk-uclass.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 drivers/clk/clk_fixed_rate.c:6: [ 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 drivers/core/device.c:11: [ 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/console.o [ 490s] CC drivers/crypto/fsl/sec.o [ 490s] In file included from include/linux/bitops.h:136, [ 490s] from include/common.h:26, [ 490s] from cmd/console.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 drivers/crypto/fsl/sec.c:6: [ 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] | ^~~~~ [ 491s] CC common/bootm_os.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from common/bootm_os.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 drivers/clk/clk_fixed_factor.o [ 491s] LD drivers/dfu/built-in.o [ 491s] LD drivers/cpu/built-in.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from drivers/clk/clk_fixed_factor.c:8: [ 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/cpu.o [ 491s] LD drivers/crypto/fsl/built-in.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from cmd/cpu.c:8: [ 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] LD drivers/crypto/rsa_mod_exp/built-in.o [ 491s] LD drivers/crypto/built-in.o [ 491s] CC cmd/dm.o [ 491s] CC drivers/fastboot/fb_common.o [ 491s] CC drivers/core/fdtaddr.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from cmd/dm.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] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from drivers/fastboot/fb_common.c:13: [ 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 drivers/input/key_matrix.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from drivers/core/fdtaddr.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] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from drivers/input/key_matrix.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 drivers/core/lists.o [ 491s] In file included from include/linux/bitops.h:136, [ 491s] from include/common.h:26, [ 491s] from drivers/core/lists.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] | ^~~~~ [ 492s] CC cmd/echo.o [ 492s] LD drivers/clk/built-in.o [ 492s] CC common/fdt_support.o [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from cmd/echo.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] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from common/fdt_support.c:9: [ 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/mailbox/built-in.o [ 492s] CC drivers/fastboot/fb_getvar.o [ 492s] LD drivers/memory/built-in.o [ 492s] CC cmd/elf.o [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from drivers/fastboot/fb_getvar.c:6: [ 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/elf.c:16: [ 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] LD drivers/misc/built-in.o [ 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] CC common/miiphyutil.o [ 492s] LD drivers/input/built-in.o [ 492s] CC common/usb.o [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from common/miiphyutil.c:12: [ 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 common/usb.c:28: [ 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] CC drivers/mmc/mmc.o [ 492s] CC drivers/core/root.o [ 492s] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from drivers/mmc/mmc.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] In file included from include/linux/bitops.h:136, [ 492s] from include/common.h:26, [ 492s] from drivers/core/root.c:9: [ 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] | ^~~~~ [ 493s] CC cmd/exit.o [ 493s] CC drivers/gpio/dwapb_gpio.o [ 493s] CC drivers/fastboot/fb_command.o [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from cmd/exit.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 drivers/fastboot/fb_command.c:6: [ 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 drivers/gpio/dwapb_gpio.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 drivers/mmc/mmc-uclass.o [ 493s] In file included from include/linux/bitops.h:136, [ 493s] from include/common.h:26, [ 493s] from drivers/mmc/mmc-uclass.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] | ^~~~~ [ 494s] CC drivers/core/uclass.o [ 494s] CC drivers/fastboot/fb_mmc.o [ 494s] CC common/usb_hub.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from drivers/core/uclass.c:11: [ 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] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from common/usb_hub.c:24: [ 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] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from drivers/fastboot/fb_mmc.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] CC cmd/ext4.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from cmd/ext4.c:28: [ 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 drivers/mmc/mmc_write.o [ 494s] CC cmd/ext2.o [ 494s] CC common/iomux.o [ 494s] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from drivers/mmc/mmc_write.c:10: [ 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] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from include/fs.h:8, [ 494s] from cmd/ext2.c:22: [ 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] In file included from include/linux/bitops.h:136, [ 494s] from include/common.h:26, [ 494s] from common/iomux.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] | ^~~~~ [ 495s] CC drivers/gpio/gpio-uclass.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from drivers/gpio/gpio-uclass.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/core/util.o [ 495s] LD drivers/fastboot/built-in.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from drivers/core/util.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/mmc/mmc_boot.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from drivers/mmc/mmc_boot.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] | ^~~~~ [ 495s] CC drivers/core/device-remove.o [ 495s] CC drivers/gpio/pca953x_gpio.o [ 495s] CC cmd/fat.o [ 495s] In file included from include/linux/bitops.h:136, [ 495s] from include/common.h:26, [ 495s] from drivers/core/device-remove.c:11: [ 495s] /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/gpio/pca953x_gpio.c:22: [ 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 cmd/fat.c:10: [ 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 common/splash.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from common/splash.c:23: [ 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/mmc/dw_mmc.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from drivers/mmc/dw_mmc.c:9: [ 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 common/menu.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from common/menu.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 common/cli_readline.o [ 496s] CC drivers/mmc/snps_dw_mmc.o [ 496s] In file included from include/linux/bitops.h:136, [ 496s] from include/common.h:26, [ 496s] from common/cli_readline.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/mmc/snps_dw_mmc.c:10: [ 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] LD drivers/gpio/built-in.o [ 497s] CC drivers/core/simple-bus.o [ 497s] CC cmd/fdt.o [ 497s] CC cmd/flash.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/core/simple-bus.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] | ^~~~~ [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from cmd/flash.c:10: [ 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 cmd/fdt.c:10: [ 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/dump.o [ 497s] CC drivers/mmc/rpmb.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/core/dump.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] | ^~~~~ [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/mmc/rpmb.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 common/cli_simple.o [ 497s] CC drivers/mmc/sdhci.o [ 497s] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from common/cli_simple.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] In file included from include/linux/bitops.h:136, [ 497s] from include/common.h:26, [ 497s] from drivers/mmc/sdhci.c:10: [ 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 drivers/i2c/i2c-uclass.o [ 498s] CC drivers/i2c/designware_i2c.o [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from drivers/i2c/i2c-uclass.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] | ^~~~~ [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from drivers/i2c/designware_i2c.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 cmd/fs.o [ 498s] CC drivers/core/regmap.o [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from cmd/fs.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] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from drivers/core/regmap.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/mtd/nand/spi/core.o [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from drivers/mtd/nand/spi/core.c:23: [ 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/syscon-uclass.o [ 498s] In file included from include/linux/bitops.h:136, [ 498s] from include/common.h:26, [ 498s] from drivers/core/syscon-uclass.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] | ^~~~~ [ 499s] CC common/bouncebuf.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from common/bouncebuf.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] LD drivers/i2c/built-in.o [ 499s] CC drivers/phy/phy-uclass.o [ 499s] CC drivers/mmc/snps_sdhci.o [ 499s] CC drivers/core/of_extra.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from drivers/phy/phy-uclass.c:7: [ 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/core/of_extra.c:7: [ 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/mmc/snps_sdhci.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] CC cmd/i2c.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from cmd/i2c.c:67: [ 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/mtd/nand/core.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from drivers/mtd/nand/core.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] LD drivers/mtd/onenand/built-in.o [ 499s] CC drivers/core/ofnode.o [ 499s] In file included from include/linux/bitops.h:136, [ 499s] from include/common.h:26, [ 499s] from drivers/core/ofnode.c:7: [ 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] | ^~~~~ [ 500s] CC common/console.o [ 500s] CC drivers/mtd/nand/spi/gigadevice.o [ 500s] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from common/console.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] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from include/linux/mtd/spinand.h:20, [ 500s] from drivers/mtd/nand/spi/gigadevice.c:13: [ 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/phy/built-in.o [ 500s] CC drivers/mtd/spi/sf-uclass.o [ 500s] CC drivers/mtd/mtdcore.o [ 500s] LD drivers/mmc/built-in.o [ 500s] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from drivers/mtd/spi/sf-uclass.c:6: [ 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] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from include/ubi_uboot.h:17, [ 500s] from drivers/mtd/mtdcore.c:30: [ 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/mtd/spi/sf_probe.o [ 500s] CC cmd/itest.o [ 500s] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from drivers/mtd/spi/sf_probe.c:10: [ 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] In file included from include/linux/bitops.h:136, [ 500s] from include/common.h:26, [ 500s] from cmd/itest.c:14: [ 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] | ^~~~~ [ 501s] CC drivers/mtd/spi/spi-nor-ids.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from drivers/mtd/spi/spi-nor-ids.c:9: [ 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 drivers/core/read_extra.o [ 501s] CC drivers/mtd/nand/spi/macronix.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from include/linux/mtd/spinand.h:20, [ 501s] from drivers/mtd/nand/spi/macronix.c:12: [ 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/read_extra.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 common/dlmalloc.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from common/dlmalloc.c:1: [ 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 drivers/mtd/nand/spi/micron.o [ 501s] In file included from include/linux/bitops.h:136, [ 501s] from include/common.h:26, [ 501s] from include/linux/mtd/spinand.h:20, [ 501s] from drivers/mtd/nand/spi/micron.c:13: [ 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] | ^~~~~ [ 502s] CC drivers/mtd/nand/bbt.o [ 502s] CC cmd/load.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from drivers/mtd/nand/bbt.c:12: [ 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/mtd/spi/spi-nor-core.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from cmd/load.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] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from drivers/mtd/spi/spi-nor-core.c:12: [ 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/phy/allwinner/built-in.o [ 502s] CC drivers/mtd/mtd_uboot.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from drivers/mtd/mtd_uboot.c:6: [ 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/core/built-in.o [ 502s] CC cmd/mem.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] LD drivers/phy/marvell/built-in.o [ 502s] CC drivers/mtd/nand/spi/winbond.o [ 502s] CC cmd/mii.o [ 502s] In file included from include/linux/bitops.h:136, [ 502s] from include/common.h:26, [ 502s] from include/linux/mtd/spinand.h:20, [ 502s] from drivers/mtd/nand/spi/winbond.c:14: [ 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 cmd/mii.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/malloc_simple.o [ 503s] LD drivers/pwm/built-in.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from common/malloc_simple.c:10: [ 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 cmd/mdio.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from cmd/mdio.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 cmd/misc.o [ 503s] CC cmd/mmc.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from cmd/misc.c:10: [ 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/mmc.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] LD drivers/mtd/spi/spi-nor.o [ 503s] LD drivers/mtd/spi/built-in.o [ 503s] CC drivers/mtd/mtd-uclass.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from drivers/mtd/mtd-uclass.c:6: [ 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] LD drivers/mtd/nand/spi/spinand.o [ 503s] CC drivers/mtd/mtdpart.o [ 503s] LD drivers/mtd/nand/spi/built-in.o [ 503s] In file included from include/linux/bitops.h:136, [ 503s] from include/common.h:26, [ 503s] from drivers/mtd/mtdpart.c:20: [ 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] | ^~~~~ [ 504s] LD drivers/mtd/nand/nandcore.o [ 504s] LD drivers/mtd/nand/built-in.o [ 504s] CC cmd/mtd.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from cmd/mtd.c:12: [ 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.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] LD drivers/reset/built-in.o [ 504s] CC common/image-fdt.o [ 504s] CC drivers/rtc/rtc-lib.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] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from drivers/rtc/rtc-lib.c:13: [ 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/memsize.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from common/memsize.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] | ^~~~~ [ 504s] CC common/stdio.o [ 504s] In file included from include/linux/bitops.h:136, [ 504s] from include/common.h:26, [ 504s] from common/stdio.c:12: [ 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] CC cmd/legacy-mtd-utils.o [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from cmd/legacy-mtd-utils.c:3: [ 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/rtc/built-in.o [ 505s] LD drivers/scsi/built-in.o [ 505s] LD drivers/mtd/mtd.o [ 505s] CC cmd/net.o [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from cmd/net.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] LD drivers/mtd/built-in.o [ 505s] CC common/cli.o [ 505s] LD drivers/net/mscc_eswitch/built-in.o [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from common/cli.c:11: [ 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 common/command.o [ 505s] LD drivers/net/ti/built-in.o [ 505s] LD drivers/smem/built-in.o [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from common/command.c:11: [ 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/net/designware.o [ 505s] CC drivers/net/phy/phy.o [ 505s] LD drivers/soc/built-in.o [ 505s] common/command.c: At top level: [ 505s] 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] [ 505s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 505s] | ^~~~~~~~~~~ [ 505s] In file included from include/image.h:45, [ 505s] from include/common.h:40: [ 505s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 505s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 505s] | ^~~~~~~~~~~ [ 505s] In file included from include/linux/bitops.h:136, [ 505s] from include/common.h:26, [ 505s] from drivers/net/designware.c:11: [ 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/net/phy/phy.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] LD drivers/sound/built-in.o [ 506s] LD drivers/spmi/built-in.o [ 506s] CC drivers/net/phy/marvell.o [ 506s] CC drivers/net/phy/realtek.o [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from drivers/net/phy/marvell.c:8: [ 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/net/phy/realtek.c:9: [ 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/thermal/built-in.o [ 506s] CC drivers/timer/timer-uclass.o [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from drivers/timer/timer-uclass.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] CC cmd/part.o [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from cmd/part.c:18: [ 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/timer/riscv_timer.o [ 506s] In file included from include/linux/bitops.h:136, [ 506s] from include/common.h:26, [ 506s] from drivers/timer/riscv_timer.c:14: [ 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 common/s_record.o [ 507s] LD drivers/net/built-in.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from common/s_record.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 common/xyzModem.o [ 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/net/phy/mscc.o [ 507s] LD drivers/power/built-in.o [ 507s] LD drivers/ufs/built-in.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from include/miiphy.h:17, [ 507s] from drivers/net/phy/mscc.c:12: [ 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] LD drivers/power/battery/built-in.o [ 507s] LD drivers/watchdog/built-in.o [ 507s] CC cmd/pxe.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from cmd/pxe.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] LD drivers/power/domain/built-in.o [ 507s] CC cmd/pxe_utils.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from cmd/pxe_utils.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/video/bridge/video-bridge-uclass.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from drivers/video/bridge/video-bridge-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] LD drivers/power/fuel_gauge/built-in.o [ 507s] LD drivers/timer/built-in.o [ 507s] LD drivers/power/mfd/built-in.o [ 507s] CC drivers/video/light/vs_dpu.o [ 507s] LD drivers/video/sunxi/built-in.o [ 507s] In file included from include/linux/bitops.h:136, [ 507s] from include/common.h:26, [ 507s] from drivers/video/light/vs_dpu.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/video/console_normal.o [ 508s] LD drivers/power/pmic/built-in.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from drivers/video/console_normal.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] CC cmd/sf.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from cmd/sf.c:8: [ 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] LD common/built-in.o [ 508s] CC drivers/video/backlight-uclass.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from drivers/video/backlight-uclass.c:7: [ 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/video/dsi-host-uclass.o [ 508s] LD drivers/net/phy/built-in.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from drivers/video/dsi-host-uclass.c:8: [ 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] LD drivers/video/bridge/built-in.o [ 508s] CC drivers/video/panel-uclass.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from drivers/video/panel-uclass.c:7: [ 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] LD drivers/power/regulator/built-in.o [ 508s] CC drivers/video/simple_panel.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from drivers/video/simple_panel.c:7: [ 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/video/light/dw_dsi_light.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from drivers/video/light/dw_dsi_light.c:3: [ 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/video/video-uclass.o [ 508s] CC drivers/video/vidconsole-uclass.o [ 508s] In file included from include/linux/bitops.h:136, [ 508s] from include/common.h:26, [ 508s] from drivers/video/video-uclass.c:6: [ 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] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/video/vidconsole-uclass.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] CC cmd/setexpr.o [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from cmd/setexpr.c:11: [ 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] CC cmd/spi.o [ 509s] CC drivers/video/video_bmp.o [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/video/video_bmp.c:6: [ 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/spi.c:11: [ 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] CC drivers/video/ilitek-ili9881c.o [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/video/ilitek-ili9881c.c:3: [ 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] CC drivers/video/light/dw_dsi_host.o [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/video/light/dw_dsi_host.c:3: [ 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] CC drivers/video/light/phy-dw-dphy.o [ 509s] CC cmd/sysboot.o [ 509s] In file included from include/linux/bitops.h:136, [ 509s] from include/common.h:26, [ 509s] from drivers/video/light/phy-dw-dphy.c:3: [ 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/sysboot.c:3: [ 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] | ^~~~~ [ 510s] CC drivers/video/mipi_dsi.o [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from drivers/video/mipi_dsi.c:35: [ 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 cmd/test.o [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from cmd/test.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] | ^~~~~ [ 510s] CC cmd/unzip.o [ 510s] CC drivers/serial/serial-uclass.o [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from drivers/serial/serial-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] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from cmd/unzip.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] | ^~~~~ [ 510s] CC drivers/serial/ns16550.o [ 510s] In file included from include/linux/bitops.h:136, [ 510s] from include/common.h:26, [ 510s] from drivers/serial/ns16550.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 cmd/lzmadec.o [ 511s] CC drivers/spi/spi-uclass.o [ 511s] LD drivers/video/light/built-in.o [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from cmd/lzmadec.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] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from drivers/spi/spi-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] CC drivers/spi/spi-mem.o [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from include/spi.h:12, [ 511s] from drivers/spi/spi-mem.c:14: [ 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/video/built-in.o [ 511s] CC cmd/fastboot.o [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from cmd/fastboot.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] LD drivers/built-in.o [ 511s] CC cmd/usb_mass_storage.o [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from cmd/usb_mass_storage.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] CC drivers/spi/designware_spi.o [ 511s] LD drivers/serial/built-in.o [ 511s] In file included from include/linux/bitops.h:136, [ 511s] from include/common.h:26, [ 511s] from drivers/spi/designware_spi.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] CC cmd/ximg.o [ 512s] CC cmd/gpt.o [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from cmd/ximg.c:14: [ 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 cmd/gpt.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] CC cmd/ddrscan.o [ 512s] CC cmd/nvedit.o [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from cmd/ddrscan.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] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from cmd/nvedit.c:26: [ 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/spi/designware_qspi.o [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from drivers/spi/designware_qspi.c:12: [ 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/usb/cdns3/built-in.o [ 512s] LD drivers/usb/common/built-in.o [ 512s] CC drivers/usb/dwc3/core.o [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from drivers/usb/dwc3/core.c:16: [ 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/usb/dwc3/gadget.o [ 512s] In file included from include/linux/bitops.h:136, [ 512s] from include/common.h:26, [ 512s] from drivers/usb/dwc3/gadget.c:16: [ 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] | ^~~~~ [ 513s] CC drivers/usb/dwc3/ep0.o [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from drivers/usb/dwc3/ep0.c:15: [ 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/usb/emul/built-in.o [ 513s] LD drivers/usb/eth/built-in.o [ 513s] LD drivers/usb/host/built-in.o [ 513s] CC drivers/usb/gadget/udc/udc-core.o [ 513s] CC drivers/usb/gadget/epautoconf.o [ 513s] LD drivers/spi/built-in.o [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from drivers/usb/gadget/epautoconf.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] CC drivers/usb/gadget/config.o [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 513s] from drivers/usb/gadget/udc/udc-core.c:19: [ 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] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from drivers/usb/gadget/config.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] LD cmd/built-in.o [ 513s] CC drivers/usb/gadget/usbstring.o [ 513s] In file included from include/linux/bitops.h:136, [ 513s] from include/common.h:26, [ 513s] from drivers/usb/gadget/usbstring.c:9: [ 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 drivers/usb/gadget/g_dnl.o [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from drivers/usb/gadget/g_dnl.c:9: [ 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/usb/gadget/udc/udc-uclass.o [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from drivers/usb/gadget/udc/udc-uclass.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/usb/dwc3/dwc3.o [ 514s] LD drivers/usb/dwc3/built-in.o [ 514s] LD drivers/usb/musb/built-in.o [ 514s] CC drivers/usb/gadget/f_fastboot.o [ 514s] CC drivers/usb/gadget/f_mass_storage.o [ 514s] LD drivers/usb/phy/built-in.o [ 514s] LD drivers/usb/musb-new/built-in.o [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from drivers/usb/gadget/f_mass_storage.c:245: [ 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/usb/ulpi/built-in.o [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from drivers/usb/gadget/f_fastboot.c:14: [ 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] DTC arch/riscv/dts/light-a-ref.dtb [ 514s] CC env/common.o [ 514s] CC env/env.o [ 514s] In file included from include/linux/bitops.h:136, [ 514s] from include/common.h:26, [ 514s] from env/common.c:10: [ 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 env/env.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] CC fs/ext4/ext4fs.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from fs/ext4/ext4fs.c:23: [ 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/gadget/udc/built-in.o [ 515s] CC fs/fat/fat_write.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from fs/fat/fat_write.c:8: [ 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 fs/fs.o [ 515s] CC env/attr.o [ 515s] CC fs/fs_internal.o [ 515s] In file included from include/linux/bitops.h:136, [ 515s] from include/common.h:26, [ 515s] from fs/fs.c:8: [ 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 fs/fs_internal.c:8: [ 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 env/attr.c:12: [ 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 fs/ext4/ext4_common.o [ 516s] In file included from include/linux/bitops.h:136, [ 516s] from include/common.h:26, [ 516s] from fs/ext4/ext4_common.c:21: [ 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/usb/gadget/built-in.o [ 516s] LD lib/crypto/built-in.o [ 516s] DTC arch/riscv/dts/light-b-ref.dtb [ 516s] DTC arch/riscv/dts/light-a-val.dtb [ 516s] CC lib/libfdt/fdt.o [ 516s] CC env/callback.o [ 517s] CC env/flags.o [ 517s] In file included from include/linux/bitops.h:136, [ 517s] from include/common.h:26, [ 517s] from env/callback.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] In file included from include/linux/bitops.h:136, [ 517s] from include/common.h:26, [ 517s] from env/flags.c:21: [ 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 env/fat.o [ 517s] In file included from include/linux/bitops.h:136, [ 517s] from include/common.h:26, [ 517s] from env/fat.c:9: [ 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 lib/libfdt/fdt_wip.o [ 517s] LD fs/fat/built-in.o [ 517s] CC lib/libfdt/fdt_strerror.o [ 518s] CC fs/ext4/dev.o [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from fs/ext4/dev.c:25: [ 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 fs/ext4/ext4_write.o [ 518s] CC net/checksum.o [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from fs/ext4/ext4_write.c:24: [ 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] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from net/checksum.c:10: [ 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] LD env/built-in.o [ 518s] CC lib/libfdt/fdt_sw.o [ 518s] DTC arch/riscv/dts/light-b-product.dtb [ 518s] CC lib/libfdt/fdt_rw.o [ 518s] CC lib/libfdt/fdt_empty_tree.o [ 518s] CC fs/ext4/ext4_journal.o [ 518s] In file included from include/linux/bitops.h:136, [ 518s] from include/common.h:26, [ 518s] from fs/ext4/ext4_journal.c:16: [ 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 lib/libfdt/fdt_addresses.o [ 519s] CC net/arp.o [ 519s] In file included from include/linux/bitops.h:136, [ 519s] from include/common.h:26, [ 519s] from net/arp.c:12: [ 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 fs/ext4/crc16.o [ 519s] CC lib/libfdt/fdt_ro.o [ 519s] In file included from include/linux/bitops.h:136, [ 519s] from include/common.h:26, [ 519s] from fs/ext4/crc16.c:8: [ 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 lib/libfdt/fdt_region.o [ 519s] CC net/bootp.o [ 519s] In file included from include/linux/bitops.h:136, [ 519s] from include/common.h:26, [ 519s] from net/bootp.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] | ^~~~~ [ 520s] CC net/eth-uclass.o [ 520s] In file included from include/linux/bitops.h:136, [ 520s] from include/common.h:26, [ 520s] from net/eth-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] CC net/eth_common.o [ 520s] In file included from include/linux/bitops.h:136, [ 520s] from include/common.h:26, [ 520s] from net/eth_common.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] DTC arch/riscv/dts/light-a-product.dtb [ 520s] DTC arch/riscv/dts/light-ant-ref.dtb [ 520s] LD fs/ext4/built-in.o [ 520s] LD fs/built-in.o [ 520s] DTC arch/riscv/dts/light-beagle.dtb [ 520s] CC net/net.o [ 520s] In file included from include/linux/bitops.h:136, [ 520s] from include/common.h:26, [ 520s] from net/net.c:90: [ 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 lib/libfdt/built-in.o [ 521s] CC lib/lzma/LzmaDec.o [ 521s] CC lib/zlib/zlib.o [ 521s] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from lib/lzma/LzmaDec.c:5: [ 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] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from lib/zlib/zlib.c:15: [ 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 lib/lzma/LzmaTools.o [ 521s] In file included from include/linux/bitops.h:136, [ 521s] from include/common.h:26, [ 521s] from lib/lzma/LzmaTools.c:21: [ 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] DTC arch/riscv/dts/light-b-power.dtb [ 521s] DTC arch/riscv/dts/light-lpi4a.dtb [ 522s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 522s] CC net/nfs.o [ 522s] CC net/ping.o [ 522s] In file included from include/linux/bitops.h:136, [ 522s] from include/common.h:26, [ 522s] from net/ping.h:15, [ 522s] from net/ping.c:12: [ 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 net/nfs.c:29: [ 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] CC net/tftp.o [ 522s] In file included from include/linux/bitops.h:136, [ 522s] from include/common.h:26, [ 522s] from net/tftp.c:9: [ 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] LD lib/lzma/built-in.o [ 522s] CC net/fastboot.o [ 522s] In file included from include/linux/bitops.h:136, [ 522s] from include/common.h:26, [ 522s] from net/fastboot.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] LD lib/zlib/built-in.o [ 522s] CC lib/crc7.o [ 523s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 523s] CC lib/crc8.o [ 523s] In file included from include/linux/bitops.h:136, [ 523s] from include/common.h:26, [ 523s] from lib/crc8.c:9: [ 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 lib/crc16.o [ 523s] CC lib/image-sparse.o [ 523s] In file included from include/linux/bitops.h:136, [ 523s] from include/common.h:26, [ 523s] from lib/crc16.c:28: [ 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 lib/ldiv.o [ 523s] In file included from include/linux/bitops.h:136, [ 523s] from include/common.h:26, [ 523s] from lib/image-sparse.c:38: [ 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] LD net/built-in.o [ 523s] CC lib/net_utils.o [ 523s] CC lib/rc4.o [ 523s] In file included from include/linux/bitops.h:136, [ 523s] from include/common.h:26, [ 523s] from lib/net_utils.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] In file included from include/linux/bitops.h:136, [ 523s] from include/common.h:26, [ 523s] from lib/rc4.c:11: [ 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 lib/sha256.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from lib/sha256.c:9: [ 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/list_sort.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from lib/list_sort.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 lib/gunzip.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from lib/gunzip.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 lib/fdtdec_common.o [ 524s] CC lib/fdtdec.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from lib/fdtdec_common.c:11: [ 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 lib/fdtdec.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 lib/qsort.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from lib/qsort.c:19: [ 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/hashtable.o [ 524s] In file included from include/linux/bitops.h:136, [ 524s] from include/common.h:26, [ 524s] from lib/hashtable.c:32: [ 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] SHIPPED dts/dt.dtb [ 525s] DTB dts/dt.dtb.S [ 525s] AS dts/dt.dtb.o [ 525s] CC lib/errno.o [ 525s] CC lib/display_options.o [ 525s] In file included from include/linux/bitops.h:136, [ 525s] from include/common.h:26, [ 525s] from lib/display_options.c:7: [ 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/crc32.o [ 525s] In file included from include/linux/bitops.h:136, [ 525s] from include/common.h:26, [ 525s] from lib/crc32.c:15: [ 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/ctype.o [ 525s] LD dts/built-in.o [ 525s] CC lib/div64.o [ 525s] CC lib/hang.o [ 525s] In file included from include/linux/bitops.h:136, [ 525s] from include/linux/math64.h:5, [ 525s] from lib/div64.c:22: [ 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] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from lib/hang.c:10: [ 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/linux_compat.o [ 526s] CC lib/linux_string.o [ 526s] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from lib/linux_compat.c:2: [ 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/lmb.o [ 526s] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from lib/lmb.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/membuff.o [ 526s] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from lib/membuff.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/slre.o [ 526s] CC lib/string.o [ 526s] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from lib/slre.c:23: [ 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/tables_csum.o [ 526s] CC lib/time.o [ 526s] In file included from include/linux/bitops.h:136, [ 526s] from include/common.h:26, [ 526s] from lib/time.c:7: [ 526s] /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/hexdump.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/tables_csum.c:6: [ 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] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/hexdump.c:11: [ 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/uuid.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/uuid.c:6: [ 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/rand.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/rand.c:10: [ 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/panic.o [ 527s] CC lib/vsprintf.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/panic.c:12: [ 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] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/vsprintf.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/strto.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/strto.c:12: [ 527s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 527s] CC lib/abuf.o [ 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/date.o [ 527s] In file included from include/linux/bitops.h:136, [ 527s] from include/common.h:26, [ 527s] from lib/abuf.c:10: [ 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] | ^~~~~ [ 528s] In file included from include/linux/bitops.h:136, [ 528s] from include/common.h:26, [ 528s] from lib/date.c:7: [ 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] LD lib/built-in.o [ 529s] CC examples/standalone/hello_world.o [ 529s] CC examples/standalone/stubs.o [ 529s] In file included from include/linux/bitops.h:136, [ 529s] from include/common.h:26, [ 529s] from examples/standalone/hello_world.c:7: [ 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] In file included from include/linux/bitops.h:136, [ 529s] from include/common.h:26, [ 529s] from examples/standalone/stubs.c:1: [ 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 examples/standalone/libstubs.o [ 530s] LD examples/standalone/hello_world [ 530s] OBJCOPY examples/standalone/hello_world.srec [ 530s] OBJCOPY examples/standalone/hello_world.bin [ 531s] LD u-boot [ 532s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 533s] OBJCOPY u-boot.srec [ 533s] OBJCOPY u-boot-nodtb.bin [ 533s] FDTGREP dts/dt-spl.dtb [ 533s] SYM u-boot.sym [ 535s] COPY u-boot.bin [ 536s] CC spl/arch/riscv/cpu/cpu.o [ 536s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 536s] CC spl/board/thead/common/board_common.o [ 536s] CC spl/common/init/board_init.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from arch/riscv/cpu/c9xx/dram.c:7: [ 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] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from common/init/board_init.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 spl/common/spl/spl.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from arch/riscv/cpu/cpu.c:6: [ 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] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from board/thead/common/board_common.c:7: [ 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] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from common/spl/spl.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] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 536s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 536s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 536s] | ^ [ 536s] CC spl/arch/riscv/lib/bootm.o [ 536s] CC spl/board/thead/light-c910/spl.o [ 536s] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from arch/riscv/lib/bootm.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] In file included from include/linux/bitops.h:136, [ 536s] from include/common.h:26, [ 536s] from board/thead/light-c910/spl.c:8: [ 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] arch/riscv/lib/bootm.c: At top level: [ 536s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 536s] 34 | extern void secondary_entry(); [ 536s] | ^~~~~~ [ 537s] CC spl/common/fdt_support.o [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from common/fdt_support.c:9: [ 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] LD spl/board/thead/common/built-in.o [ 537s] MKIMAGE u-boot.img [ 537s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 537s] LD spl/common/init/built-in.o [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from arch/riscv/cpu/c9xx/cpu.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] CC spl/common/bouncebuf.o [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from common/bouncebuf.c:8: [ 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 spl/common/spl/spl_mmc.o [ 537s] In file included from include/linux/bitops.h:136, [ 537s] from include/common.h:26, [ 537s] from common/spl/spl_mmc.c:8: [ 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] | ^~~~~ [ 538s] AS spl/arch/riscv/cpu/mtrap.o [ 538s] CC spl/arch/riscv/lib/image.o [ 538s] In file included from include/linux/bitops.h:136, [ 538s] from include/common.h:26, [ 538s] from arch/riscv/lib/image.c:9: [ 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 spl/board/thead/light-c910/sys_clk.o [ 538s] In file included from include/linux/bitops.h:136, [ 538s] from include/common.h:26, [ 538s] from board/thead/light-c910/sys_clk.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] | ^~~~~ [ 538s] AS spl/arch/riscv/cpu/start.o [ 538s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 538s] In file included from include/linux/bitops.h:136, [ 538s] from include/common.h:26, [ 538s] from arch/riscv/cpu/c9xx/feature.c:1: [ 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 spl/common/console.o [ 539s] In file included from include/linux/bitops.h:136, [ 539s] from include/common.h:26, [ 539s] from common/console.c:7: [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 539s] 98 | out = __test_and_clear_bit(nr, addr); [ 539s] | ^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 539s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 539s] | ~~~~~~^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 539s] 95 | unsigned long flags = 0; [ 539s] | ^~~~~ [ 539s] CC spl/arch/riscv/lib/boot.o [ 539s] CC spl/common/dlmalloc.o [ 539s] In file included from include/linux/bitops.h:136, [ 539s] from include/common.h:26, [ 539s] from common/dlmalloc.c:1: [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 539s] 98 | out = __test_and_clear_bit(nr, addr); [ 539s] | ^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 539s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 539s] | ~~~~~~^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 539s] 95 | unsigned long flags = 0; [ 539s] | ^~~~~ [ 539s] In file included from include/linux/bitops.h:136, [ 539s] from include/common.h:26, [ 539s] from arch/riscv/lib/boot.c:7: [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 539s] 98 | out = __test_and_clear_bit(nr, addr); [ 539s] | ^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 539s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 539s] | ~~~~~~^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 539s] 95 | unsigned long flags = 0; [ 539s] | ^~~~~ [ 539s] CC spl/common/malloc_simple.o [ 539s] In file included from include/linux/bitops.h:136, [ 539s] from include/common.h:26, [ 539s] from common/malloc_simple.c:10: [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 539s] 98 | out = __test_and_clear_bit(nr, addr); [ 539s] | ^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 539s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 539s] | ~~~~~~^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 539s] 95 | unsigned long flags = 0; [ 539s] | ^~~~~ [ 539s] CC spl/common/spl/spl_ram.o [ 539s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 539s] In file included from include/linux/bitops.h:136, [ 539s] from include/common.h:26, [ 539s] from board/thead/light-c910/lpddr-regu/ddr_regu.c:7: [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 539s] 98 | out = __test_and_clear_bit(nr, addr); [ 539s] | ^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 539s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 539s] | ~~~~~~^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 539s] 95 | unsigned long flags = 0; [ 539s] | ^~~~~ [ 539s] In file included from include/linux/bitops.h:136, [ 539s] from include/common.h:26, [ 539s] from common/spl/spl_ram.c:12: [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 539s] 98 | out = __test_and_clear_bit(nr, addr); [ 539s] | ^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 539s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 539s] | ~~~~~~^~~~ [ 539s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 539s] 95 | unsigned long flags = 0; [ 539s] | ^~~~~ [ 539s] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 539s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 539s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 539s] | ^~~~~~~~~~~~~~ [ 540s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 540s] CC spl/common/image.o [ 540s] In file included from include/linux/bitops.h:136, [ 540s] from include/common.h:26, [ 540s] from common/image.c:10: [ 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] LD spl/arch/riscv/cpu/built-in.o [ 540s] CC spl/common/image-fdt.o [ 540s] In file included from include/linux/bitops.h:136, [ 540s] from include/common.h:26, [ 540s] from common/image-fdt.c:11: [ 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] CC spl/arch/riscv/lib/cache.o [ 540s] In file included from include/linux/bitops.h:136, [ 540s] from include/common.h:26, [ 540s] from arch/riscv/lib/cache.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] | ^~~~~ [ 540s] CC spl/arch/riscv/lib/thead_ipi.o [ 540s] CC spl/common/memsize.o [ 540s] CC spl/common/stdio.o [ 540s] In file included from include/linux/bitops.h:136, [ 540s] from include/common.h:26, [ 540s] from common/memsize.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] | ^~~~~ [ 540s] LD spl/common/spl/built-in.o [ 540s] In file included from include/linux/bitops.h:136, [ 540s] from include/common.h:26, [ 540s] from common/stdio.c:12: [ 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] CC spl/arch/riscv/lib/rdtime.o [ 540s] In file included from include/linux/bitops.h:136, [ 540s] from include/common.h:26, [ 540s] from arch/riscv/lib/rdtime.c:10: [ 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] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 541s] In file included from include/linux/bitops.h:136, [ 541s] from include/common.h:26, [ 541s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 541s] 98 | out = __test_and_clear_bit(nr, addr); [ 541s] | ^~~~ [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 541s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 541s] | ~~~~~~^~~~ [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 541s] 95 | unsigned long flags = 0; [ 541s] | ^~~~~ [ 541s] CC spl/arch/riscv/lib/interrupts.o [ 541s] CC spl/common/cli.o [ 541s] CC spl/common/command.o [ 541s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 541s] In file included from include/linux/bitops.h:136, [ 541s] from include/common.h:26, [ 541s] from arch/riscv/lib/interrupts.c:10: [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 541s] 98 | out = __test_and_clear_bit(nr, addr); [ 541s] | ^~~~ [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 541s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 541s] | ~~~~~~^~~~ [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 541s] 95 | unsigned long flags = 0; [ 541s] | ^~~~~ [ 541s] In file included from include/linux/bitops.h:136, [ 541s] from include/common.h:26, [ 541s] from common/cli.c:11: [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 541s] 98 | out = __test_and_clear_bit(nr, addr); [ 541s] | ^~~~ [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 541s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 541s] | ~~~~~~^~~~ [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 541s] 95 | unsigned long flags = 0; [ 541s] | ^~~~~ [ 541s] In file included from include/linux/bitops.h:136, [ 541s] from include/common.h:26, [ 541s] from common/command.c:11: [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 541s] 98 | out = __test_and_clear_bit(nr, addr); [ 541s] | ^~~~ [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 541s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 541s] | ~~~~~~^~~~ [ 541s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 541s] 95 | unsigned long flags = 0; [ 541s] | ^~~~~ [ 542s] common/command.c: At top level: [ 542s] 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] [ 542s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 542s] | ^~~~~~~~~~~ [ 542s] In file included from include/image.h:45, [ 542s] from include/common.h:40: [ 542s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 542s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 542s] | ^~~~~~~~~~~ [ 542s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 542s] CC spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 542s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 542s] CC spl/arch/riscv/lib/reset.o [ 542s] In file included from include/linux/bitops.h:136, [ 542s] from include/common.h:26, [ 542s] from arch/riscv/lib/reset.c:6: [ 542s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 542s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 542s] 98 | out = __test_and_clear_bit(nr, addr); [ 542s] | ^~~~ [ 542s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 542s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 542s] | ~~~~~~^~~~ [ 542s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 542s] 95 | unsigned long flags = 0; [ 542s] | ^~~~~ [ 543s] CC spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 543s] AS spl/arch/riscv/lib/setjmp.o [ 543s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 543s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:7:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 543s] 7 | int dwc_ddrphy_phyinit_regInterface(); [ 543s] | ^~~ [ 543s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:995:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 543s] 995 | int dwc_ddrphy_phyinit_regInterface() { [ 543s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 543s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 543s] CC spl/common/s_record.o [ 543s] In file included from include/linux/bitops.h:136, [ 543s] from include/common.h:26, [ 543s] from common/s_record.c:7: [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 543s] 98 | out = __test_and_clear_bit(nr, addr); [ 543s] | ^~~~ [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 543s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 543s] | ~~~~~~^~~~ [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 543s] 95 | unsigned long flags = 0; [ 543s] | ^~~~~ [ 543s] CC spl/common/xyzModem.o [ 543s] In file included from include/linux/bitops.h:136, [ 543s] from include/common.h:26, [ 543s] from common/xyzModem.c:24: [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 543s] 98 | out = __test_and_clear_bit(nr, addr); [ 543s] | ^~~~ [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 543s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 543s] | ~~~~~~^~~~ [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 543s] 95 | unsigned long flags = 0; [ 543s] | ^~~~~ [ 543s] CC spl/arch/riscv/lib/smp.o [ 543s] In file included from include/linux/bitops.h:136, [ 543s] from include/common.h:26, [ 543s] from arch/riscv/lib/smp.c:7: [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 543s] 98 | out = __test_and_clear_bit(nr, addr); [ 543s] | ^~~~ [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 543s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 543s] | ~~~~~~^~~~ [ 543s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 543s] 95 | unsigned long flags = 0; [ 543s] | ^~~~~ [ 544s] CC spl/arch/riscv/lib/spl.o [ 544s] CC spl/arch/riscv/lib/locks.o [ 544s] In file included from include/linux/bitops.h:136, [ 544s] from include/common.h:26, [ 544s] from arch/riscv/lib/spl.c:6: [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 544s] 98 | out = __test_and_clear_bit(nr, addr); [ 544s] | ^~~~ [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 544s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 544s] | ~~~~~~^~~~ [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 544s] 95 | unsigned long flags = 0; [ 544s] | ^~~~~ [ 544s] CC spl/cmd/nvedit.o [ 544s] In file included from include/linux/bitops.h:136, [ 544s] from include/common.h:26, [ 544s] from cmd/nvedit.c:26: [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 544s] 98 | out = __test_and_clear_bit(nr, addr); [ 544s] | ^~~~ [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 544s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 544s] | ~~~~~~^~~~ [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 544s] 95 | unsigned long flags = 0; [ 544s] | ^~~~~ [ 544s] CC spl/env/common.o [ 544s] In file included from include/linux/bitops.h:136, [ 544s] from include/common.h:26, [ 544s] from env/common.c:10: [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 544s] 98 | out = __test_and_clear_bit(nr, addr); [ 544s] | ^~~~ [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 544s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 544s] | ~~~~~~^~~~ [ 544s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 544s] 95 | unsigned long flags = 0; [ 544s] | ^~~~~ [ 545s] CC spl/disk/part.o [ 545s] LD spl/common/built-in.o [ 545s] In file included from include/linux/bitops.h:136, [ 545s] from include/common.h:26, [ 545s] from disk/part.c:7: [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 545s] 98 | out = __test_and_clear_bit(nr, addr); [ 545s] | ^~~~ [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 545s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 545s] | ~~~~~~^~~~ [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 545s] 95 | unsigned long flags = 0; [ 545s] | ^~~~~ [ 545s] CC spl/disk/part_efi.o [ 545s] LD spl/board/thead/light-c910/built-in.o [ 545s] LD spl/arch/riscv/lib/built-in.o [ 545s] In file included from include/linux/bitops.h:136, [ 545s] from include/common.h:26, [ 545s] from disk/part_efi.c:13: [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 545s] 98 | out = __test_and_clear_bit(nr, addr); [ 545s] | ^~~~ [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 545s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 545s] | ~~~~~~^~~~ [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 545s] 95 | unsigned long flags = 0; [ 545s] | ^~~~~ [ 545s] CC spl/env/env.o [ 545s] In file included from include/linux/bitops.h:136, [ 545s] from include/common.h:26, [ 545s] from env/env.c:7: [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 545s] 98 | out = __test_and_clear_bit(nr, addr); [ 545s] | ^~~~ [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 545s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 545s] | ~~~~~~^~~~ [ 545s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 545s] 95 | unsigned long flags = 0; [ 545s] | ^~~~~ [ 545s] FDTGREP spl/dts/dt-spl.dtb [ 545s] LD spl/cmd/built-in.o [ 545s] CC spl/lib/libfdt/fdt.o [ 545s] CC spl/lib/libfdt/fdt_wip.o [ 545s] CC spl/drivers/block/blk-uclass.o [ 545s] CC spl/fs/fs_internal.o [ 546s] In file included from include/linux/bitops.h:136, [ 546s] from include/common.h:26, [ 546s] from drivers/block/blk-uclass.c:7: [ 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 fs/fs_internal.c:8: [ 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] DTB spl/dts/dt-spl.dtb.S [ 546s] CC spl/lib/libfdt/fdt_strerror.o [ 546s] LD spl/env/built-in.o [ 546s] AS spl/dts/dt-spl.dtb.o [ 546s] LDS spl/u-boot-spl.lds [ 547s] CC spl/lib/libfdt/fdt_sw.o [ 547s] LD spl/disk/built-in.o [ 547s] CC spl/lib/libfdt/fdt_rw.o [ 547s] CC spl/lib/libfdt/fdt_empty_tree.o [ 547s] LD spl/fs/built-in.o [ 547s] LD spl/drivers/block/built-in.o [ 547s] CC spl/lib/libfdt/fdt_addresses.o [ 547s] LD spl/drivers/clk/analogbits/built-in.o [ 547s] LD spl/dts/built-in.o [ 547s] LD spl/drivers/clk/imx/built-in.o [ 547s] LD spl/drivers/clk/tegra/built-in.o [ 547s] CC spl/drivers/clk/clk-uclass.o [ 547s] In file included from include/linux/bitops.h:136, [ 547s] from include/common.h:26, [ 547s] from drivers/clk/clk-uclass.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/drivers/cpu/cpu-uclass.o [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from drivers/cpu/cpu-uclass.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/drivers/core/device.o [ 548s] CC spl/drivers/mmc/mmc.o [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from drivers/core/device.c:11: [ 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/drivers/cpu/riscv_cpu.o [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from drivers/mmc/mmc.c:10: [ 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 drivers/cpu/riscv_cpu.c:6: [ 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/lib/fdtdec_common.o [ 548s] CC spl/lib/fdtdec.o [ 548s] CC spl/lib/libfdt/fdt_ro.o [ 548s] In file included from include/linux/bitops.h:136, [ 548s] from include/common.h:26, [ 548s] from lib/fdtdec_common.c:11: [ 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 lib/fdtdec.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] | ^~~~~ [ 549s] LD spl/drivers/mtd/built-in.o [ 549s] CC spl/drivers/clk/clk_fixed_rate.o [ 549s] CC spl/lib/libfdt/fdt_region.o [ 549s] In file included from include/linux/bitops.h:136, [ 549s] from include/common.h:26, [ 549s] from drivers/clk/clk_fixed_rate.c:6: [ 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] LD spl/drivers/cpu/built-in.o [ 549s] CC spl/lib/qsort.o [ 549s] In file included from include/linux/bitops.h:136, [ 549s] from include/common.h:26, [ 549s] from lib/qsort.c:19: [ 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/drivers/core/fdtaddr.o [ 550s] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from drivers/core/fdtaddr.c:11: [ 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/drivers/mmc/mmc_boot.o [ 550s] CC spl/drivers/mmc/mmc-uclass.o [ 550s] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from drivers/mmc/mmc-uclass.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] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from drivers/mmc/mmc_boot.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/drivers/core/lists.o [ 550s] CC spl/drivers/clk/clk_fixed_factor.o [ 550s] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from drivers/core/lists.c:11: [ 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] In file included from include/linux/bitops.h:136, [ 550s] from include/common.h:26, [ 550s] from drivers/clk/clk_fixed_factor.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/lib/libfdt/built-in.o [ 551s] CC spl/lib/hashtable.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from lib/hashtable.c:32: [ 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/drivers/core/root.o [ 551s] CC spl/lib/errno.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from drivers/core/root.c:9: [ 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/drivers/mmc/dw_mmc.o [ 551s] CC spl/drivers/mmc/snps_dw_mmc.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from drivers/mmc/dw_mmc.c:9: [ 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 drivers/mmc/snps_dw_mmc.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] CC spl/drivers/mmc/rpmb.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from drivers/mmc/rpmb.c:11: [ 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/drivers/mmc/sdhci.o [ 551s] LD spl/drivers/clk/built-in.o [ 551s] In file included from include/linux/bitops.h:136, [ 551s] from include/common.h:26, [ 551s] from drivers/mmc/sdhci.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] | ^~~~~ [ 552s] CC spl/drivers/mmc/snps_sdhci.o [ 552s] In file included from include/linux/bitops.h:136, [ 552s] from include/common.h:26, [ 552s] from drivers/mmc/snps_sdhci.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] CC spl/drivers/core/uclass.o [ 552s] In file included from include/linux/bitops.h:136, [ 552s] from include/common.h:26, [ 552s] from drivers/core/uclass.c:11: [ 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] CC spl/lib/display_options.o [ 552s] CC spl/drivers/core/util.o [ 552s] In file included from include/linux/bitops.h:136, [ 552s] from include/common.h:26, [ 552s] from lib/display_options.c:7: [ 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] In file included from include/linux/bitops.h:136, [ 552s] from include/common.h:26, [ 552s] from drivers/core/util.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] CC spl/drivers/core/simple-bus.o [ 552s] In file included from include/linux/bitops.h:136, [ 552s] from include/common.h:26, [ 552s] from drivers/core/simple-bus.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] | ^~~~~ [ 553s] CC spl/drivers/serial/serial-uclass.o [ 553s] CC spl/drivers/timer/timer-uclass.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from drivers/serial/serial-uclass.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] | ^~~~~ [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from drivers/timer/timer-uclass.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] | ^~~~~ [ 553s] CC spl/drivers/serial/ns16550.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from drivers/serial/ns16550.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] LD spl/drivers/mmc/built-in.o [ 553s] CC spl/drivers/core/dump.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from drivers/core/dump.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] | ^~~~~ [ 553s] CC spl/drivers/core/of_extra.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from drivers/core/of_extra.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/lib/crc32.o [ 553s] In file included from include/linux/bitops.h:136, [ 553s] from include/common.h:26, [ 553s] from lib/crc32.c:15: [ 553s] /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/ofnode.o [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from drivers/core/ofnode.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] | ^~~~~ [ 554s] CC spl/lib/ctype.o [ 554s] CC spl/drivers/core/read_extra.o [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from drivers/core/read_extra.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] | ^~~~~ [ 554s] CC spl/drivers/timer/riscv_timer.o [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/common.h:26, [ 554s] from drivers/timer/riscv_timer.c:14: [ 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] LD spl/drivers/serial/built-in.o [ 554s] CC spl/lib/div64.o [ 554s] In file included from include/linux/bitops.h:136, [ 554s] from include/linux/math64.h:5, [ 554s] from lib/div64.c:22: [ 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] CC spl/lib/hang.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from lib/hang.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] CC spl/lib/linux_compat.o [ 555s] CC spl/lib/linux_string.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from lib/linux_compat.c:2: [ 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/lmb.o [ 555s] CC spl/lib/membuff.o [ 555s] LD spl/drivers/core/built-in.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from lib/lmb.c:9: [ 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 lib/membuff.c:9: [ 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/drivers/timer/built-in.o [ 555s] LD spl/drivers/built-in.o [ 555s] CC spl/lib/slre.o [ 555s] In file included from include/linux/bitops.h:136, [ 555s] from include/common.h:26, [ 555s] from lib/slre.c:23: [ 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] CC spl/lib/string.o [ 556s] CC spl/lib/tables_csum.o [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from lib/tables_csum.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] CC spl/lib/time.o [ 556s] CC spl/lib/hexdump.o [ 556s] CC spl/lib/uuid.o [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from lib/time.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 lib/hexdump.c:11: [ 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 lib/uuid.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] CC spl/lib/rand.o [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from lib/rand.c:10: [ 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/lib/panic.o [ 556s] CC spl/lib/vsprintf.o [ 556s] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from lib/panic.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] In file included from include/linux/bitops.h:136, [ 556s] from include/common.h:26, [ 556s] from lib/vsprintf.c:16: [ 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/strto.o [ 557s] In file included from include/linux/bitops.h:136, [ 557s] from include/common.h:26, [ 557s] from lib/strto.c:12: [ 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/lib/abuf.o [ 557s] CC spl/lib/date.o [ 557s] In file included from include/linux/bitops.h:136, [ 557s] from include/common.h:26, [ 557s] from lib/abuf.c:10: [ 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 lib/date.c:7: [ 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] | ^~~~~ [ 558s] LD spl/lib/built-in.o [ 559s] LD spl/u-boot-spl [ 559s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 559s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 559s] COPY spl/u-boot-spl.bin [ 560s] CAT u-boot-with-spl.bin [ 560s] ===================== WARNING ====================== [ 560s] This board does not use CONFIG_DM_USB. Please update [ 560s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 560s] Failure to update by the deadline may result in board removal. [ 560s] See doc/driver-model/MIGRATION.txt for more info. [ 560s] ==================================================== [ 560s] ===================== WARNING ====================== [ 560s] CONFIG_OF_EMBED is enabled. This option should only [ 560s] be used for debugging purposes. Please use [ 560s] CONFIG_OF_SEPARATE for boards in mainline. [ 560s] See doc/README.fdt-control for more info. [ 560s] ==================================================== [ 560s] CFGCHK u-boot.cfg [ 563s] + ./scripts/get_default_envs.sh [ 566s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 566s] + rm default_envs.txt [ 566s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 567s] Image Name: Tizen LicheePi4A Board Script [ 567s] Created: Tue Dec 17 04:12:17 2024 [ 567s] Image Type: RISC-V Linux Script (uncompressed) [ 567s] Data Size: 4158 Bytes = 4.06 KiB = 0.00 MiB [ 567s] Load Address: 00000000 [ 567s] Entry Point: 00000000 [ 567s] Contents: [ 567s] Image 0: 4150 Bytes = 4.05 KiB = 0.00 MiB [ 567s] + exit 0 [ 567s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TvnMNU [ 567s] + umask 022 [ 567s] + cd /home/abuild/rpmbuild/BUILD [ 567s] + cd u-boot-2020.01 [ 567s] + LANG=C [ 567s] + export LANG [ 567s] + unset DISPLAY [ 567s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 567s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 567s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 567s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot [ 567s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp [ 567s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp/ [ 568s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp/ [ 568s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 569s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 570s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 570s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 571s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 572s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 2020.01-0 --unique-debug-src-base u-boot-lpi4a-8g-2020.01-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/u-boot-2020.01 [ 583s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-8g-debuginfo.manifest [ 584s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-8g-debugsource.manifest [ 585s] + /usr/lib/rpm/check-buildroot [ 586s] + /usr/lib/rpm//brp-compress [ 586s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 587s] + /usr/lib/rpm/brp-python-hardlink [ 587s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 588s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 588s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 588s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 588s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 593s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 593s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 593s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 593s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 593s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 593s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 593s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 593s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 593s] Processing files: u-boot-lpi4a-8g-2020.01-0.riscv64 [ 593s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 593s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 593s] [ 593s] Provides: u-boot-lpi4a-8g = 2020.01-0 u-boot-lpi4a-8g(riscv-64) = 2020.01-0 [ 593s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 593s] Processing files: u-boot-lpi4a-8g-debugsource-2020.01-0.riscv64 [ 593s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 593s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 593s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 593s] [ 593s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 597s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-8g-2020.01-0.riscv64.rpm [ 598s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-8g-debugsource-2020.01-0.riscv64.rpm [ 598s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EGuMSw [ 598s] + umask 022 [ 598s] + cd /home/abuild/rpmbuild/BUILD [ 598s] + cd u-boot-2020.01 [ 598s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 598s] + exit 0 [ 598s] ... checking for files with abuild user/group [ 598s] ... creating baselibs [ 610s] [ 610s] ip-192-168-56-31 finished "build u-boot-lpi4a-8g.spec" at Tue Dec 17 04:13:00 UTC 2024. [ 610s]