[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.1 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-183 started "build u-boot-lpi4a-16g.spec" at Fri Dec 27 04:44:41 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ --clean --nocumulate /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.1/.srcfiles.cache ... [ 2s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.1/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ [ 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/debug/ [ 3s] expanding package dependencies... [ 4s] copying qemu [ 4s] /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 [ 4s] [ 4s] registering binfmt handlers for cross build [ 4s] calculating packages to download... [ 8s] cycle: nss -> libsoftokn3 [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] [1/47] preinstalling libmagic-data... [ 9s] [2/47] preinstalling libncurses... [ 9s] [3/47] preinstalling setup... [ 9s] [4/47] preinstalling filesystem... [ 9s] [5/47] preinstalling glibc... [ 9s] [6/47] preinstalling libgcc... [ 9s] [7/47] preinstalling libstdc++... [ 9s] [8/47] preinstalling libasan... [ 9s] [9/47] preinstalling findutils... [ 9s] [10/47] preinstalling grep... [ 9s] [11/47] preinstalling libattr... [ 9s] [12/47] preinstalling libbz2... [ 9s] [13/47] preinstalling liblua... [ 9s] [14/47] preinstalling libpopt... [ 9s] [15/47] preinstalling libsmack... [ 9s] [16/47] preinstalling libuuid... [ 9s] [17/47] preinstalling libxcrypt... [ 9s] [18/47] preinstalling nspr... [ 9s] [19/47] preinstalling sed... [ 9s] [20/47] preinstalling zlib... [ 9s] [21/47] preinstalling bash... [ 9s] [22/47] preinstalling diffutils... [ 9s] [23/47] preinstalling libblkid... [ 10s] [24/47] preinstalling libcap... [ 10s] [25/47] preinstalling libfreebl3... [ 10s] [26/47] preinstalling liblzma... [ 10s] [27/47] preinstalling libreadline... [ 10s] [28/47] preinstalling libsqlite... [ 10s] [29/47] preinstalling libzstd1... [ 10s] [30/47] preinstalling qemu-accel-x86_64-riscv64... [ 18s] [31/47] preinstalling qemu-linux-user-x86_64-cross... [ 19s] [32/47] preinstalling asan-build-env... [ 19s] [33/47] preinstalling libacl... [ 20s] [34/47] preinstalling libelf... [ 20s] [35/47] preinstalling smack... [ 20s] [36/47] preinstalling bzip2... [ 20s] [37/47] preinstalling coreutils... [ 20s] [38/47] preinstalling libmagic... [ 20s] [39/47] preinstalling libmount... [ 20s] [40/47] preinstalling libxml2... [ 20s] [41/47] preinstalling tar... [ 20s] [42/47] preinstalling util-linux... [ 20s] [43/47] preinstalling util-linux-su... [ 20s] [44/47] preinstalling nss... [ 20s] [45/47] preinstalling libsoftokn3... [ 20s] [46/47] preinstalling rpm... [ 21s] [47/47] preinstalling asan-force-options... [ 21s] [ 21s] running qemu-linux-user-x86_64-cross postinstall script [ 22s] running qemu-accel-x86_64-riscv64 postinstall script [ 22s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.1.0/liblto_plugin.so': No such file or directory [ 22s] running setup postinstall script [ 22s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 22s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 22s] running asan-build-env postinstall script [ 25s] running asan-force-options postinstall script [ 54s] initializing rpm db... [ 54s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 54s] breaking dependency bash -> glibc [ 54s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 54s] breaking dependency libasan -> glibc [ 54s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 54s] breaking dependency asan-runtime-env -> bash [ 54s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 54s] breaking dependency coreutils -> bash [ 54s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 54s] breaking dependency coreutils -> glibc [ 54s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 54s] breaking dependency libasan -> libgcc [ 54s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 54s] breaking dependency libstdc++ -> glibc [ 54s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 54s] breaking dependency coreutils -> libasan [ 54s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 54s] breaking dependency asan-runtime-env -> coreutils [ 54s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 54s] breaking dependency setup -> asan-runtime-env [ 54s] cycle: glibc-devel -> libxcrypt-devel [ 54s] breaking dependency glibc-devel -> libxcrypt-devel [ 54s] cycle: nss -> libsoftokn3 [ 54s] breaking dependency nss -> libsoftokn3 [ 54s] reordering done [ 55s] [1/116] installing libmagic-data-5.45-1.15 [ 55s] [2/116] installing opensbi-1.5-0 [ 55s] [3/116] installing setup-0.9-1.6 [ 56s] [4/116] installing filesystem-3.1-1.2 [ 56s] [5/116] installing glibc-2.39-2.6 [ 56s] [6/116] installing libatomic-14.1.0-2.7 [ 57s] [7/116] installing libgcc-14.1.0-2.7 [ 57s] [8/116] installing libgomp-14.1.0-2.7 [ 58s] [9/116] installing libitm-14.1.0-2.7 [ 58s] [10/116] installing libgfortran-14.1.0-2.7 [ 58s] [11/116] installing libstdc++-14.1.0-2.7 [ 59s] [12/116] installing coreutils-6.9-14.6 [ 59s] [13/116] installing libstdc++-devel-14.1.0-2.7 [ 60s] [14/116] installing linux-glibc-devel-6.6-1.17 [ 60s] [15/116] installing libasan-14.1.0-2.7 [ 60s] [16/116] installing libcc1-14.1.0-2.7 [ 61s] [17/116] installing libubsan-14.1.0-2.7 [ 61s] [18/116] installing cpio-2.8-1.3 [ 61s] [19/116] installing findutils-4.3.8-1.15 [ 61s] [20/116] installing gdbm-1.8.3-1.17 [ 62s] [21/116] installing hostname-3.23-1.3 [ 62s] [22/116] installing libattr-2.5.1-1.15 [ 62s] [23/116] installing libbz2-1.0.8-1.15 [ 62s] [24/116] installing libexpat-2.6.2-1.17 [ 63s] [25/116] installing libffi-3.4.2-1.17 [ 63s] [26/116] installing libltdl-2.4.7-1.17 [ 64s] [27/116] installing liblua-5.1.5-1.13 [ 64s] [28/116] installing libpopt-1.16-1.14 [ 65s] [29/116] installing libsmack-1.3.1-1.14 [ 65s] [30/116] installing libsmartcols-2.39.3-1.11 [ 66s] [31/116] installing libuuid-2.39.3-1.11 [ 66s] [32/116] installing libxcrypt-4.4.36-2.7 [ 67s] [33/116] installing m4-1.4.19-2.1 [ 67s] [34/116] installing net-tools-2.0_20121208git-1.13 [ 67s] [35/116] installing nspr-4.35-1.14 [ 68s] [36/116] installing patch-2.7.6-1.14 [ 68s] [37/116] installing sed-4.1c-1.14 [ 68s] [38/116] installing which-2.17-1.3 [ 68s] [39/116] installing zlib-1.3-1.17 [ 69s] [40/116] installing asan-runtime-env-14.1.0-1.11 [ 69s] [41/116] installing bash-3.2.57-2.2 [ 69s] [42/116] installing diffutils-3.10-2.1 [ 70s] [43/116] installing libblkid-2.39.3-1.11 [ 70s] [44/116] installing libcap-2.69-1.13 [ 71s] [45/116] installing libfreebl3-3.98-1.17 [ 71s] [46/116] installing liblzma-5.4.5-1.17 [ 72s] [47/116] installing libopenssl3-3.0.13-1.17 [ 73s] [48/116] installing libpcre-8.45-1.15 [ 73s] [49/116] installing libpython3_121_0-3.12.0-1.17 [ 74s] [50/116] installing libsqlite-3.48.0-1.2 [ 74s] [51/116] installing libzstd1-1.5.6-1.2 [ 75s] [52/116] installing pkg-config-0.29.2-1.15 [ 75s] [53/116] installing update-alternatives-1.22.2-1.3 [ 75s] [54/116] installing build-compare-2023.06.18-1.6 [ 75s] [55/116] installing hal-rootstrap-checker-0.1.0-3.1 [ 75s] [56/116] installing qemu-linux-user-x86_64-cross-5.2.0.2-20.6 [ 78s] [57/116] installing asan-build-env-14.1.0-1.11 [ 79s] libasan.so is already preloaded [ 79s] [58/116] installing cpp-14.1.0-2.7 [ 79s] [59/116] installing gcc-c++-14.1.0-2.7 [ 80s] [60/116] installing terminfo-base-full-6.4-1.17 [ 81s] [61/116] installing flex-2.6.4-1.15 [ 81s] [62/116] installing gawk-3.1.5-1.3 [ 81s] [63/116] installing glibc-locale-2.39-2.6 [ 82s] [64/116] installing grep-2.5.2-1.14 [ 83s] [65/116] installing libacl-2.3.2-1.14 [ 83s] [66/116] installing libelf-0.189-1.16 [ 83s] [67/116] installing make-4.4-1.15 [ 83s] [68/116] installing nss-certs-3.98-1.17 [ 83s] [69/116] installing smack-1.3.1-1.14 [ 83s] [70/116] installing binutils-libs-2.43-3.6 [ 84s] [71/116] installing bzip2-1.0.8-1.15 [ 84s] [72/116] installing gzip-1.13-1.10 [ 84s] [73/116] installing libmagic-5.45-1.15 [ 84s] [74/116] installing libmount-2.39.3-1.11 [ 84s] [75/116] installing xz-5.4.5-1.17 [ 85s] [76/116] installing bison-3.0.5-1.15 [ 85s] [77/116] installing libfdisk-2.39.3-1.11 [ 85s] [78/116] installing libxml2-2.12.5-1.15 [ 86s] [79/116] installing swig-4.0.2-0 [ 86s] [80/116] installing tzdata-2023c-1.3 [ 87s] [81/116] installing pam-1.1.6-1.13 [ 89s] [82/116] installing perl-5.38.0-1.13 [ 94s] [83/116] installing gcc-14.1.0-2.7 [ 97s] [84/116] installing build-mkbaselibs-20120927-1.2 [ 98s] [85/116] installing qemu-accel-x86_64-riscv64-0.4-2.2 [ 122s] [86/116] installing autoconf-2.71-1.17 [ 123s] [87/116] installing file-5.45-1.15 [ 123s] [88/116] installing binutils-2.43-3.6 [ 125s] [89/116] installing tar-1.17-1.3 [ 125s] [90/116] installing glibc-devel-2.39-2.6 [ 126s] [91/116] installing libncurses6-6.4-1.17 [ 126s] [92/116] installing libdw-0.189-1.16 [ 126s] [93/116] installing nss-3.98-1.17 [ 127s] [94/116] installing libarchive-3.7.2-1.14 [ 127s] [95/116] installing libncurses-6.4-1.17 [ 127s] [96/116] installing automake-1.16.5-1.17 [ 127s] [97/116] installing libxcrypt-devel-4.4.36-2.7 [ 127s] [98/116] installing zlib-devel-1.3-1.17 [ 128s] [99/116] installing less-668-1.1 [ 128s] [100/116] installing libasm-0.189-1.16 [ 128s] [101/116] installing libreadline-5.2-1.15 [ 128s] [102/116] installing build-20120927-1.2 [ 128s] [103/116] installing libsoftokn3-3.98-1.17 [ 128s] [104/116] installing rpm-4.14.1.1-1.17 [ 130s] [105/116] installing bc-1.06-1.3 [ 130s] [106/116] installing libopenssl3-devel-3.0.13-1.17 [ 130s] [107/116] installing asan-force-options-14.1.0-1.11 [ 160s] [108/116] installing libtool-2.4.7-1.17 [ 160s] [109/116] installing elfutils-0.189-1.16 [ 161s] [110/116] installing python3-base-3.12.0-1.17 [ 163s] [111/116] installing util-linux-2.39.3-1.11 [ 163s] [112/116] installing rpm-build-4.14.1.1-1.17 [ 163s] [113/116] installing python3-3.12.0-1.2 [ 163s] [114/116] installing util-linux-su-2.39.3-1.11 [ 164s] [115/116] installing python3-devel-3.12.0-1.17 [ 164s] [116/116] installing python3-setuptools-69.0.2-1.5 [ 164s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.1/etc/nsswitch.conf... [ 164s] now finalizing build dir... [ 170s] ----------------------------------------------------------------- [ 170s] ----- building u-boot-lpi4a-16g.spec (user abuild) [ 170s] ----------------------------------------------------------------- [ 170s] ----------------------------------------------------------------- [ 174s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -bb /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec [ 174s] Building target platforms: riscv64-tizen-linux [ 174s] Building for target riscv64-tizen-linux [ 174s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KFb0Tb [ 174s] + umask 022 [ 174s] + cd /home/abuild/rpmbuild/BUILD [ 174s] + cd /home/abuild/rpmbuild/BUILD [ 174s] + rm -rf u-boot-2020.01 [ 174s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 174s] + /bin/tar -xof - [ 186s] + STATUS=0 [ 186s] + '[' 0 -ne 0 ']' [ 186s] + cd u-boot-2020.01 [ 186s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 187s] + exit 0 [ 187s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.djqi8A [ 187s] + umask 022 [ 187s] + cd /home/abuild/rpmbuild/BUILD [ 187s] + cd u-boot-2020.01 [ 187s] + ref=/usr/lib/rpm [ 187s] + mints=0 [ 187s] + case $(uname -m) in [ 187s] ++ uname -m [ 188s] + mints=20160911 [ 188s] + for s in guess sub [ 188s] ++ find -maxdepth 8 -name config.guess [ 188s] + for s in guess sub [ 188s] ++ find -maxdepth 8 -name config.sub [ 188s] + LANG=C [ 188s] + export LANG [ 188s] + unset DISPLAY [ 188s] + 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' [ 188s] + export CFLAGS [ 188s] + 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' [ 188s] + export CXXFLAGS [ 188s] + 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' [ 188s] + export FFLAGS [ 188s] + LDFLAGS= [ 188s] + export LDFLAGS [ 188s] + /usr/bin/gcc-unforce-options [ 189s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-16g.manifest . [ 189s] + CONFIG=tizen_lpi4a_16g_defconfig [ 189s] + make mrproper [ 202s] + make tizen_lpi4a_16g_defconfig [ 208s] HOSTCC scripts/basic/fixdep [ 215s] HOSTCC scripts/kconfig/conf.o [ 217s] YACC scripts/kconfig/zconf.tab.c [ 218s] LEX scripts/kconfig/zconf.lex.c [ 225s] HOSTCC scripts/kconfig/zconf.tab.o [ 230s] HOSTLD scripts/kconfig/conf [ 232s] # [ 232s] # configuration written to .config [ 232s] # [ 232s] + 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 [ 246s] HOSTCC scripts/basic/fixdep [ 252s] HOSTCC scripts/kconfig/conf.o [ 258s] HOSTCC scripts/kconfig/zconf.tab.o [ 262s] HOSTLD scripts/kconfig/conf [ 262s] scripts/kconfig/conf --syncconfig Kconfig [ 265s] CHK include/config.h [ 265s] UPD include/config.h [ 265s] CFG u-boot.cfg [ 265s] GEN include/autoconf.mk.dep [ 265s] CFG spl/u-boot.cfg [ 265s] GEN include/autoconf.mk [ 265s] GEN spl/include/autoconf.mk [ 277s] CHK include/config/uboot.release [ 277s] CHK include/generated/timestamp_autogenerated.h [ 277s] UPD include/config/uboot.release [ 277s] HOSTCC scripts/basic/fixdep [ 277s] CHK include/generated/version_autogenerated.h [ 277s] UPD include/generated/version_autogenerated.h [ 278s] HOSTCC scripts/dtc/dtc.o [ 278s] HOSTCC scripts/dtc/flattree.o [ 278s] HOSTCC scripts/dtc/fstree.o [ 278s] HOSTCC scripts/dtc/livetree.o [ 278s] HOSTCC scripts/dtc/treesource.o [ 278s] HOSTCC scripts/dtc/srcpos.o [ 278s] HOSTCC scripts/dtc/data.o [ 279s] HOSTCC scripts/dtc/checks.o [ 279s] HOSTCC scripts/dtc/util.o [ 279s] LEX scripts/dtc/dtc-lexer.lex.c [ 279s] YACC scripts/dtc/dtc-parser.tab.h [ 279s] YACC scripts/dtc/dtc-parser.tab.c [ 280s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 280s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 280s] UPD include/generated/timestamp_autogenerated.h [ 281s] CC arch/riscv/lib/asm-offsets.s [ 281s] CC lib/asm-offsets.s [ 281s] In file included from include/linux/bitops.h:136, [ 281s] from include/common.h:26, [ 281s] from lib/asm-offsets.c:14: [ 281s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 281s] In file included from include/linux/bitops.h:136, [ 281s] from include/common.h:26, [ 281s] from arch/riscv/lib/asm-offsets.c:11: [ 281s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 281s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 281s] 98 | out = __test_and_clear_bit(nr, addr); [ 281s] | ^~~~ [ 281s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 281s] 98 | out = __test_and_clear_bit(nr, addr); [ 281s] | ^~~~ [ 281s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 281s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 281s] | ~~~~~~^~~~ [ 281s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 281s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 281s] | ~~~~~~^~~~ [ 281s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 281s] 95 | unsigned long flags = 0; [ 281s] | ^~~~~ [ 281s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 281s] 95 | unsigned long flags = 0; [ 281s] | ^~~~~ [ 282s] CHK include/generated/generic-asm-offsets.h [ 282s] CHK include/generated/asm-offsets.h [ 282s] UPD include/generated/generic-asm-offsets.h [ 282s] UPD include/generated/asm-offsets.h [ 282s] HOSTLD scripts/dtc/dtc [ 282s] HOSTCC tools/bmp_logo [ 282s] WRAP tools/lib/crc8.c [ 282s] HOSTCC tools/gen_ethaddr_crc.o [ 282s] HOSTCC tools/gen_eth_addr [ 282s] HOSTCC tools/img2srec [ 282s] HOSTCC tools/mkenvimage.o [ 282s] HOSTCC tools/os_support.o [ 282s] WRAP tools/lib/crc32.c [ 282s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 282s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 282s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 282s] HOSTCC tools/aisimage.o [ 282s] HOSTCC tools/atmelimage.o [ 283s] HOSTCC tools/lib/crc32.o [ 283s] WRAP tools/common/bootm.c [ 283s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 283s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 283s] HOSTCC tools/default_image.o [ 283s] WRAP tools/lib/fdtdec_common.c [ 283s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 283s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 283s] WRAP tools/lib/fdtdec.c [ 283s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 283s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 283s] WRAP tools/common/image.c [ 283s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 283s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 283s] HOSTCC tools/imagetool.o [ 283s] HOSTCC tools/imximage.o [ 283s] HOSTCC tools/imx8image.o [ 283s] HOSTCC tools/imx8mimage.o [ 284s] HOSTCC tools/kwbimage.o [ 284s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 284s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 284s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 284s] 251 | int zero = 0; [ 284s] | ^~~~ [ 284s] In file included from tools/imagetool.h:21, [ 284s] from tools/imx8mimage.c:9: [ 284s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 284s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 284s] | ^~~~~ [ 284s] WRAP tools/lib/md5.c [ 284s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 284s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/md5.c'. [ 284s] HOSTCC tools/lpc32xximage.o [ 284s] tools/imx8image.c: In function 'copy_file.constprop': [ 284s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 284s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 284s] 367 | int zero = 0; [ 284s] | ^~~~ [ 284s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 284s] from include/imx8image.h:13, [ 284s] from tools/imx8image.c:8: [ 284s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 284s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 284s] | ^~~~~ [ 284s] HOSTCC tools/mxsimage.o [ 284s] HOSTCC tools/omapimage.o [ 284s] HOSTCC tools/pblimage.o [ 285s] HOSTCC tools/pbl_crc32.o [ 285s] HOSTCC tools/stm32image.o [ 285s] HOSTCC tools/vybridimage.o [ 285s] WRAP tools/lib/rc4.c [ 285s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/rc4.c'. [ 285s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/rc4.c'. [ 285s] HOSTCC tools/rkcommon.o [ 285s] HOSTCC tools/rkimage.o [ 285s] HOSTCC tools/rksd.o [ 285s] HOSTCC tools/rkspi.o [ 285s] HOSTCC tools/socfpgaimage.o [ 286s] WRAP tools/lib/crc16.c [ 286s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc16.c'. [ 286s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc16.c'. [ 286s] WRAP tools/lib/sha1.c [ 286s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha1.c'. [ 286s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha1.c'. [ 286s] WRAP tools/lib/sha256.c [ 286s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha256.c'. [ 286s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha256.c'. [ 286s] WRAP tools/common/hash.c [ 286s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/hash.c'. [ 286s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/hash.c'. [ 286s] HOSTCC tools/ublimage.o [ 286s] HOSTCC tools/zynqimage.o [ 286s] HOSTCC tools/zynqmpimage.o [ 286s] HOSTCC tools/zynqmpbif.o [ 286s] HOSTCC tools/libfdt/fdt.o [ 286s] HOSTCC tools/libfdt/fdt_wip.o [ 286s] HOSTCC tools/libfdt/fdt_sw.o [ 286s] HOSTCC tools/libfdt/fdt_rw.o [ 287s] HOSTCC tools/libfdt/fdt_strerror.o [ 287s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 287s] HOSTCC tools/libfdt/fdt_addresses.o [ 287s] HOSTCC tools/libfdt/fdt_overlay.o [ 287s] WRAP tools/lib/libfdt/fdt_ro.c [ 287s] /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'. [ 287s] /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'. [ 287s] WRAP tools/lib/libfdt/fdt_region.c [ 287s] /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'. [ 287s] /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'. [ 287s] HOSTCC tools/gpimage.o [ 287s] HOSTCC tools/gpimage-common.o [ 287s] HOSTCC tools/mtk_image.o [ 288s] HOSTCC tools/dumpimage.o [ 288s] HOSTCC tools/common/bootm.o [ 288s] HOSTCC tools/lib/fdtdec_common.o [ 288s] HOSTCC tools/lib/fdtdec.o [ 288s] HOSTCC tools/common/image.o [ 288s] HOSTCC tools/lib/md5.o [ 288s] HOSTCC tools/lib/rc4.o [ 289s] HOSTCC tools/lib/crc16.o [ 289s] HOSTCC tools/lib/sha1.o [ 289s] HOSTCC tools/lib/sha256.o [ 289s] HOSTCC tools/common/hash.o [ 289s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 289s] HOSTCC tools/lib/libfdt/fdt_region.o [ 290s] HOSTCC tools/mkimage.o [ 290s] HOSTCC tools/proftool [ 290s] HOSTCC tools/prelink-riscv [ 290s] HOSTCC tools/fdtgrep.o [ 290s] HOSTCC tools/spl_size_limit [ 290s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 291s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 291s] HOSTCC tools/lib/crc8.o [ 291s] HOSTLD tools/mkenvimage [ 291s] HOSTLD tools/fdtgrep [ 291s] HOSTLD tools/dumpimage [ 292s] HOSTLD tools/mkimage [ 292s] HOSTLD tools/gen_ethaddr_crc [ 292s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 292s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 292s] ++ echo platform/kernel/u-boot-thead#2798bead8cc5bbd8856e04485abbc79889d32839 [ 292s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 292s] + make -j8 EXTRAVERSION=-g2798bead8-TIZEN.org [ 310s] HOSTCC scripts/basic/fixdep [ 318s] HOSTCC scripts/kconfig/conf.o [ 324s] HOSTCC scripts/kconfig/zconf.tab.o [ 328s] HOSTLD scripts/kconfig/conf [ 328s] scripts/kconfig/conf --syncconfig Kconfig [ 330s] CHK include/config.h [ 331s] CFG u-boot.cfg [ 331s] GEN include/autoconf.mk.dep [ 331s] CFG spl/u-boot.cfg [ 331s] GEN include/autoconf.mk [ 331s] GEN spl/include/autoconf.mk [ 342s] CHK include/config/uboot.release [ 342s] CHK include/generated/timestamp_autogenerated.h [ 343s] UPD include/config/uboot.release [ 343s] CHK include/generated/version_autogenerated.h [ 343s] HOSTCC scripts/dtc/dtc.o [ 343s] HOSTCC scripts/dtc/flattree.o [ 343s] HOSTCC scripts/dtc/fstree.o [ 343s] HOSTCC scripts/dtc/data.o [ 343s] HOSTCC scripts/dtc/livetree.o [ 343s] HOSTCC scripts/dtc/treesource.o [ 344s] UPD include/generated/version_autogenerated.h [ 344s] HOSTCC scripts/dtc/srcpos.o [ 345s] HOSTCC scripts/dtc/checks.o [ 345s] HOSTCC scripts/dtc/util.o [ 345s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 345s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 346s] HOSTLD scripts/dtc/dtc [ 347s] UPD include/generated/timestamp_autogenerated.h [ 347s] CC lib/asm-offsets.s [ 347s] CC arch/riscv/lib/asm-offsets.s [ 347s] In file included from include/linux/bitops.h:136, [ 347s] from include/common.h:26, [ 347s] from arch/riscv/lib/asm-offsets.c:11: [ 347s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 347s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 347s] 98 | out = __test_and_clear_bit(nr, addr); [ 347s] | ^~~~ [ 347s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 347s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 347s] | ~~~~~~^~~~ [ 347s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 347s] 95 | unsigned long flags = 0; [ 347s] | ^~~~~ [ 347s] In file included from include/linux/bitops.h:136, [ 347s] from include/common.h:26, [ 347s] from lib/asm-offsets.c:14: [ 347s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 347s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 347s] 98 | out = __test_and_clear_bit(nr, addr); [ 347s] | ^~~~ [ 347s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 347s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 347s] | ~~~~~~^~~~ [ 347s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 347s] 95 | unsigned long flags = 0; [ 347s] | ^~~~~ [ 348s] CHK include/generated/generic-asm-offsets.h [ 348s] CHK include/generated/asm-offsets.h [ 350s] LDS u-boot.lds [ 350s] HOSTCC tools/bmp_logo [ 350s] HOSTCC tools/gen_eth_addr [ 350s] HOSTCC tools/gen_ethaddr_crc.o [ 350s] HOSTCC tools/lib/crc8.o [ 350s] HOSTCC tools/img2srec [ 350s] HOSTCC tools/mkenvimage.o [ 350s] HOSTCC tools/os_support.o [ 350s] HOSTCC tools/lib/crc32.o [ 351s] HOSTCC tools/aisimage.o [ 351s] HOSTCC tools/atmelimage.o [ 351s] HOSTCC tools/common/bootm.o [ 351s] HOSTCC tools/default_image.o [ 351s] HOSTCC tools/lib/fdtdec_common.o [ 351s] HOSTCC tools/lib/fdtdec.o [ 351s] In file included from tools/default_image.c:20: [ 351s] In function 'image_set_name', [ 351s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 351s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 351s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 351s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 351s] HOSTCC tools/common/image.o [ 352s] HOSTCC tools/imagetool.o [ 352s] HOSTCC tools/imximage.o [ 352s] HOSTCC tools/imx8image.o [ 352s] HOSTCC tools/imx8mimage.o [ 352s] HOSTCC tools/kwbimage.o [ 352s] HOSTCC tools/lib/md5.o [ 352s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 352s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 352s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 352s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 352s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 352s] 251 | int zero = 0; [ 352s] | ^~~~ [ 352s] In file included from tools/imagetool.h:21, [ 352s] from tools/imx8mimage.c:9: [ 352s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 352s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 352s] | ^~~~~ [ 352s] HOSTCC tools/lpc32xximage.o [ 352s] tools/imx8image.c: In function 'copy_file.constprop': [ 352s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 352s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 352s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 352s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 352s] 367 | int zero = 0; [ 352s] | ^~~~ [ 352s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 352s] from include/imx8image.h:13, [ 352s] from tools/imx8image.c:8: [ 352s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 352s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 352s] | ^~~~~ [ 353s] HOSTCC tools/mxsimage.o [ 353s] HOSTCC tools/omapimage.o [ 353s] HOSTCC tools/pblimage.o [ 353s] HOSTCC tools/pbl_crc32.o [ 353s] HOSTCC tools/vybridimage.o [ 353s] HOSTCC tools/stm32image.o [ 353s] HOSTCC tools/lib/rc4.o [ 354s] HOSTCC tools/rkcommon.o [ 354s] HOSTCC tools/rkimage.o [ 354s] HOSTCC tools/rksd.o [ 354s] HOSTCC tools/rkspi.o [ 354s] HOSTCC tools/socfpgaimage.o [ 354s] HOSTCC tools/lib/crc16.o [ 354s] HOSTCC tools/lib/sha1.o [ 354s] HOSTCC tools/lib/sha256.o [ 355s] HOSTCC tools/common/hash.o [ 355s] HOSTCC tools/ublimage.o [ 355s] HOSTCC tools/zynqimage.o [ 355s] HOSTCC tools/zynqmpimage.o [ 355s] HOSTCC tools/zynqmpbif.o [ 355s] HOSTCC tools/libfdt/fdt.o [ 356s] HOSTCC tools/libfdt/fdt_wip.o [ 356s] HOSTCC tools/libfdt/fdt_sw.o [ 356s] HOSTCC tools/libfdt/fdt_rw.o [ 356s] HOSTCC tools/libfdt/fdt_strerror.o [ 356s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 356s] HOSTCC tools/libfdt/fdt_addresses.o [ 357s] HOSTCC tools/libfdt/fdt_overlay.o [ 357s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 357s] HOSTCC tools/lib/libfdt/fdt_region.o [ 357s] HOSTCC tools/gpimage.o [ 357s] HOSTCC tools/gpimage-common.o [ 357s] HOSTCC tools/mtk_image.o [ 357s] HOSTCC tools/dumpimage.o [ 358s] HOSTCC tools/mkimage.o [ 358s] HOSTCC tools/proftool [ 358s] HOSTCC tools/prelink-riscv [ 358s] HOSTCC tools/fdtgrep.o [ 358s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 358s] HOSTCC tools/spl_size_limit [ 359s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 359s] HOSTLD tools/gen_ethaddr_crc [ 359s] HOSTLD tools/mkenvimage [ 359s] HOSTLD tools/dumpimage [ 359s] HOSTLD tools/mkimage [ 360s] HOSTLD tools/fdtgrep [ 360s] CC arch/riscv/cpu/cpu.o [ 360s] AS arch/riscv/cpu/mtrap.o [ 360s] AS arch/riscv/cpu/start.o [ 360s] CC arch/riscv/cpu/c9xx/cpu.o [ 360s] CC arch/riscv/cpu/c9xx/dram.o [ 360s] CC board/thead/common/board_common.o [ 360s] In file included from include/linux/bitops.h:136, [ 360s] from include/common.h:26, [ 360s] from arch/riscv/cpu/cpu.c:6: [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 360s] 98 | out = __test_and_clear_bit(nr, addr); [ 360s] | ^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 360s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 360s] | ~~~~~~^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 360s] 95 | unsigned long flags = 0; [ 360s] | ^~~~~ [ 360s] CC board/thead/light-c910/light.o [ 360s] In file included from include/linux/bitops.h:136, [ 360s] from include/common.h:26, [ 360s] from arch/riscv/cpu/c9xx/dram.c:7: [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 360s] 98 | out = __test_and_clear_bit(nr, addr); [ 360s] | ^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 360s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 360s] | ~~~~~~^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 360s] 95 | unsigned long flags = 0; [ 360s] | ^~~~~ [ 360s] In file included from include/linux/bitops.h:136, [ 360s] from include/common.h:26, [ 360s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 360s] 98 | out = __test_and_clear_bit(nr, addr); [ 360s] | ^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 360s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 360s] | ~~~~~~^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 360s] 95 | unsigned long flags = 0; [ 360s] | ^~~~~ [ 360s] In file included from include/linux/bitops.h:136, [ 360s] from include/common.h:26, [ 360s] from board/thead/common/board_common.c:7: [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 360s] 98 | out = __test_and_clear_bit(nr, addr); [ 360s] | ^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 360s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 360s] | ~~~~~~^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 360s] 95 | unsigned long flags = 0; [ 360s] | ^~~~~ [ 360s] In file included from include/linux/bitops.h:136, [ 360s] from include/common.h:26, [ 360s] from board/thead/light-c910/light.c:7: [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 360s] CC arch/riscv/lib/bootm.o [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 360s] 98 | out = __test_and_clear_bit(nr, addr); [ 360s] | ^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 360s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 360s] | ~~~~~~^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 360s] 95 | unsigned long flags = 0; [ 360s] | ^~~~~ [ 360s] In file included from include/linux/bitops.h:136, [ 360s] from include/common.h:26, [ 360s] from arch/riscv/lib/bootm.c:9: [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 360s] 98 | out = __test_and_clear_bit(nr, addr); [ 360s] | ^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 360s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 360s] | ~~~~~~^~~~ [ 360s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 360s] 95 | unsigned long flags = 0; [ 360s] | ^~~~~ [ 360s] board/thead/light-c910/light.c: In function 'do_board_check_hibernate': [ 360s] board/thead/light-c910/light.c:2563:14: warning: variable 'fastresume' set but not used [-Wunused-but-set-variable] [ 360s] 2563 | bool fastresume = 0; [ 360s] | ^~~~~~~~~~ [ 360s] board/thead/light-c910/light.c: In function 'do_fixup_memory_region': [ 360s] board/thead/light-c910/light.c:2728:90: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] [ 360s] 2728 | printf("fixup memory region from [0x%09lx ~ 0x%09lx] to [0x%09lx ~ 0x%09lx]\n", [ 360s] | ~~~~^ [ 360s] | | [ 360s] | long unsigned int [ 360s] | %09llx [ 360s] 2729 | gd->ram_base, gd->ram_base+gd->ram_size, gd->ram_base, gd->ram_base+size); [ 360s] | ~~~~~~~~~~~~~~~~~ [ 360s] | | [ 360s] | long long unsigned int [ 360s] board/thead/light-c910/light.c:2709:13: warning: variable 'base' set but not used [-Wunused-but-set-variable] [ 360s] 2709 | u64 base, size; [ 360s] | ^~~~ [ 360s] arch/riscv/lib/bootm.c: At top level: [ 360s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 360s] 34 | extern void secondary_entry(); [ 360s] | ^~~~~~ [ 361s] CC board/thead/light-c910/board.o [ 361s] In file included from include/linux/bitops.h:136, [ 361s] from include/common.h:26, [ 361s] from board/thead/light-c910/board.c:7: [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 361s] 98 | out = __test_and_clear_bit(nr, addr); [ 361s] | ^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 361s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 361s] | ~~~~~~^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 361s] 95 | unsigned long flags = 0; [ 361s] | ^~~~~ [ 361s] CC board/thead/light-c910/clock_config.o [ 361s] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 361s] board/thead/light-c910/board.c:283:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 361s] 283 | int sc_err = SC_FAIL; [ 361s] | ^~~~~~ [ 361s] In file included from include/linux/bitops.h:136, [ 361s] from include/common.h:26, [ 361s] from board/thead/light-c910/clock_config.c:7: [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 361s] 98 | out = __test_and_clear_bit(nr, addr); [ 361s] | ^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 361s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 361s] | ~~~~~~^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 361s] 95 | unsigned long flags = 0; [ 361s] | ^~~~~ [ 361s] LD board/thead/common/built-in.o [ 361s] CC board/thead/light-c910/sec_check.o [ 361s] CC arch/riscv/lib/image.o [ 361s] In file included from include/linux/bitops.h:136, [ 361s] from include/common.h:26, [ 361s] from board/thead/light-c910/sec_check.c:7: [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 361s] 98 | out = __test_and_clear_bit(nr, addr); [ 361s] | ^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 361s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 361s] | ~~~~~~^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 361s] 95 | unsigned long flags = 0; [ 361s] | ^~~~~ [ 361s] LD arch/riscv/cpu/built-in.o [ 361s] In file included from include/linux/bitops.h:136, [ 361s] from include/common.h:26, [ 361s] from arch/riscv/lib/image.c:9: [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 361s] 98 | out = __test_and_clear_bit(nr, addr); [ 361s] | ^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 361s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 361s] | ~~~~~~^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 361s] 95 | unsigned long flags = 0; [ 361s] | ^~~~~ [ 361s] CC arch/riscv/lib/boot.o [ 361s] CC arch/riscv/cpu/c9xx/feature.o [ 361s] In file included from include/linux/bitops.h:136, [ 361s] from include/common.h:26, [ 361s] from arch/riscv/lib/boot.c:7: [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 361s] 98 | out = __test_and_clear_bit(nr, addr); [ 361s] | ^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 361s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 361s] | ~~~~~~^~~~ [ 361s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 361s] 95 | unsigned long flags = 0; [ 361s] | ^~~~~ [ 362s] In file included from include/linux/bitops.h:136, [ 362s] from include/common.h:26, [ 362s] from arch/riscv/cpu/c9xx/feature.c:1: [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 362s] 98 | out = __test_and_clear_bit(nr, addr); [ 362s] | ^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 362s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 362s] | ~~~~~~^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 362s] 95 | unsigned long flags = 0; [ 362s] | ^~~~~ [ 362s] CC board/thead/light-c910/boot.o [ 362s] In file included from include/linux/bitops.h:136, [ 362s] from include/common.h:26, [ 362s] from board/thead/light-c910/boot.c:3: [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 362s] 98 | out = __test_and_clear_bit(nr, addr); [ 362s] | ^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 362s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 362s] | ~~~~~~^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 362s] 95 | unsigned long flags = 0; [ 362s] | ^~~~~ [ 362s] LD cmd/riscv/built-in.o [ 362s] CC cmd/boot.o [ 362s] CC arch/riscv/lib/cache.o [ 362s] In file included from include/linux/bitops.h:136, [ 362s] from include/common.h:26, [ 362s] from cmd/boot.c:10: [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 362s] 98 | out = __test_and_clear_bit(nr, addr); [ 362s] | ^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 362s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 362s] | ~~~~~~^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 362s] 95 | unsigned long flags = 0; [ 362s] | ^~~~~ [ 362s] CC board/thead/light-c910/sbmeta/sbmeta.o [ 362s] In file included from include/linux/bitops.h:136, [ 362s] from include/common.h:26, [ 362s] from arch/riscv/lib/cache.c:7: [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 362s] 98 | out = __test_and_clear_bit(nr, addr); [ 362s] | ^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 362s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 362s] | ~~~~~~^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 362s] 95 | unsigned long flags = 0; [ 362s] | ^~~~~ [ 362s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 362s] CC cmd/bootm.o [ 362s] In file included from include/linux/bitops.h:136, [ 362s] from include/common.h:26, [ 362s] from board/thead/light-c910/sbmeta/sbmeta.h:9, [ 362s] from board/thead/light-c910/sbmeta/sbmeta.c:6: [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 362s] 98 | out = __test_and_clear_bit(nr, addr); [ 362s] | ^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 362s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 362s] | ~~~~~~^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 362s] 95 | unsigned long flags = 0; [ 362s] | ^~~~~ [ 362s] In file included from include/linux/bitops.h:136, [ 362s] from include/common.h:26, [ 362s] from cmd/bootm.c:10: [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 362s] 98 | out = __test_and_clear_bit(nr, addr); [ 362s] | ^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 362s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 362s] | ~~~~~~^~~~ [ 362s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 362s] 95 | unsigned long flags = 0; [ 362s] | ^~~~~ [ 363s] LD arch/riscv/cpu/c9xx/built-in.o [ 363s] CC cmd/help.o [ 363s] CC common/init/board_init.o [ 363s] In file included from include/linux/bitops.h:136, [ 363s] from include/common.h:26, [ 363s] from common/init/board_init.c:9: [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 363s] 98 | out = __test_and_clear_bit(nr, addr); [ 363s] | ^~~~ [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 363s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 363s] | ~~~~~~^~~~ [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 363s] 95 | unsigned long flags = 0; [ 363s] | ^~~~~ [ 363s] In file included from include/linux/bitops.h:136, [ 363s] from include/common.h:26, [ 363s] from cmd/help.c:7: [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 363s] 98 | out = __test_and_clear_bit(nr, addr); [ 363s] | ^~~~ [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 363s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 363s] | ~~~~~~^~~~ [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 363s] 95 | unsigned long flags = 0; [ 363s] | ^~~~~ [ 363s] CC common/main.o [ 363s] In file included from include/linux/bitops.h:136, [ 363s] from include/common.h:26, [ 363s] from common/main.c:9: [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 363s] 98 | out = __test_and_clear_bit(nr, addr); [ 363s] | ^~~~ [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 363s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 363s] | ~~~~~~^~~~ [ 363s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 363s] 95 | unsigned long flags = 0; [ 363s] | ^~~~~ [ 363s] CC common/exports.o [ 363s] CC arch/riscv/lib/thead_ipi.o [ 364s] CC arch/riscv/lib/rdtime.o [ 364s] In file included from include/linux/bitops.h:136, [ 364s] from include/common.h:26, [ 364s] from common/exports.c:1: [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 364s] 98 | out = __test_and_clear_bit(nr, addr); [ 364s] | ^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 364s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 364s] | ~~~~~~^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 364s] 95 | unsigned long flags = 0; [ 364s] | ^~~~~ [ 364s] CC arch/riscv/lib/interrupts.o [ 364s] In file included from include/linux/bitops.h:136, [ 364s] from include/common.h:26, [ 364s] from arch/riscv/lib/rdtime.c:10: [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 364s] 98 | out = __test_and_clear_bit(nr, addr); [ 364s] | ^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 364s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 364s] | ~~~~~~^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 364s] 95 | unsigned long flags = 0; [ 364s] | ^~~~~ [ 364s] In file included from include/linux/bitops.h:136, [ 364s] from include/common.h:26, [ 364s] from arch/riscv/lib/interrupts.c:10: [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 364s] 98 | out = __test_and_clear_bit(nr, addr); [ 364s] | ^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 364s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 364s] | ~~~~~~^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 364s] 95 | unsigned long flags = 0; [ 364s] | ^~~~~ [ 364s] CC cmd/version.o [ 364s] LD common/init/built-in.o [ 364s] CC board/thead/light-c910/lpddr4/src/ddr_retention.o [ 364s] In file included from include/linux/bitops.h:136, [ 364s] from include/common.h:26, [ 364s] from cmd/version.c:7: [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 364s] 98 | out = __test_and_clear_bit(nr, addr); [ 364s] | ^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 364s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 364s] | ~~~~~~^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 364s] 95 | unsigned long flags = 0; [ 364s] | ^~~~~ [ 364s] CC common/hash.o [ 364s] In file included from include/linux/bitops.h:136, [ 364s] from include/common.h:26, [ 364s] from common/hash.c:13: [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 364s] 98 | out = __test_and_clear_bit(nr, addr); [ 364s] | ^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 364s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 364s] | ~~~~~~^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 364s] 95 | unsigned long flags = 0; [ 364s] | ^~~~~ [ 364s] CC common/cli_hush.o [ 364s] In file included from include/linux/bitops.h:136, [ 364s] from include/common.h:26, [ 364s] from common/cli_hush.c:78: [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 364s] 98 | out = __test_and_clear_bit(nr, addr); [ 364s] | ^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 364s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 364s] | ~~~~~~^~~~ [ 364s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 364s] 95 | unsigned long flags = 0; [ 364s] | ^~~~~ [ 365s] CC arch/riscv/lib/reset.o [ 365s] CC common/autoboot.o [ 365s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 365s] In file included from include/linux/bitops.h:136, [ 365s] from include/common.h:26, [ 365s] from common/autoboot.c:7: [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 365s] 98 | out = __test_and_clear_bit(nr, addr); [ 365s] | ^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 365s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 365s] | ~~~~~~^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 365s] 95 | unsigned long flags = 0; [ 365s] | ^~~~~ [ 365s] In file included from include/linux/bitops.h:136, [ 365s] from include/common.h:26, [ 365s] from arch/riscv/lib/reset.c:6: [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 365s] 98 | out = __test_and_clear_bit(nr, addr); [ 365s] | ^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 365s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 365s] | ~~~~~~^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 365s] 95 | unsigned long flags = 0; [ 365s] | ^~~~~ [ 365s] CC board/thead/light-c910/light-sv/pll_io_test.o [ 365s] In file included from include/linux/bitops.h:136, [ 365s] from include/common.h:26, [ 365s] from board/thead/light-c910/light-sv/pll_io_test.c:6: [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 365s] 98 | out = __test_and_clear_bit(nr, addr); [ 365s] | ^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 365s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 365s] | ~~~~~~^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 365s] 95 | unsigned long flags = 0; [ 365s] | ^~~~~ [ 365s] CC common/board_f.o [ 365s] In file included from include/linux/bitops.h:136, [ 365s] from include/common.h:26, [ 365s] from common/board_f.c:12: [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 365s] 98 | out = __test_and_clear_bit(nr, addr); [ 365s] | ^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 365s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 365s] | ~~~~~~^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 365s] 95 | unsigned long flags = 0; [ 365s] | ^~~~~ [ 365s] CC cmd/blk_common.o [ 365s] CC cmd/source.o [ 365s] In file included from include/linux/bitops.h:136, [ 365s] from include/common.h:26, [ 365s] from cmd/source.c:17: [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 365s] 98 | out = __test_and_clear_bit(nr, addr); [ 365s] | ^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 365s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 365s] | ~~~~~~^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 365s] 95 | unsigned long flags = 0; [ 365s] | ^~~~~ [ 365s] In file included from include/linux/bitops.h:136, [ 365s] from include/common.h:26, [ 365s] from cmd/blk_common.c:11: [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 365s] 98 | out = __test_and_clear_bit(nr, addr); [ 365s] | ^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 365s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 365s] | ~~~~~~^~~~ [ 365s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 365s] 95 | unsigned long flags = 0; [ 365s] | ^~~~~ [ 366s] CC board/thead/light-c910/light-sv/adc_test.o [ 366s] AS arch/riscv/lib/setjmp.o [ 366s] CC arch/riscv/lib/smp.o [ 366s] CC arch/riscv/lib/locks.o [ 366s] In file included from include/linux/bitops.h:136, [ 366s] from include/common.h:26, [ 366s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 366s] 98 | out = __test_and_clear_bit(nr, addr); [ 366s] | ^~~~ [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 366s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 366s] | ~~~~~~^~~~ [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 366s] 95 | unsigned long flags = 0; [ 366s] | ^~~~~ [ 366s] In file included from include/linux/bitops.h:136, [ 366s] from include/common.h:26, [ 366s] from arch/riscv/lib/smp.c:7: [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 366s] 98 | out = __test_and_clear_bit(nr, addr); [ 366s] | ^~~~ [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 366s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 366s] | ~~~~~~^~~~ [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 366s] 95 | unsigned long flags = 0; [ 366s] | ^~~~~ [ 366s] CC common/board_r.o [ 366s] In file included from include/linux/bitops.h:136, [ 366s] from include/common.h:26, [ 366s] from common/board_r.c:12: [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 366s] 98 | out = __test_and_clear_bit(nr, addr); [ 366s] | ^~~~ [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 366s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 366s] | ~~~~~~^~~~ [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 366s] 95 | unsigned long flags = 0; [ 366s] | ^~~~~ [ 366s] CC common/board_info.o [ 366s] CC common/bootm.o [ 366s] CC cmd/bdinfo.o [ 366s] In file included from include/linux/bitops.h:136, [ 366s] from include/common.h:26, [ 366s] from common/bootm.c:8: [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 366s] 98 | out = __test_and_clear_bit(nr, addr); [ 366s] | ^~~~ [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 366s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 366s] | ~~~~~~^~~~ [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 366s] 95 | unsigned long flags = 0; [ 366s] | ^~~~~ [ 366s] In file included from include/linux/bitops.h:136, [ 366s] from include/common.h:26, [ 366s] from common/board_info.c:3: [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 366s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] In file included from include/linux/bitops.h:136, [ 367s] from include/common.h:26, [ 367s] from cmd/bdinfo.c:10: [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] CC cmd/blkcache.o [ 367s] In file included from include/linux/bitops.h:136, [ 367s] from include/common.h:26, [ 367s] from cmd/blkcache.c:8: [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] CC common/bootm_os.o [ 367s] In file included from include/linux/bitops.h:136, [ 367s] from include/common.h:26, [ 367s] from common/bootm_os.c:7: [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] CC board/thead/light-c910/version_rollback.o [ 367s] LD arch/riscv/lib/built-in.o [ 367s] In file included from include/linux/bitops.h:136, [ 367s] from include/common.h:26, [ 367s] from board/thead/light-c910/version_rollback.c:7: [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] CC common/fdt_support.o [ 367s] CC disk/part.o [ 367s] In file included from include/linux/bitops.h:136, [ 367s] from include/common.h:26, [ 367s] from common/fdt_support.c:9: [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] In file included from include/linux/bitops.h:136, [ 367s] from include/common.h:26, [ 367s] from disk/part.c:7: [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] CC disk/part_efi.o [ 367s] In file included from include/linux/bitops.h:136, [ 367s] from include/common.h:26, [ 367s] from disk/part_efi.c:13: [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] CC cmd/bmp.o [ 367s] In file included from include/linux/bitops.h:136, [ 367s] from include/common.h:26, [ 367s] from cmd/bmp.c:11: [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 367s] 98 | out = __test_and_clear_bit(nr, addr); [ 367s] | ^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 367s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 367s] | ~~~~~~^~~~ [ 367s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 367s] 95 | unsigned long flags = 0; [ 367s] | ^~~~~ [ 367s] CC common/miiphyutil.o [ 368s] In file included from include/linux/bitops.h:136, [ 368s] from include/common.h:26, [ 368s] from common/miiphyutil.c:12: [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 368s] 98 | out = __test_and_clear_bit(nr, addr); [ 368s] | ^~~~ [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 368s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 368s] | ~~~~~~^~~~ [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 368s] 95 | unsigned long flags = 0; [ 368s] | ^~~~~ [ 368s] CC common/usb.o [ 368s] In file included from include/linux/bitops.h:136, [ 368s] from include/common.h:26, [ 368s] from common/usb.c:28: [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 368s] 98 | out = __test_and_clear_bit(nr, addr); [ 368s] | ^~~~ [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 368s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 368s] | ~~~~~~^~~~ [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 368s] 95 | unsigned long flags = 0; [ 368s] | ^~~~~ [ 368s] CC cmd/booti.o [ 368s] In file included from include/linux/bitops.h:136, [ 368s] from include/common.h:26, [ 368s] from cmd/booti.c:7: [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 368s] 98 | out = __test_and_clear_bit(nr, addr); [ 368s] | ^~~~ [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 368s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 368s] | ~~~~~~^~~~ [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 368s] 95 | unsigned long flags = 0; [ 368s] | ^~~~~ [ 368s] LD board/thead/light-c910/built-in.o [ 368s] CC cmd/console.o [ 368s] LD drivers/adc/built-in.o [ 368s] In file included from include/linux/bitops.h:136, [ 368s] from include/common.h:26, [ 368s] from cmd/console.c:10: [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 368s] 98 | out = __test_and_clear_bit(nr, addr); [ 368s] | ^~~~ [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 368s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 368s] | ~~~~~~^~~~ [ 368s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 368s] 95 | unsigned long flags = 0; [ 368s] | ^~~~~ [ 368s] LD drivers/ata/built-in.o [ 368s] CC common/usb_hub.o [ 369s] LD drivers/axi/built-in.o [ 369s] CC drivers/block/blk-uclass.o [ 369s] In file included from include/linux/bitops.h:136, [ 369s] from include/common.h:26, [ 369s] from drivers/block/blk-uclass.c:7: [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 369s] In file included from include/linux/bitops.h:136, [ 369s] from include/common.h:26, [ 369s] from common/usb_hub.c:24: [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 369s] 98 | out = __test_and_clear_bit(nr, addr); [ 369s] | ^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 369s] 98 | out = __test_and_clear_bit(nr, addr); [ 369s] | ^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 369s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 369s] | ~~~~~~^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 369s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 369s] | ~~~~~~^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 369s] 95 | unsigned long flags = 0; [ 369s] | ^~~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 369s] 95 | unsigned long flags = 0; [ 369s] | ^~~~~ [ 369s] CC drivers/block/blkcache.o [ 369s] CC common/iomux.o [ 369s] In file included from include/linux/bitops.h:136, [ 369s] from include/common.h:26, [ 369s] from common/iomux.c:7: [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 369s] 98 | out = __test_and_clear_bit(nr, addr); [ 369s] | ^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 369s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 369s] | ~~~~~~^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 369s] 95 | unsigned long flags = 0; [ 369s] | ^~~~~ [ 369s] In file included from include/linux/bitops.h:136, [ 369s] from include/common.h:26, [ 369s] from drivers/block/blkcache.c:8: [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 369s] 98 | out = __test_and_clear_bit(nr, addr); [ 369s] | ^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 369s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 369s] | ~~~~~~^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 369s] 95 | unsigned long flags = 0; [ 369s] | ^~~~~ [ 369s] LD disk/built-in.o [ 369s] CC cmd/cpu.o [ 369s] CC cmd/dm.o [ 369s] In file included from include/linux/bitops.h:136, [ 369s] from include/common.h:26, [ 369s] from cmd/dm.c:9: [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 369s] 98 | out = __test_and_clear_bit(nr, addr); [ 369s] | ^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 369s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 369s] | ~~~~~~^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 369s] 95 | unsigned long flags = 0; [ 369s] | ^~~~~ [ 369s] In file included from include/linux/bitops.h:136, [ 369s] from include/common.h:26, [ 369s] from cmd/cpu.c:8: [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 369s] 98 | out = __test_and_clear_bit(nr, addr); [ 369s] | ^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 369s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 369s] | ~~~~~~^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 369s] 95 | unsigned long flags = 0; [ 369s] | ^~~~~ [ 369s] CC common/splash.o [ 369s] In file included from include/linux/bitops.h:136, [ 369s] from include/common.h:26, [ 369s] from common/splash.c:23: [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 369s] 98 | out = __test_and_clear_bit(nr, addr); [ 369s] | ^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 369s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 369s] | ~~~~~~^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 369s] 95 | unsigned long flags = 0; [ 369s] | ^~~~~ [ 369s] CC cmd/echo.o [ 369s] In file included from include/linux/bitops.h:136, [ 369s] from include/common.h:26, [ 369s] from cmd/echo.c:7: [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 369s] 98 | out = __test_and_clear_bit(nr, addr); [ 369s] | ^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 369s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 369s] | ~~~~~~^~~~ [ 369s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 369s] 95 | unsigned long flags = 0; [ 369s] | ^~~~~ [ 369s] CC cmd/elf.o [ 370s] In file included from include/linux/bitops.h:136, [ 370s] from include/common.h:26, [ 370s] from cmd/elf.c:16: [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 370s] 98 | out = __test_and_clear_bit(nr, addr); [ 370s] | ^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 370s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 370s] | ~~~~~~^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 370s] 95 | unsigned long flags = 0; [ 370s] | ^~~~~ [ 370s] LD drivers/block/built-in.o [ 370s] CC common/menu.o [ 370s] CC cmd/exit.o [ 370s] LD drivers/board/built-in.o [ 370s] In file included from include/linux/bitops.h:136, [ 370s] from include/common.h:26, [ 370s] from common/menu.c:7: [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 370s] 98 | out = __test_and_clear_bit(nr, addr); [ 370s] | ^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 370s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 370s] | ~~~~~~^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 370s] 95 | unsigned long flags = 0; [ 370s] | ^~~~~ [ 370s] In file included from include/linux/bitops.h:136, [ 370s] from include/common.h:26, [ 370s] from cmd/exit.c:7: [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 370s] 98 | out = __test_and_clear_bit(nr, addr); [ 370s] | ^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 370s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 370s] | ~~~~~~^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 370s] 95 | unsigned long flags = 0; [ 370s] | ^~~~~ [ 370s] LD drivers/cache/built-in.o [ 370s] CC common/cli_readline.o [ 370s] LD drivers/clk/analogbits/built-in.o [ 370s] In file included from include/linux/bitops.h:136, [ 370s] from include/common.h:26, [ 370s] from common/cli_readline.c:11: [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 370s] 98 | out = __test_and_clear_bit(nr, addr); [ 370s] | ^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 370s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 370s] | ~~~~~~^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 370s] 95 | unsigned long flags = 0; [ 370s] | ^~~~~ [ 370s] CC cmd/ext4.o [ 370s] LD drivers/clk/imx/built-in.o [ 370s] In file included from include/linux/bitops.h:136, [ 370s] from include/common.h:26, [ 370s] from cmd/ext4.c:28: [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 370s] 98 | out = __test_and_clear_bit(nr, addr); [ 370s] | ^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 370s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 370s] | ~~~~~~^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 370s] 95 | unsigned long flags = 0; [ 370s] | ^~~~~ [ 370s] LD drivers/clk/tegra/built-in.o [ 370s] CC drivers/clk/clk-uclass.o [ 370s] In file included from include/linux/bitops.h:136, [ 370s] from include/common.h:26, [ 370s] from drivers/clk/clk-uclass.c:9: [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 370s] 98 | out = __test_and_clear_bit(nr, addr); [ 370s] | ^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 370s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 370s] | ~~~~~~^~~~ [ 370s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 370s] 95 | unsigned long flags = 0; [ 370s] | ^~~~~ [ 370s] CC drivers/core/device.o [ 371s] In file included from include/linux/bitops.h:136, [ 371s] from include/common.h:26, [ 371s] from drivers/core/device.c:11: [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 371s] 98 | out = __test_and_clear_bit(nr, addr); [ 371s] | ^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 371s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 371s] | ~~~~~~^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 371s] 95 | unsigned long flags = 0; [ 371s] | ^~~~~ [ 371s] CC cmd/ext2.o [ 371s] CC drivers/clk/clk_fixed_rate.o [ 371s] In file included from include/linux/bitops.h:136, [ 371s] from include/common.h:26, [ 371s] from drivers/clk/clk_fixed_rate.c:6: [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 371s] 98 | out = __test_and_clear_bit(nr, addr); [ 371s] | ^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 371s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 371s] | ~~~~~~^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 371s] 95 | unsigned long flags = 0; [ 371s] | ^~~~~ [ 371s] In file included from include/linux/bitops.h:136, [ 371s] from include/common.h:26, [ 371s] from include/fs.h:8, [ 371s] from cmd/ext2.c:22: [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 371s] 98 | out = __test_and_clear_bit(nr, addr); [ 371s] | ^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 371s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 371s] | ~~~~~~^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 371s] 95 | unsigned long flags = 0; [ 371s] | ^~~~~ [ 371s] CC cmd/fat.o [ 371s] In file included from include/linux/bitops.h:136, [ 371s] from include/common.h:26, [ 371s] from cmd/fat.c:10: [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 371s] 98 | out = __test_and_clear_bit(nr, addr); [ 371s] | ^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 371s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 371s] | ~~~~~~^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 371s] 95 | unsigned long flags = 0; [ 371s] | ^~~~~ [ 371s] CC common/cli_simple.o [ 371s] In file included from include/linux/bitops.h:136, [ 371s] from include/common.h:26, [ 371s] from common/cli_simple.c:11: [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 371s] 98 | out = __test_and_clear_bit(nr, addr); [ 371s] | ^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 371s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 371s] | ~~~~~~^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 371s] 95 | unsigned long flags = 0; [ 371s] | ^~~~~ [ 371s] CC common/bouncebuf.o [ 371s] In file included from include/linux/bitops.h:136, [ 371s] from include/common.h:26, [ 371s] from common/bouncebuf.c:8: [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 371s] 98 | out = __test_and_clear_bit(nr, addr); [ 371s] | ^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 371s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 371s] | ~~~~~~^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 371s] 95 | unsigned long flags = 0; [ 371s] | ^~~~~ [ 371s] CC cmd/fdt.o [ 371s] In file included from include/linux/bitops.h:136, [ 371s] from include/common.h:26, [ 371s] from cmd/fdt.c:10: [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 371s] 98 | out = __test_and_clear_bit(nr, addr); [ 371s] | ^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 371s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 371s] | ~~~~~~^~~~ [ 371s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 371s] 95 | unsigned long flags = 0; [ 371s] | ^~~~~ [ 371s] CC cmd/flash.o [ 372s] CC cmd/fs.o [ 372s] In file included from include/linux/bitops.h:136, [ 372s] from include/common.h:26, [ 372s] from cmd/fs.c:8: [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 372s] 98 | out = __test_and_clear_bit(nr, addr); [ 372s] | ^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 372s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 372s] | ~~~~~~^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 372s] 95 | unsigned long flags = 0; [ 372s] | ^~~~~ [ 372s] In file included from include/linux/bitops.h:136, [ 372s] from include/common.h:26, [ 372s] from cmd/flash.c:10: [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 372s] 98 | out = __test_and_clear_bit(nr, addr); [ 372s] | ^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 372s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 372s] | ~~~~~~^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 372s] 95 | unsigned long flags = 0; [ 372s] | ^~~~~ [ 372s] CC drivers/clk/clk_fixed_factor.o [ 372s] In file included from include/linux/bitops.h:136, [ 372s] from include/common.h:26, [ 372s] from drivers/clk/clk_fixed_factor.c:8: [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 372s] 98 | out = __test_and_clear_bit(nr, addr); [ 372s] | ^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 372s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 372s] | ~~~~~~^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 372s] 95 | unsigned long flags = 0; [ 372s] | ^~~~~ [ 372s] CC cmd/i2c.o [ 372s] In file included from include/linux/bitops.h:136, [ 372s] from include/common.h:26, [ 372s] from cmd/i2c.c:67: [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 372s] 98 | out = __test_and_clear_bit(nr, addr); [ 372s] | ^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 372s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 372s] | ~~~~~~^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 372s] 95 | unsigned long flags = 0; [ 372s] | ^~~~~ [ 372s] CC drivers/core/fdtaddr.o [ 372s] In file included from include/linux/bitops.h:136, [ 372s] from include/common.h:26, [ 372s] from drivers/core/fdtaddr.c:11: [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 372s] 98 | out = __test_and_clear_bit(nr, addr); [ 372s] | ^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 372s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 372s] | ~~~~~~^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 372s] 95 | unsigned long flags = 0; [ 372s] | ^~~~~ [ 372s] CC drivers/core/lists.o [ 372s] In file included from include/linux/bitops.h:136, [ 372s] from include/common.h:26, [ 372s] from drivers/core/lists.c:11: [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 372s] 98 | out = __test_and_clear_bit(nr, addr); [ 372s] | ^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 372s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 372s] | ~~~~~~^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 372s] 95 | unsigned long flags = 0; [ 372s] | ^~~~~ [ 372s] CC common/console.o [ 372s] In file included from include/linux/bitops.h:136, [ 372s] from include/common.h:26, [ 372s] from common/console.c:7: [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 372s] 98 | out = __test_and_clear_bit(nr, addr); [ 372s] | ^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 372s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 372s] | ~~~~~~^~~~ [ 372s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 372s] 95 | unsigned long flags = 0; [ 372s] | ^~~~~ [ 373s] CC cmd/itest.o [ 373s] CC drivers/core/root.o [ 373s] CC drivers/core/uclass.o [ 373s] LD drivers/clk/built-in.o [ 373s] In file included from include/linux/bitops.h:136, [ 373s] from include/common.h:26, [ 373s] from cmd/itest.c:14: [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 373s] 98 | out = __test_and_clear_bit(nr, addr); [ 373s] | ^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 373s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 373s] | ~~~~~~^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 373s] 95 | unsigned long flags = 0; [ 373s] | ^~~~~ [ 373s] In file included from include/linux/bitops.h:136, [ 373s] from include/common.h:26, [ 373s] from drivers/core/uclass.c:11: [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 373s] 98 | out = __test_and_clear_bit(nr, addr); [ 373s] | ^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 373s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 373s] | ~~~~~~^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 373s] 95 | unsigned long flags = 0; [ 373s] | ^~~~~ [ 373s] In file included from include/linux/bitops.h:136, [ 373s] from include/common.h:26, [ 373s] from drivers/core/root.c:9: [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 373s] 98 | out = __test_and_clear_bit(nr, addr); [ 373s] | ^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 373s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 373s] | ~~~~~~^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 373s] 95 | unsigned long flags = 0; [ 373s] | ^~~~~ [ 373s] LD drivers/dma/ti/built-in.o [ 373s] LD drivers/dma/built-in.o [ 373s] CC drivers/gpio/dwapb_gpio.o [ 373s] CC drivers/cpu/cpu-uclass.o [ 373s] CC drivers/crypto/fsl/sec.o [ 373s] In file included from include/linux/bitops.h:136, [ 373s] from include/common.h:26, [ 373s] from drivers/crypto/fsl/sec.c:6: [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 373s] 98 | out = __test_and_clear_bit(nr, addr); [ 373s] | ^~~~ [ 373s] In file included from include/linux/bitops.h:136, [ 373s] from include/common.h:26, [ 373s] from drivers/gpio/dwapb_gpio.c:8: [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 373s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 373s] | ~~~~~~^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 373s] 95 | unsigned long flags = 0; [ 373s] | ^~~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 373s] 98 | out = __test_and_clear_bit(nr, addr); [ 373s] | ^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 373s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 373s] | ~~~~~~^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 373s] 95 | unsigned long flags = 0; [ 373s] | ^~~~~ [ 373s] LD drivers/dfu/built-in.o [ 373s] In file included from include/linux/bitops.h:136, [ 373s] from include/common.h:26, [ 373s] from drivers/cpu/cpu-uclass.c:7: [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 373s] 98 | out = __test_and_clear_bit(nr, addr); [ 373s] | ^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 373s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 373s] | ~~~~~~^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 373s] 95 | unsigned long flags = 0; [ 373s] | ^~~~~ [ 373s] LD drivers/crypto/rsa_mod_exp/built-in.o [ 373s] CC cmd/load.o [ 373s] In file included from include/linux/bitops.h:136, [ 373s] from include/common.h:26, [ 373s] from cmd/load.c:10: [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 373s] 98 | out = __test_and_clear_bit(nr, addr); [ 373s] | ^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 373s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 373s] | ~~~~~~^~~~ [ 373s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 373s] 95 | unsigned long flags = 0; [ 373s] | ^~~~~ [ 374s] CC common/dlmalloc.o [ 374s] In file included from include/linux/bitops.h:136, [ 374s] from include/common.h:26, [ 374s] from common/dlmalloc.c:1: [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 374s] 98 | out = __test_and_clear_bit(nr, addr); [ 374s] | ^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 374s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 374s] | ~~~~~~^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 374s] 95 | unsigned long flags = 0; [ 374s] | ^~~~~ [ 374s] CC common/malloc_simple.o [ 374s] CC common/image.o [ 374s] In file included from include/linux/bitops.h:136, [ 374s] from include/common.h:26, [ 374s] from common/malloc_simple.c:10: [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 374s] 98 | out = __test_and_clear_bit(nr, addr); [ 374s] | ^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 374s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 374s] | ~~~~~~^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 374s] 95 | unsigned long flags = 0; [ 374s] | ^~~~~ [ 374s] In file included from include/linux/bitops.h:136, [ 374s] from include/common.h:26, [ 374s] from common/image.c:10: [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 374s] 98 | out = __test_and_clear_bit(nr, addr); [ 374s] | ^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 374s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 374s] | ~~~~~~^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 374s] 95 | unsigned long flags = 0; [ 374s] | ^~~~~ [ 374s] CC drivers/core/util.o [ 374s] In file included from include/linux/bitops.h:136, [ 374s] from include/common.h:26, [ 374s] from drivers/core/util.c:6: [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 374s] 98 | out = __test_and_clear_bit(nr, addr); [ 374s] | ^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 374s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 374s] | ~~~~~~^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 374s] 95 | unsigned long flags = 0; [ 374s] | ^~~~~ [ 374s] CC drivers/cpu/riscv_cpu.o [ 374s] In file included from include/linux/bitops.h:136, [ 374s] from include/common.h:26, [ 374s] from drivers/cpu/riscv_cpu.c:6: [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 374s] 98 | out = __test_and_clear_bit(nr, addr); [ 374s] | ^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 374s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 374s] | ~~~~~~^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 374s] 95 | unsigned long flags = 0; [ 374s] | ^~~~~ [ 374s] LD drivers/crypto/fsl/built-in.o [ 374s] CC drivers/gpio/gpio-uclass.o [ 374s] LD drivers/crypto/built-in.o [ 374s] In file included from include/linux/bitops.h:136, [ 374s] from include/common.h:26, [ 374s] from drivers/gpio/gpio-uclass.c:6: [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 374s] 98 | out = __test_and_clear_bit(nr, addr); [ 374s] | ^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 374s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 374s] | ~~~~~~^~~~ [ 374s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 374s] 95 | unsigned long flags = 0; [ 374s] | ^~~~~ [ 374s] CC common/image-fdt.o [ 375s] In file included from include/linux/bitops.h:136, [ 375s] from include/common.h:26, [ 375s] from common/image-fdt.c:11: [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 375s] 98 | out = __test_and_clear_bit(nr, addr); [ 375s] | ^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 375s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 375s] | ~~~~~~^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 375s] 95 | unsigned long flags = 0; [ 375s] | ^~~~~ [ 375s] CC cmd/mem.o [ 375s] In file included from include/linux/bitops.h:136, [ 375s] from include/common.h:26, [ 375s] from cmd/mem.c:13: [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 375s] 98 | out = __test_and_clear_bit(nr, addr); [ 375s] | ^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 375s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 375s] | ~~~~~~^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 375s] 95 | unsigned long flags = 0; [ 375s] | ^~~~~ [ 375s] CC drivers/core/device-remove.o [ 375s] CC drivers/i2c/i2c-uclass.o [ 375s] CC common/memsize.o [ 375s] In file included from include/linux/bitops.h:136, [ 375s] from include/common.h:26, [ 375s] from drivers/core/device-remove.c:11: [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 375s] 98 | out = __test_and_clear_bit(nr, addr); [ 375s] | ^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 375s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 375s] | ~~~~~~^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 375s] 95 | unsigned long flags = 0; [ 375s] | ^~~~~ [ 375s] In file included from include/linux/bitops.h:136, [ 375s] from include/common.h:26, [ 375s] from drivers/i2c/i2c-uclass.c:6: [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 375s] 98 | out = __test_and_clear_bit(nr, addr); [ 375s] | ^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 375s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 375s] | ~~~~~~^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 375s] 95 | unsigned long flags = 0; [ 375s] | ^~~~~ [ 375s] LD drivers/cpu/built-in.o [ 375s] In file included from include/linux/bitops.h:136, [ 375s] from include/common.h:26, [ 375s] from common/memsize.c:7: [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 375s] 98 | out = __test_and_clear_bit(nr, addr); [ 375s] | ^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 375s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 375s] | ~~~~~~^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 375s] 95 | unsigned long flags = 0; [ 375s] | ^~~~~ [ 375s] CC common/stdio.o [ 375s] CC drivers/i2c/designware_i2c.o [ 375s] In file included from include/linux/bitops.h:136, [ 375s] from include/common.h:26, [ 375s] from drivers/i2c/designware_i2c.c:8: [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 375s] 98 | out = __test_and_clear_bit(nr, addr); [ 375s] | ^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 375s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 375s] | ~~~~~~^~~~ [ 375s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 375s] 95 | unsigned long flags = 0; [ 375s] | ^~~~~ [ 375s] In file included from include/linux/bitops.h:136, [ 376s] from include/common.h:26, [ 376s] from common/stdio.c:12: [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 376s] 98 | out = __test_and_clear_bit(nr, addr); [ 376s] | ^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 376s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 376s] | ~~~~~~^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 376s] 95 | unsigned long flags = 0; [ 376s] | ^~~~~ [ 376s] CC drivers/gpio/pca953x_gpio.o [ 376s] In file included from include/linux/bitops.h:136, [ 376s] from include/common.h:26, [ 376s] from drivers/gpio/pca953x_gpio.c:22: [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 376s] 98 | out = __test_and_clear_bit(nr, addr); [ 376s] | ^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 376s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 376s] | ~~~~~~^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 376s] 95 | unsigned long flags = 0; [ 376s] | ^~~~~ [ 376s] CC cmd/mii.o [ 376s] LD drivers/net/mscc_eswitch/built-in.o [ 376s] LD drivers/net/ti/built-in.o [ 376s] In file included from include/linux/bitops.h:136, [ 376s] from include/common.h:26, [ 376s] from cmd/mii.c:11: [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 376s] 98 | out = __test_and_clear_bit(nr, addr); [ 376s] | ^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 376s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 376s] | ~~~~~~^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 376s] 95 | unsigned long flags = 0; [ 376s] | ^~~~~ [ 376s] CC drivers/net/designware.o [ 376s] In file included from include/linux/bitops.h:136, [ 376s] from include/common.h:26, [ 376s] from drivers/net/designware.c:11: [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 376s] 98 | out = __test_and_clear_bit(nr, addr); [ 376s] | ^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 376s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 376s] | ~~~~~~^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 376s] 95 | unsigned long flags = 0; [ 376s] | ^~~~~ [ 376s] CC drivers/core/simple-bus.o [ 376s] In file included from include/linux/bitops.h:136, [ 376s] from include/common.h:26, [ 376s] from drivers/core/simple-bus.c:6: [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 376s] 98 | out = __test_and_clear_bit(nr, addr); [ 376s] | ^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 376s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 376s] | ~~~~~~^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 376s] 95 | unsigned long flags = 0; [ 376s] | ^~~~~ [ 376s] CC common/cli.o [ 376s] CC drivers/net/phy/phy.o [ 376s] In file included from include/linux/bitops.h:136, [ 376s] from include/common.h:26, [ 376s] from common/cli.c:11: [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 376s] 98 | out = __test_and_clear_bit(nr, addr); [ 376s] | ^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 376s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 376s] | ~~~~~~^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 376s] 95 | unsigned long flags = 0; [ 376s] | ^~~~~ [ 376s] In file included from include/linux/bitops.h:136, [ 376s] from include/common.h:26, [ 376s] from drivers/net/phy/phy.c:10: [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 376s] 98 | out = __test_and_clear_bit(nr, addr); [ 376s] | ^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 376s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 376s] | ~~~~~~^~~~ [ 376s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 376s] 95 | unsigned long flags = 0; [ 376s] | ^~~~~ [ 377s] CC drivers/core/dump.o [ 377s] LD drivers/i2c/built-in.o [ 377s] In file included from include/linux/bitops.h:136, [ 377s] from include/common.h:26, [ 377s] from drivers/core/dump.c:6: [ 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] CC common/command.o [ 377s] In file included from include/linux/bitops.h:136, [ 377s] from include/common.h:26, [ 377s] from common/command.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] | ^~~~~ [ 377s] common/command.c: At top level: [ 377s] 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] [ 377s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 377s] | ^~~~~~~~~~~ [ 377s] In file included from include/image.h:45, [ 377s] from include/common.h:40: [ 377s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 377s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 377s] | ^~~~~~~~~~~ [ 377s] LD drivers/gpio/built-in.o [ 377s] CC drivers/net/phy/marvell.o [ 377s] CC cmd/mdio.o [ 377s] In file included from include/linux/bitops.h:136, [ 377s] from include/common.h:26, [ 377s] from drivers/net/phy/marvell.c:8: [ 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] In file included from include/linux/bitops.h:136, [ 377s] from include/common.h:26, [ 377s] from cmd/mdio.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] | ^~~~~ [ 377s] CC common/s_record.o [ 377s] CC drivers/fastboot/fb_common.o [ 377s] LD drivers/net/built-in.o [ 377s] In file included from include/linux/bitops.h:136, [ 377s] from include/common.h:26, [ 377s] from common/s_record.c:7: [ 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] In file included from include/linux/bitops.h:136, [ 377s] from include/common.h:26, [ 377s] from drivers/fastboot/fb_common.c:13: [ 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] CC drivers/fastboot/fb_getvar.o [ 377s] CC drivers/core/regmap.o [ 378s] In file included from include/linux/bitops.h:136, [ 378s] from include/common.h:26, [ 378s] from drivers/fastboot/fb_getvar.c:6: [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 378s] 98 | out = __test_and_clear_bit(nr, addr); [ 378s] | ^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 378s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 378s] | ~~~~~~^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 378s] 95 | unsigned long flags = 0; [ 378s] | ^~~~~ [ 378s] In file included from include/linux/bitops.h:136, [ 378s] from include/common.h:26, [ 378s] from drivers/core/regmap.c:7: [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 378s] 98 | out = __test_and_clear_bit(nr, addr); [ 378s] | ^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 378s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 378s] | ~~~~~~^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 378s] 95 | unsigned long flags = 0; [ 378s] | ^~~~~ [ 378s] CC common/xyzModem.o [ 378s] CC drivers/input/key_matrix.o [ 378s] In file included from include/linux/bitops.h:136, [ 378s] from include/common.h:26, [ 378s] from common/xyzModem.c:24: [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 378s] 98 | out = __test_and_clear_bit(nr, addr); [ 378s] | ^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 378s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 378s] | ~~~~~~^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 378s] 95 | unsigned long flags = 0; [ 378s] | ^~~~~ [ 378s] In file included from include/linux/bitops.h:136, [ 378s] from include/common.h:26, [ 378s] from drivers/input/key_matrix.c:9: [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 378s] 98 | out = __test_and_clear_bit(nr, addr); [ 378s] | ^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 378s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 378s] | ~~~~~~^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 378s] 95 | unsigned long flags = 0; [ 378s] | ^~~~~ [ 378s] CC drivers/net/phy/realtek.o [ 378s] In file included from include/linux/bitops.h:136, [ 378s] from include/common.h:26, [ 378s] from drivers/net/phy/realtek.c:9: [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 378s] 98 | out = __test_and_clear_bit(nr, addr); [ 378s] | ^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 378s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 378s] | ~~~~~~^~~~ [ 378s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 378s] 95 | unsigned long flags = 0; [ 378s] | ^~~~~ [ 378s] CC drivers/net/phy/mscc.o [ 378s] CC drivers/fastboot/fb_command.o [ 379s] In file included from include/linux/bitops.h:136, [ 379s] from include/common.h:26, [ 379s] from include/miiphy.h:17, [ 379s] from drivers/net/phy/mscc.c:12: [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 379s] 98 | out = __test_and_clear_bit(nr, addr); [ 379s] | ^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 379s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 379s] | ~~~~~~^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 379s] 95 | unsigned long flags = 0; [ 379s] | ^~~~~ [ 379s] In file included from include/linux/bitops.h:136, [ 379s] from include/common.h:26, [ 379s] from drivers/fastboot/fb_command.c:6: [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 379s] 98 | out = __test_and_clear_bit(nr, addr); [ 379s] | ^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 379s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 379s] | ~~~~~~^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 379s] 95 | unsigned long flags = 0; [ 379s] | ^~~~~ [ 379s] CC cmd/misc.o [ 379s] In file included from include/linux/bitops.h:136, [ 379s] from include/common.h:26, [ 379s] from cmd/misc.c:10: [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 379s] 98 | out = __test_and_clear_bit(nr, addr); [ 379s] | ^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 379s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 379s] | ~~~~~~^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 379s] 95 | unsigned long flags = 0; [ 379s] | ^~~~~ [ 379s] LD drivers/mailbox/built-in.o [ 379s] CC drivers/core/syscon-uclass.o [ 379s] In file included from include/linux/bitops.h:136, [ 379s] from include/common.h:26, [ 379s] from drivers/core/syscon-uclass.c:7: [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 379s] 98 | out = __test_and_clear_bit(nr, addr); [ 379s] | ^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 379s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 379s] | ~~~~~~^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 379s] 95 | unsigned long flags = 0; [ 379s] | ^~~~~ [ 379s] CC drivers/core/of_extra.o [ 379s] LD common/built-in.o [ 379s] In file included from include/linux/bitops.h:136, [ 379s] from include/common.h:26, [ 379s] from drivers/core/of_extra.c:7: [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 379s] 98 | out = __test_and_clear_bit(nr, addr); [ 379s] | ^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 379s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 379s] | ~~~~~~^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 379s] 95 | unsigned long flags = 0; [ 379s] | ^~~~~ [ 379s] LD drivers/input/built-in.o [ 379s] CC drivers/core/ofnode.o [ 379s] In file included from include/linux/bitops.h:136, [ 379s] from include/common.h:26, [ 379s] from drivers/core/ofnode.c:7: [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 379s] 98 | out = __test_and_clear_bit(nr, addr); [ 379s] | ^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 379s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 379s] | ~~~~~~^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 379s] 95 | unsigned long flags = 0; [ 379s] | ^~~~~ [ 379s] LD drivers/memory/built-in.o [ 379s] LD drivers/power/built-in.o [ 379s] CC drivers/fastboot/fb_mmc.o [ 379s] In file included from include/linux/bitops.h:136, [ 379s] from include/common.h:26, [ 379s] from drivers/fastboot/fb_mmc.c:7: [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 379s] 98 | out = __test_and_clear_bit(nr, addr); [ 379s] | ^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 379s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 379s] | ~~~~~~^~~~ [ 379s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 379s] 95 | unsigned long flags = 0; [ 379s] | ^~~~~ [ 380s] CC cmd/mmc.o [ 380s] CC drivers/misc/misc-uclass.o [ 380s] CC cmd/mtd.o [ 380s] In file included from include/linux/bitops.h:136, [ 380s] from include/common.h:26, [ 380s] from cmd/mmc.c:7: [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 380s] 98 | out = __test_and_clear_bit(nr, addr); [ 380s] | ^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 380s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 380s] | ~~~~~~^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 380s] 95 | unsigned long flags = 0; [ 380s] | ^~~~~ [ 380s] In file included from include/linux/bitops.h:136, [ 380s] from include/common.h:26, [ 380s] from drivers/misc/misc-uclass.c:6: [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 380s] 98 | out = __test_and_clear_bit(nr, addr); [ 380s] | ^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 380s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 380s] | ~~~~~~^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 380s] 95 | unsigned long flags = 0; [ 380s] | ^~~~~ [ 380s] In file included from include/linux/bitops.h:136, [ 380s] from include/common.h:26, [ 380s] from cmd/mtd.c:12: [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 380s] 98 | out = __test_and_clear_bit(nr, addr); [ 380s] | ^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 380s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 380s] | ~~~~~~^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 380s] 95 | unsigned long flags = 0; [ 380s] | ^~~~~ [ 380s] LD drivers/power/battery/built-in.o [ 380s] CC drivers/core/read_extra.o [ 380s] LD drivers/net/phy/built-in.o [ 380s] In file included from include/linux/bitops.h:136, [ 380s] from include/common.h:26, [ 380s] from drivers/core/read_extra.c:7: [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 380s] 98 | out = __test_and_clear_bit(nr, addr); [ 380s] | ^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 380s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 380s] | ~~~~~~^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 380s] 95 | unsigned long flags = 0; [ 380s] | ^~~~~ [ 380s] CC drivers/mmc/mmc.o [ 380s] In file included from include/linux/bitops.h:136, [ 380s] from include/common.h:26, [ 380s] from drivers/mmc/mmc.c:10: [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 380s] 98 | out = __test_and_clear_bit(nr, addr); [ 380s] | ^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 380s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 380s] | ~~~~~~^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 380s] 95 | unsigned long flags = 0; [ 380s] | ^~~~~ [ 380s] CC drivers/mtd/nand/core.o [ 380s] In file included from include/linux/bitops.h:136, [ 380s] from include/common.h:26, [ 380s] from drivers/mtd/nand/core.c:12: [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 380s] 98 | out = __test_and_clear_bit(nr, addr); [ 380s] | ^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 380s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 380s] | ~~~~~~^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 380s] 95 | unsigned long flags = 0; [ 380s] | ^~~~~ [ 380s] CC drivers/mtd/nand/spi/core.o [ 380s] In file included from include/linux/bitops.h:136, [ 380s] from include/common.h:26, [ 380s] from drivers/mtd/nand/spi/core.c:23: [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 380s] 98 | out = __test_and_clear_bit(nr, addr); [ 380s] | ^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 380s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 380s] | ~~~~~~^~~~ [ 380s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 380s] 95 | unsigned long flags = 0; [ 380s] | ^~~~~ [ 380s] LD drivers/fastboot/built-in.o [ 381s] CC drivers/phy/phy-uclass.o [ 381s] CC drivers/misc/light_regu.o [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from drivers/phy/phy-uclass.c:7: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from drivers/misc/light_regu.c:1: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 381s] LD drivers/core/built-in.o [ 381s] CC drivers/mtd/nand/spi/gigadevice.o [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from include/linux/mtd/spinand.h:20, [ 381s] from drivers/mtd/nand/spi/gigadevice.c:13: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 381s] CC drivers/mtd/nand/spi/macronix.o [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from include/linux/mtd/spinand.h:20, [ 381s] from drivers/mtd/nand/spi/macronix.c:12: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 381s] CC cmd/legacy-mtd-utils.o [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from cmd/legacy-mtd-utils.c:3: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 381s] CC drivers/mtd/nand/bbt.o [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from drivers/mtd/nand/bbt.c:12: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 381s] LD drivers/phy/built-in.o [ 381s] CC cmd/net.o [ 381s] In file included from include/linux/bitops.h:136, [ 381s] from include/common.h:26, [ 381s] from cmd/net.c:10: [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 381s] 98 | out = __test_and_clear_bit(nr, addr); [ 381s] | ^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 381s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 381s] | ~~~~~~^~~~ [ 381s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 381s] 95 | unsigned long flags = 0; [ 381s] | ^~~~~ [ 382s] CC drivers/mtd/nand/spi/micron.o [ 382s] CC drivers/mmc/mmc-uclass.o [ 382s] In file included from include/linux/bitops.h:136, [ 382s] from include/common.h:26, [ 382s] from include/linux/mtd/spinand.h:20, [ 382s] from drivers/mtd/nand/spi/micron.c:13: [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 382s] 98 | out = __test_and_clear_bit(nr, addr); [ 382s] | ^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 382s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 382s] | ~~~~~~^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 382s] 95 | unsigned long flags = 0; [ 382s] | ^~~~~ [ 382s] In file included from include/linux/bitops.h:136, [ 382s] from include/common.h:26, [ 382s] from drivers/mmc/mmc-uclass.c:7: [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 382s] 98 | out = __test_and_clear_bit(nr, addr); [ 382s] | ^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 382s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 382s] | ~~~~~~^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 382s] 95 | unsigned long flags = 0; [ 382s] | ^~~~~ [ 382s] CC cmd/part.o [ 382s] CC drivers/mmc/mmc_write.o [ 382s] In file included from include/linux/bitops.h:136, [ 382s] from include/common.h:26, [ 382s] from cmd/part.c:18: [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 382s] 98 | out = __test_and_clear_bit(nr, addr); [ 382s] | ^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 382s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 382s] | ~~~~~~^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 382s] 95 | unsigned long flags = 0; [ 382s] | ^~~~~ [ 382s] In file included from include/linux/bitops.h:136, [ 382s] from include/common.h:26, [ 382s] from drivers/mmc/mmc_write.c:10: [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 382s] 98 | out = __test_and_clear_bit(nr, addr); [ 382s] | ^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 382s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 382s] | ~~~~~~^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 382s] 95 | unsigned long flags = 0; [ 382s] | ^~~~~ [ 382s] LD drivers/phy/allwinner/built-in.o [ 382s] LD drivers/misc/built-in.o [ 382s] CC cmd/pxe.o [ 382s] In file included from include/linux/bitops.h:136, [ 382s] from include/common.h:26, [ 382s] from cmd/pxe.c:7: [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 382s] 98 | out = __test_and_clear_bit(nr, addr); [ 382s] | ^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 382s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 382s] | ~~~~~~^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 382s] 95 | unsigned long flags = 0; [ 382s] | ^~~~~ [ 382s] LD drivers/phy/marvell/built-in.o [ 382s] LD drivers/pwm/built-in.o [ 382s] CC cmd/pxe_utils.o [ 382s] LD drivers/mtd/nand/nandcore.o [ 382s] In file included from include/linux/bitops.h:136, [ 382s] from include/common.h:26, [ 382s] from cmd/pxe_utils.c:7: [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 382s] 98 | out = __test_and_clear_bit(nr, addr); [ 382s] | ^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 382s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 382s] | ~~~~~~^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 382s] 95 | unsigned long flags = 0; [ 382s] | ^~~~~ [ 382s] CC cmd/read.o [ 382s] In file included from include/linux/bitops.h:136, [ 382s] from include/common.h:26, [ 382s] from cmd/read.c:11: [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 382s] 98 | out = __test_and_clear_bit(nr, addr); [ 382s] | ^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 382s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 382s] | ~~~~~~^~~~ [ 382s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 382s] 95 | unsigned long flags = 0; [ 382s] | ^~~~~ [ 382s] CC drivers/mmc/mmc_boot.o [ 383s] In file included from include/linux/bitops.h:136, [ 383s] from include/common.h:26, [ 383s] from drivers/mmc/mmc_boot.c:7: [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 383s] 98 | out = __test_and_clear_bit(nr, addr); [ 383s] | ^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 383s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 383s] | ~~~~~~^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 383s] 95 | unsigned long flags = 0; [ 383s] | ^~~~~ [ 383s] CC drivers/mtd/nand/spi/winbond.o [ 383s] CC cmd/sf.o [ 383s] In file included from include/linux/bitops.h:136, [ 383s] from include/common.h:26, [ 383s] from include/linux/mtd/spinand.h:20, [ 383s] from drivers/mtd/nand/spi/winbond.c:14: [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 383s] 98 | out = __test_and_clear_bit(nr, addr); [ 383s] | ^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 383s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 383s] | ~~~~~~^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 383s] 95 | unsigned long flags = 0; [ 383s] | ^~~~~ [ 383s] In file included from include/linux/bitops.h:136, [ 383s] from include/common.h:26, [ 383s] from cmd/sf.c:8: [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 383s] 98 | out = __test_and_clear_bit(nr, addr); [ 383s] | ^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 383s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 383s] | ~~~~~~^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 383s] 95 | unsigned long flags = 0; [ 383s] | ^~~~~ [ 383s] CC drivers/mmc/dw_mmc.o [ 383s] CC drivers/mmc/snps_dw_mmc.o [ 383s] CC drivers/mmc/rpmb.o [ 383s] In file included from include/linux/bitops.h:136, [ 383s] from include/common.h:26, [ 383s] from drivers/mmc/dw_mmc.c:9: [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 383s] 98 | out = __test_and_clear_bit(nr, addr); [ 383s] | ^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 383s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 383s] | ~~~~~~^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 383s] 95 | unsigned long flags = 0; [ 383s] | ^~~~~ [ 383s] In file included from include/linux/bitops.h:136, [ 383s] from include/common.h:26, [ 383s] from drivers/mmc/snps_dw_mmc.c:10: [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 383s] 98 | out = __test_and_clear_bit(nr, addr); [ 383s] | ^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 383s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 383s] | ~~~~~~^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 383s] 95 | unsigned long flags = 0; [ 383s] | ^~~~~ [ 383s] In file included from include/linux/bitops.h:136, [ 383s] from include/common.h:26, [ 383s] from drivers/mmc/rpmb.c:11: [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 383s] 98 | out = __test_and_clear_bit(nr, addr); [ 383s] | ^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 383s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 383s] | ~~~~~~^~~~ [ 383s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 383s] 95 | unsigned long flags = 0; [ 383s] | ^~~~~ [ 383s] CC cmd/setexpr.o [ 383s] CC drivers/mmc/sdhci.o [ 384s] In file included from include/linux/bitops.h:136, [ 384s] from include/common.h:26, [ 384s] from cmd/setexpr.c:11: [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 384s] 98 | out = __test_and_clear_bit(nr, addr); [ 384s] | ^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 384s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 384s] | ~~~~~~^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 384s] 95 | unsigned long flags = 0; [ 384s] | ^~~~~ [ 384s] In file included from include/linux/bitops.h:136, [ 384s] from include/common.h:26, [ 384s] from drivers/mmc/sdhci.c:10: [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 384s] 98 | out = __test_and_clear_bit(nr, addr); [ 384s] | ^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 384s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 384s] | ~~~~~~^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 384s] 95 | unsigned long flags = 0; [ 384s] | ^~~~~ [ 384s] LD drivers/reset/built-in.o [ 384s] LD drivers/mtd/nand/spi/spinand.o [ 384s] LD drivers/power/domain/built-in.o [ 384s] LD drivers/mtd/nand/spi/built-in.o [ 384s] LD drivers/mtd/nand/built-in.o [ 384s] CC drivers/rtc/rtc-lib.o [ 384s] In file included from include/linux/bitops.h:136, [ 384s] from include/common.h:26, [ 384s] from drivers/rtc/rtc-lib.c:13: [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 384s] 98 | out = __test_and_clear_bit(nr, addr); [ 384s] | ^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 384s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 384s] | ~~~~~~^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 384s] 95 | unsigned long flags = 0; [ 384s] | ^~~~~ [ 384s] LD drivers/power/fuel_gauge/built-in.o [ 384s] LD drivers/mtd/onenand/built-in.o [ 384s] CC drivers/mmc/snps_sdhci.o [ 384s] CC drivers/mtd/mtdcore.o [ 384s] In file included from include/linux/bitops.h:136, [ 384s] from include/common.h:26, [ 384s] from drivers/mmc/snps_sdhci.c:6: [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 384s] 98 | out = __test_and_clear_bit(nr, addr); [ 384s] | ^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 384s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 384s] | ~~~~~~^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 384s] 95 | unsigned long flags = 0; [ 384s] | ^~~~~ [ 384s] CC drivers/mtd/spi/sf-uclass.o [ 384s] LD drivers/power/mfd/built-in.o [ 384s] In file included from include/linux/bitops.h:136, [ 384s] from include/common.h:26, [ 384s] from include/ubi_uboot.h:17, [ 384s] from drivers/mtd/mtdcore.c:30: [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 384s] 98 | out = __test_and_clear_bit(nr, addr); [ 384s] | ^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 384s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 384s] | ~~~~~~^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 384s] 95 | unsigned long flags = 0; [ 384s] | ^~~~~ [ 384s] In file included from include/linux/bitops.h:136, [ 384s] from include/common.h:26, [ 384s] from drivers/mtd/spi/sf-uclass.c:6: [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 384s] 98 | out = __test_and_clear_bit(nr, addr); [ 384s] | ^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 384s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 384s] | ~~~~~~^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 384s] 95 | unsigned long flags = 0; [ 384s] | ^~~~~ [ 384s] CC drivers/mtd/spi/sf_probe.o [ 384s] CC cmd/spi.o [ 384s] In file included from include/linux/bitops.h:136, [ 384s] from include/common.h:26, [ 384s] from drivers/mtd/spi/sf_probe.c:10: [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 384s] 98 | out = __test_and_clear_bit(nr, addr); [ 384s] | ^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 384s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 384s] | ~~~~~~^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 384s] 95 | unsigned long flags = 0; [ 384s] | ^~~~~ [ 384s] In file included from include/linux/bitops.h:136, [ 384s] from include/common.h:26, [ 384s] from cmd/spi.c:11: [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 384s] 98 | out = __test_and_clear_bit(nr, addr); [ 384s] | ^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 384s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 384s] | ~~~~~~^~~~ [ 384s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 384s] 95 | unsigned long flags = 0; [ 384s] | ^~~~~ [ 385s] CC drivers/mtd/spi/spi-nor-ids.o [ 385s] In file included from include/linux/bitops.h:136, [ 385s] from include/common.h:26, [ 385s] from drivers/mtd/spi/spi-nor-ids.c:9: [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 385s] 98 | out = __test_and_clear_bit(nr, addr); [ 385s] | ^~~~ [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 385s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 385s] | ~~~~~~^~~~ [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 385s] 95 | unsigned long flags = 0; [ 385s] | ^~~~~ [ 385s] LD drivers/rtc/built-in.o [ 385s] CC drivers/mtd/spi/spi-nor-core.o [ 385s] CC cmd/sysboot.o [ 385s] In file included from include/linux/bitops.h:136, [ 385s] from include/common.h:26, [ 385s] from drivers/mtd/spi/spi-nor-core.c:12: [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 385s] 98 | out = __test_and_clear_bit(nr, addr); [ 385s] | ^~~~ [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 385s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 385s] | ~~~~~~^~~~ [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 385s] 95 | unsigned long flags = 0; [ 385s] | ^~~~~ [ 385s] In file included from include/linux/bitops.h:136, [ 385s] from include/common.h:26, [ 385s] from cmd/sysboot.c:3: [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 385s] 98 | out = __test_and_clear_bit(nr, addr); [ 385s] | ^~~~ [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 385s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 385s] | ~~~~~~^~~~ [ 385s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 385s] 95 | unsigned long flags = 0; [ 385s] | ^~~~~ [ 385s] LD drivers/mmc/built-in.o [ 385s] LD drivers/scsi/built-in.o [ 385s] LD drivers/smem/built-in.o [ 385s] LD drivers/power/pmic/built-in.o [ 385s] LD drivers/power/regulator/built-in.o [ 386s] CC drivers/mtd/mtd_uboot.o [ 386s] CC drivers/mtd/mtd-uclass.o [ 386s] In file included from include/linux/bitops.h:136, [ 386s] from include/common.h:26, [ 386s] from drivers/mtd/mtd_uboot.c:6: [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 386s] 98 | out = __test_and_clear_bit(nr, addr); [ 386s] | ^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 386s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 386s] | ~~~~~~^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 386s] 95 | unsigned long flags = 0; [ 386s] | ^~~~~ [ 386s] CC drivers/mtd/mtdpart.o [ 386s] In file included from include/linux/bitops.h:136, [ 386s] from include/common.h:26, [ 386s] from drivers/mtd/mtd-uclass.c:6: [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 386s] 98 | out = __test_and_clear_bit(nr, addr); [ 386s] | ^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 386s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 386s] | ~~~~~~^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 386s] 95 | unsigned long flags = 0; [ 386s] | ^~~~~ [ 386s] LD drivers/soc/built-in.o [ 386s] CC drivers/serial/serial-uclass.o [ 386s] In file included from include/linux/bitops.h:136, [ 386s] from include/common.h:26, [ 386s] from drivers/mtd/mtdpart.c:20: [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 386s] 98 | out = __test_and_clear_bit(nr, addr); [ 386s] | ^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 386s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 386s] | ~~~~~~^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 386s] 95 | unsigned long flags = 0; [ 386s] | ^~~~~ [ 386s] In file included from include/linux/bitops.h:136, [ 386s] from include/common.h:26, [ 386s] from drivers/serial/serial-uclass.c:6: [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 386s] 98 | out = __test_and_clear_bit(nr, addr); [ 386s] | ^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 386s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 386s] | ~~~~~~^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 386s] 95 | unsigned long flags = 0; [ 386s] | ^~~~~ [ 386s] LD drivers/usb/cdns3/built-in.o [ 386s] CC drivers/spi/spi-uclass.o [ 386s] In file included from include/linux/bitops.h:136, [ 386s] from include/common.h:26, [ 386s] from drivers/spi/spi-uclass.c:6: [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 386s] 98 | out = __test_and_clear_bit(nr, addr); [ 386s] | ^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 386s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 386s] | ~~~~~~^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 386s] 95 | unsigned long flags = 0; [ 386s] | ^~~~~ [ 386s] CC drivers/spi/spi-mem.o [ 386s] In file included from include/linux/bitops.h:136, [ 386s] from include/common.h:26, [ 386s] from include/spi.h:12, [ 386s] from drivers/spi/spi-mem.c:14: [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 386s] 98 | out = __test_and_clear_bit(nr, addr); [ 386s] | ^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 386s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 386s] | ~~~~~~^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 386s] 95 | unsigned long flags = 0; [ 386s] | ^~~~~ [ 386s] CC cmd/test.o [ 386s] In file included from include/linux/bitops.h:136, [ 386s] from include/common.h:26, [ 386s] from cmd/test.c:7: [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 386s] 98 | out = __test_and_clear_bit(nr, addr); [ 386s] | ^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 386s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 386s] | ~~~~~~^~~~ [ 386s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 386s] 95 | unsigned long flags = 0; [ 386s] | ^~~~~ [ 386s] LD drivers/mtd/spi/spi-nor.o [ 387s] LD drivers/mtd/spi/built-in.o [ 387s] LD drivers/usb/common/built-in.o [ 387s] LD drivers/sound/built-in.o [ 387s] LD drivers/spmi/built-in.o [ 387s] LD drivers/thermal/built-in.o [ 387s] CC drivers/serial/ns16550.o [ 387s] In file included from include/linux/bitops.h:136, [ 387s] from include/common.h:26, [ 387s] from drivers/serial/ns16550.c:7: [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 387s] 98 | out = __test_and_clear_bit(nr, addr); [ 387s] | ^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 387s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 387s] | ~~~~~~^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 387s] 95 | unsigned long flags = 0; [ 387s] | ^~~~~ [ 387s] CC drivers/usb/dwc3/core.o [ 387s] CC drivers/spi/designware_spi.o [ 387s] LD drivers/usb/emul/built-in.o [ 387s] In file included from include/linux/bitops.h:136, [ 387s] from include/common.h:26, [ 387s] from drivers/usb/dwc3/core.c:16: [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 387s] 98 | out = __test_and_clear_bit(nr, addr); [ 387s] | ^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 387s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 387s] | ~~~~~~^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 387s] 95 | unsigned long flags = 0; [ 387s] | ^~~~~ [ 387s] In file included from include/linux/bitops.h:136, [ 387s] from include/common.h:26, [ 387s] from drivers/spi/designware_spi.c:12: [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 387s] 98 | out = __test_and_clear_bit(nr, addr); [ 387s] | ^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 387s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 387s] | ~~~~~~^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 387s] 95 | unsigned long flags = 0; [ 387s] | ^~~~~ [ 387s] LD drivers/usb/eth/built-in.o [ 387s] CC drivers/usb/dwc3/gadget.o [ 387s] LD drivers/mtd/mtd.o [ 387s] CC drivers/usb/dwc3/ep0.o [ 387s] In file included from include/linux/bitops.h:136, [ 387s] from include/common.h:26, [ 387s] from drivers/usb/dwc3/gadget.c:16: [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 387s] 98 | out = __test_and_clear_bit(nr, addr); [ 387s] | ^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 387s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 387s] | ~~~~~~^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 387s] 95 | unsigned long flags = 0; [ 387s] | ^~~~~ [ 387s] LD drivers/mtd/built-in.o [ 387s] In file included from include/linux/bitops.h:136, [ 387s] from include/common.h:26, [ 387s] from drivers/usb/dwc3/ep0.c:15: [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 387s] 98 | out = __test_and_clear_bit(nr, addr); [ 387s] | ^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 387s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 387s] | ~~~~~~^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 387s] 95 | unsigned long flags = 0; [ 387s] | ^~~~~ [ 387s] CC drivers/spi/designware_qspi.o [ 387s] In file included from include/linux/bitops.h:136, [ 387s] from include/common.h:26, [ 387s] from drivers/spi/designware_qspi.c:12: [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 387s] 98 | out = __test_and_clear_bit(nr, addr); [ 387s] | ^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 387s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 387s] | ~~~~~~^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 387s] 95 | unsigned long flags = 0; [ 387s] | ^~~~~ [ 387s] CC drivers/timer/timer-uclass.o [ 387s] CC cmd/unzip.o [ 387s] In file included from include/linux/bitops.h:136, [ 387s] from include/common.h:26, [ 387s] from drivers/timer/timer-uclass.c:6: [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 387s] 98 | out = __test_and_clear_bit(nr, addr); [ 387s] | ^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 387s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 387s] | ~~~~~~^~~~ [ 387s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 387s] 95 | unsigned long flags = 0; [ 387s] | ^~~~~ [ 388s] In file included from include/linux/bitops.h:136, [ 388s] from include/common.h:26, [ 388s] from cmd/unzip.c:7: [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 388s] 98 | out = __test_and_clear_bit(nr, addr); [ 388s] | ^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 388s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 388s] | ~~~~~~^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 388s] 95 | unsigned long flags = 0; [ 388s] | ^~~~~ [ 388s] LD drivers/serial/built-in.o [ 388s] LD drivers/ufs/built-in.o [ 388s] CC cmd/lzmadec.o [ 388s] CC cmd/fastboot.o [ 388s] In file included from include/linux/bitops.h:136, [ 388s] from include/common.h:26, [ 388s] from cmd/lzmadec.c:12: [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 388s] CC cmd/usb_mass_storage.o [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 388s] 98 | out = __test_and_clear_bit(nr, addr); [ 388s] | ^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 388s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 388s] | ~~~~~~^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 388s] 95 | unsigned long flags = 0; [ 388s] | ^~~~~ [ 388s] In file included from include/linux/bitops.h:136, [ 388s] from include/common.h:26, [ 388s] from cmd/fastboot.c:9: [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 388s] 98 | out = __test_and_clear_bit(nr, addr); [ 388s] | ^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 388s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 388s] | ~~~~~~^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 388s] 95 | unsigned long flags = 0; [ 388s] | ^~~~~ [ 388s] In file included from include/linux/bitops.h:136, [ 388s] from include/common.h:26, [ 388s] from cmd/usb_mass_storage.c:10: [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 388s] 98 | out = __test_and_clear_bit(nr, addr); [ 388s] | ^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 388s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 388s] | ~~~~~~^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 388s] 95 | unsigned long flags = 0; [ 388s] | ^~~~~ [ 388s] LD drivers/spi/built-in.o [ 388s] CC drivers/timer/riscv_timer.o [ 388s] In file included from include/linux/bitops.h:136, [ 388s] from include/common.h:26, [ 388s] from drivers/timer/riscv_timer.c:14: [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 388s] 98 | out = __test_and_clear_bit(nr, addr); [ 388s] | ^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 388s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 388s] | ~~~~~~^~~~ [ 388s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 388s] 95 | unsigned long flags = 0; [ 388s] | ^~~~~ [ 389s] CC cmd/ximg.o [ 389s] CC cmd/gpt.o [ 389s] In file included from include/linux/bitops.h:136, [ 389s] from include/common.h:26, [ 389s] from cmd/ximg.c:14: [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 389s] 98 | out = __test_and_clear_bit(nr, addr); [ 389s] | ^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 389s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 389s] | ~~~~~~^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 389s] 95 | unsigned long flags = 0; [ 389s] | ^~~~~ [ 389s] In file included from include/linux/bitops.h:136, [ 389s] from include/common.h:26, [ 389s] from cmd/gpt.c:13: [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 389s] 98 | out = __test_and_clear_bit(nr, addr); [ 389s] | ^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 389s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 389s] | ~~~~~~^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 389s] 95 | unsigned long flags = 0; [ 389s] | ^~~~~ [ 389s] LD drivers/usb/dwc3/dwc3.o [ 389s] CC drivers/video/bridge/video-bridge-uclass.o [ 389s] LD drivers/usb/dwc3/built-in.o [ 389s] In file included from include/linux/bitops.h:136, [ 389s] from include/common.h:26, [ 389s] from drivers/video/bridge/video-bridge-uclass.c:7: [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 389s] 98 | out = __test_and_clear_bit(nr, addr); [ 389s] | ^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 389s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 389s] | ~~~~~~^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 389s] 95 | unsigned long flags = 0; [ 389s] | ^~~~~ [ 389s] CC drivers/video/light/vs_dpu.o [ 389s] In file included from include/linux/bitops.h:136, [ 389s] from include/common.h:26, [ 389s] from drivers/video/light/vs_dpu.c:3: [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 389s] 98 | out = __test_and_clear_bit(nr, addr); [ 389s] | ^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 389s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 389s] | ~~~~~~^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 389s] 95 | unsigned long flags = 0; [ 389s] | ^~~~~ [ 389s] CC drivers/video/light/dw_dsi_light.o [ 389s] In file included from include/linux/bitops.h:136, [ 389s] from include/common.h:26, [ 389s] from drivers/video/light/dw_dsi_light.c:3: [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 389s] 98 | out = __test_and_clear_bit(nr, addr); [ 389s] | ^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 389s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 389s] | ~~~~~~^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 389s] 95 | unsigned long flags = 0; [ 389s] | ^~~~~ [ 389s] LD drivers/video/sunxi/built-in.o [ 389s] CC cmd/ddrscan.o [ 389s] LD drivers/timer/built-in.o [ 389s] CC cmd/nvedit.o [ 389s] CC drivers/video/console_normal.o [ 389s] In file included from include/linux/bitops.h:136, [ 389s] from include/common.h:26, [ 389s] from cmd/ddrscan.c:11: [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 389s] 98 | out = __test_and_clear_bit(nr, addr); [ 389s] | ^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 389s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 389s] | ~~~~~~^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 389s] 95 | unsigned long flags = 0; [ 389s] | ^~~~~ [ 389s] In file included from include/linux/bitops.h:136, [ 389s] from include/common.h:26, [ 389s] from cmd/nvedit.c:26: [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 389s] 98 | out = __test_and_clear_bit(nr, addr); [ 389s] | ^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 389s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 389s] | ~~~~~~^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 389s] 95 | unsigned long flags = 0; [ 389s] | ^~~~~ [ 389s] In file included from include/linux/bitops.h:136, [ 389s] from include/common.h:26, [ 389s] from drivers/video/console_normal.c:10: [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 389s] 98 | out = __test_and_clear_bit(nr, addr); [ 389s] | ^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 389s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 389s] | ~~~~~~^~~~ [ 389s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 389s] 95 | unsigned long flags = 0; [ 389s] | ^~~~~ [ 390s] CC drivers/video/backlight-uclass.o [ 390s] In file included from include/linux/bitops.h:136, [ 390s] from include/common.h:26, [ 390s] from drivers/video/backlight-uclass.c:7: [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 390s] 98 | out = __test_and_clear_bit(nr, addr); [ 390s] | ^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 390s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 390s] | ~~~~~~^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 390s] 95 | unsigned long flags = 0; [ 390s] | ^~~~~ [ 390s] LD drivers/watchdog/built-in.o [ 390s] CC drivers/usb/gadget/epautoconf.o [ 390s] In file included from include/linux/bitops.h:136, [ 390s] from include/common.h:26, [ 390s] from drivers/usb/gadget/epautoconf.c:11: [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 390s] 98 | out = __test_and_clear_bit(nr, addr); [ 390s] | ^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 390s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 390s] | ~~~~~~^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 390s] 95 | unsigned long flags = 0; [ 390s] | ^~~~~ [ 390s] LD drivers/video/bridge/built-in.o [ 390s] CC drivers/usb/gadget/config.o [ 390s] CC drivers/video/dsi-host-uclass.o [ 390s] In file included from include/linux/bitops.h:136, [ 390s] from include/common.h:26, [ 390s] from drivers/video/dsi-host-uclass.c:8: [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 390s] 98 | out = __test_and_clear_bit(nr, addr); [ 390s] | ^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 390s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 390s] | ~~~~~~^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 390s] 95 | unsigned long flags = 0; [ 390s] | ^~~~~ [ 390s] In file included from include/linux/bitops.h:136, [ 390s] from include/common.h:26, [ 390s] from drivers/usb/gadget/config.c:11: [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 390s] 98 | out = __test_and_clear_bit(nr, addr); [ 390s] | ^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 390s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 390s] | ~~~~~~^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 390s] 95 | unsigned long flags = 0; [ 390s] | ^~~~~ [ 390s] CC drivers/video/light/dw_dsi_host.o [ 390s] In file included from include/linux/bitops.h:136, [ 390s] from include/common.h:26, [ 390s] from drivers/video/light/dw_dsi_host.c:3: [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 390s] 98 | out = __test_and_clear_bit(nr, addr); [ 390s] | ^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 390s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 390s] | ~~~~~~^~~~ [ 390s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 390s] 95 | unsigned long flags = 0; [ 390s] | ^~~~~ [ 391s] CC drivers/video/light/phy-dw-dphy.o [ 391s] In file included from include/linux/bitops.h:136, [ 391s] from include/common.h:26, [ 391s] from drivers/video/light/phy-dw-dphy.c:3: [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 391s] 98 | out = __test_and_clear_bit(nr, addr); [ 391s] | ^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 391s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 391s] | ~~~~~~^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 391s] 95 | unsigned long flags = 0; [ 391s] | ^~~~~ [ 391s] CC drivers/usb/gadget/udc/udc-core.o [ 391s] LD cmd/built-in.o [ 391s] LD drivers/usb/host/built-in.o [ 391s] In file included from include/linux/bitops.h:136, [ 391s] from include/common.h:26, [ 391s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 391s] from drivers/usb/gadget/udc/udc-core.c:19: [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 391s] 98 | out = __test_and_clear_bit(nr, addr); [ 391s] | ^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 391s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 391s] | ~~~~~~^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 391s] 95 | unsigned long flags = 0; [ 391s] | ^~~~~ [ 391s] CC drivers/usb/gadget/udc/udc-uclass.o [ 391s] In file included from include/linux/bitops.h:136, [ 391s] from include/common.h:26, [ 391s] from drivers/usb/gadget/udc/udc-uclass.c:7: [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 391s] 98 | out = __test_and_clear_bit(nr, addr); [ 391s] | ^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 391s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 391s] | ~~~~~~^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 391s] 95 | unsigned long flags = 0; [ 391s] | ^~~~~ [ 391s] CC drivers/usb/gadget/usbstring.o [ 391s] In file included from include/linux/bitops.h:136, [ 391s] from include/common.h:26, [ 391s] from drivers/usb/gadget/usbstring.c:9: [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 391s] 98 | out = __test_and_clear_bit(nr, addr); [ 391s] | ^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 391s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 391s] | ~~~~~~^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 391s] 95 | unsigned long flags = 0; [ 391s] | ^~~~~ [ 391s] CC drivers/usb/gadget/g_dnl.o [ 391s] LD drivers/usb/musb/built-in.o [ 391s] In file included from include/linux/bitops.h:136, [ 391s] from include/common.h:26, [ 391s] from drivers/usb/gadget/g_dnl.c:9: [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 391s] 98 | out = __test_and_clear_bit(nr, addr); [ 391s] | ^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 391s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 391s] | ~~~~~~^~~~ [ 391s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 391s] 95 | unsigned long flags = 0; [ 391s] | ^~~~~ [ 391s] LD drivers/usb/phy/built-in.o [ 391s] CC drivers/usb/gadget/f_mass_storage.o [ 392s] In file included from include/linux/bitops.h:136, [ 392s] from include/common.h:26, [ 392s] from drivers/usb/gadget/f_mass_storage.c:245: [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 392s] 98 | out = __test_and_clear_bit(nr, addr); [ 392s] | ^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 392s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 392s] | ~~~~~~^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 392s] 95 | unsigned long flags = 0; [ 392s] | ^~~~~ [ 392s] CC drivers/usb/gadget/f_fastboot.o [ 392s] LD drivers/usb/musb-new/built-in.o [ 392s] In file included from include/linux/bitops.h:136, [ 392s] from include/common.h:26, [ 392s] from drivers/usb/gadget/f_fastboot.c:14: [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 392s] 98 | out = __test_and_clear_bit(nr, addr); [ 392s] | ^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 392s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 392s] | ~~~~~~^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 392s] 95 | unsigned long flags = 0; [ 392s] | ^~~~~ [ 392s] LD drivers/usb/ulpi/built-in.o [ 392s] LD drivers/video/light/built-in.o [ 392s] LD drivers/usb/gadget/udc/built-in.o [ 392s] CC drivers/video/panel-uclass.o [ 392s] CC drivers/video/simple_panel.o [ 392s] DTC arch/riscv/dts/light-a-ref.dtb [ 392s] In file included from include/linux/bitops.h:136, [ 392s] from include/common.h:26, [ 392s] from drivers/video/panel-uclass.c:7: [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 392s] 98 | out = __test_and_clear_bit(nr, addr); [ 392s] | ^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 392s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 392s] | ~~~~~~^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 392s] 95 | unsigned long flags = 0; [ 392s] | ^~~~~ [ 392s] In file included from include/linux/bitops.h:136, [ 392s] from include/common.h:26, [ 392s] from drivers/video/simple_panel.c:7: [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 392s] 98 | out = __test_and_clear_bit(nr, addr); [ 392s] | ^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 392s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 392s] | ~~~~~~^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 392s] 95 | unsigned long flags = 0; [ 392s] | ^~~~~ [ 392s] CC env/common.o [ 392s] In file included from include/linux/bitops.h:136, [ 392s] from include/common.h:26, [ 392s] from env/common.c:10: [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 392s] 98 | out = __test_and_clear_bit(nr, addr); [ 392s] | ^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 392s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 392s] | ~~~~~~^~~~ [ 392s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 392s] 95 | unsigned long flags = 0; [ 392s] | ^~~~~ [ 392s] DTC arch/riscv/dts/light-b-ref.dtb [ 393s] CC drivers/video/video-uclass.o [ 393s] DTC arch/riscv/dts/light-a-val.dtb [ 393s] In file included from include/linux/bitops.h:136, [ 393s] from include/common.h:26, [ 393s] from drivers/video/video-uclass.c:6: [ 393s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 393s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 393s] 98 | out = __test_and_clear_bit(nr, addr); [ 393s] | ^~~~ [ 393s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 393s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 393s] | ~~~~~~^~~~ [ 393s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 393s] 95 | unsigned long flags = 0; [ 393s] | ^~~~~ [ 393s] CC env/env.o [ 393s] DTC arch/riscv/dts/light-b-product.dtb [ 393s] In file included from include/linux/bitops.h:136, [ 393s] from include/common.h:26, [ 393s] from env/env.c:7: [ 393s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 393s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 393s] 98 | out = __test_and_clear_bit(nr, addr); [ 393s] | ^~~~ [ 393s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 393s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 393s] | ~~~~~~^~~~ [ 393s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 393s] 95 | unsigned long flags = 0; [ 393s] | ^~~~~ [ 393s] LD drivers/usb/gadget/built-in.o [ 393s] DTC arch/riscv/dts/light-a-product.dtb [ 393s] DTC arch/riscv/dts/light-ant-ref.dtb [ 394s] arch/riscv/dts/light-a-val.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 394s] CC drivers/video/vidconsole-uclass.o [ 394s] In file included from include/linux/bitops.h:136, [ 394s] from include/common.h:26, [ 394s] from drivers/video/vidconsole-uclass.c:10: [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 394s] 98 | out = __test_and_clear_bit(nr, addr); [ 394s] | ^~~~ [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 394s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 394s] | ~~~~~~^~~~ [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 394s] 95 | unsigned long flags = 0; [ 394s] | ^~~~~ [ 394s] CC env/attr.o [ 394s] In file included from include/linux/bitops.h:136, [ 394s] from include/common.h:26, [ 394s] from env/attr.c:12: [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 394s] 98 | out = __test_and_clear_bit(nr, addr); [ 394s] | ^~~~ [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 394s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 394s] | ~~~~~~^~~~ [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 394s] 95 | unsigned long flags = 0; [ 394s] | ^~~~~ [ 394s] CC fs/fat/fat_write.o [ 394s] In file included from include/linux/bitops.h:136, [ 394s] from include/common.h:26, [ 394s] from fs/fat/fat_write.c:8: [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 394s] 98 | out = __test_and_clear_bit(nr, addr); [ 394s] | ^~~~ [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 394s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 394s] | ~~~~~~^~~~ [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 394s] 95 | unsigned long flags = 0; [ 394s] | ^~~~~ [ 394s] CC fs/ext4/ext4fs.o [ 394s] In file included from include/linux/bitops.h:136, [ 394s] from include/common.h:26, [ 394s] from fs/ext4/ext4fs.c:23: [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 394s] 98 | out = __test_and_clear_bit(nr, addr); [ 394s] | ^~~~ [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 394s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 394s] | ~~~~~~^~~~ [ 394s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 394s] 95 | unsigned long flags = 0; [ 394s] | ^~~~~ [ 395s] CC fs/ext4/ext4_common.o [ 395s] CC fs/ext4/dev.o [ 395s] In file included from include/linux/bitops.h:136, [ 395s] from include/common.h:26, [ 395s] from fs/ext4/ext4_common.c:21: [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 395s] 98 | out = __test_and_clear_bit(nr, addr); [ 395s] | ^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 395s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 395s] | ~~~~~~^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 395s] 95 | unsigned long flags = 0; [ 395s] | ^~~~~ [ 395s] In file included from include/linux/bitops.h:136, [ 395s] from include/common.h:26, [ 395s] from fs/ext4/dev.c:25: [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 395s] 98 | out = __test_and_clear_bit(nr, addr); [ 395s] | ^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 395s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 395s] | ~~~~~~^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 395s] 95 | unsigned long flags = 0; [ 395s] | ^~~~~ [ 395s] CC fs/ext4/ext4_write.o [ 395s] In file included from include/linux/bitops.h:136, [ 395s] from include/common.h:26, [ 395s] from fs/ext4/ext4_write.c:24: [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 395s] 98 | out = __test_and_clear_bit(nr, addr); [ 395s] | ^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 395s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 395s] | ~~~~~~^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 395s] 95 | unsigned long flags = 0; [ 395s] | ^~~~~ [ 395s] DTC arch/riscv/dts/light-beagle.dtb [ 395s] CC env/callback.o [ 395s] In file included from include/linux/bitops.h:136, [ 395s] from include/common.h:26, [ 395s] from env/callback.c:7: [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 395s] 98 | out = __test_and_clear_bit(nr, addr); [ 395s] | ^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 395s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 395s] | ~~~~~~^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 395s] 95 | unsigned long flags = 0; [ 395s] | ^~~~~ [ 395s] CC drivers/video/video_bmp.o [ 395s] In file included from include/linux/bitops.h:136, [ 395s] from include/common.h:26, [ 395s] from drivers/video/video_bmp.c:6: [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 395s] 98 | out = __test_and_clear_bit(nr, addr); [ 395s] | ^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 395s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 395s] | ~~~~~~^~~~ [ 395s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 395s] 95 | unsigned long flags = 0; [ 395s] | ^~~~~ [ 395s] DTC arch/riscv/dts/light-b-power.dtb [ 396s] CC fs/fs.o [ 396s] In file included from include/linux/bitops.h:136, [ 396s] from include/common.h:26, [ 396s] from fs/fs.c:8: [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 396s] 98 | out = __test_and_clear_bit(nr, addr); [ 396s] | ^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 396s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 396s] | ~~~~~~^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 396s] 95 | unsigned long flags = 0; [ 396s] | ^~~~~ [ 396s] LD fs/fat/built-in.o [ 396s] CC env/flags.o [ 396s] CC fs/fs_internal.o [ 396s] CC drivers/video/ilitek-ili9881c.o [ 396s] In file included from include/linux/bitops.h:136, [ 396s] from include/common.h:26, [ 396s] from fs/fs_internal.c:8: [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 396s] 98 | out = __test_and_clear_bit(nr, addr); [ 396s] | ^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 396s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 396s] | ~~~~~~^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 396s] 95 | unsigned long flags = 0; [ 396s] | ^~~~~ [ 396s] CC drivers/video/mipi_dsi.o [ 396s] In file included from include/linux/bitops.h:136, [ 396s] from include/common.h:26, [ 396s] from env/flags.c:21: [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 396s] 98 | out = __test_and_clear_bit(nr, addr); [ 396s] | ^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 396s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 396s] | ~~~~~~^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 396s] 95 | unsigned long flags = 0; [ 396s] | ^~~~~ [ 396s] In file included from include/linux/bitops.h:136, [ 396s] from include/common.h:26, [ 396s] from drivers/video/ilitek-ili9881c.c:3: [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 396s] 98 | out = __test_and_clear_bit(nr, addr); [ 396s] | ^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 396s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 396s] | ~~~~~~^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 396s] 95 | unsigned long flags = 0; [ 396s] | ^~~~~ [ 396s] In file included from include/linux/bitops.h:136, [ 396s] from include/common.h:26, [ 396s] from drivers/video/mipi_dsi.c:35: [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 396s] 98 | out = __test_and_clear_bit(nr, addr); [ 396s] | ^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 396s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 396s] | ~~~~~~^~~~ [ 396s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 396s] 95 | unsigned long flags = 0; [ 396s] | ^~~~~ [ 397s] CC fs/ext4/ext4_journal.o [ 397s] In file included from include/linux/bitops.h:136, [ 397s] from include/common.h:26, [ 397s] from fs/ext4/ext4_journal.c:16: [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 397s] 98 | out = __test_and_clear_bit(nr, addr); [ 397s] | ^~~~ [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 397s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 397s] | ~~~~~~^~~~ [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 397s] 95 | unsigned long flags = 0; [ 397s] | ^~~~~ [ 397s] CC fs/ext4/crc16.o [ 397s] In file included from include/linux/bitops.h:136, [ 397s] from include/common.h:26, [ 397s] from fs/ext4/crc16.c:8: [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 397s] 98 | out = __test_and_clear_bit(nr, addr); [ 397s] | ^~~~ [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 397s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 397s] | ~~~~~~^~~~ [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 397s] 95 | unsigned long flags = 0; [ 397s] | ^~~~~ [ 397s] CC env/fat.o [ 397s] In file included from include/linux/bitops.h:136, [ 397s] from include/common.h:26, [ 397s] from env/fat.c:9: [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 397s] 98 | out = __test_and_clear_bit(nr, addr); [ 397s] | ^~~~ [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 397s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 397s] | ~~~~~~^~~~ [ 397s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 397s] 95 | unsigned long flags = 0; [ 397s] | ^~~~~ [ 397s] DTC arch/riscv/dts/light-lpi4a.dtb [ 397s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 397s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 398s] LD drivers/video/built-in.o [ 398s] LD drivers/built-in.o [ 398s] LD fs/ext4/built-in.o [ 398s] LD env/built-in.o [ 398s] arch/riscv/dts/light-lpi4a.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 398s] LD fs/built-in.o [ 398s] CC net/checksum.o [ 398s] CC net/bootp.o [ 398s] CC net/arp.o [ 398s] In file included from include/linux/bitops.h:136, [ 398s] from include/common.h:26, [ 398s] from net/arp.c:12: [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 398s] 98 | out = __test_and_clear_bit(nr, addr); [ 398s] | ^~~~ [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 398s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 398s] | ~~~~~~^~~~ [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 398s] 95 | unsigned long flags = 0; [ 398s] | ^~~~~ [ 398s] In file included from include/linux/bitops.h:136, [ 398s] from include/common.h:26, [ 398s] from net/checksum.c:10: [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 398s] 98 | out = __test_and_clear_bit(nr, addr); [ 398s] | ^~~~ [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 398s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 398s] | ~~~~~~^~~~ [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 398s] 95 | unsigned long flags = 0; [ 398s] | ^~~~~ [ 398s] In file included from include/linux/bitops.h:136, [ 398s] from include/common.h:26, [ 398s] from net/bootp.c:11: [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 398s] 98 | out = __test_and_clear_bit(nr, addr); [ 398s] | ^~~~ [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 398s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 398s] | ~~~~~~^~~~ [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 398s] 95 | unsigned long flags = 0; [ 398s] | ^~~~~ [ 398s] LD lib/crypto/built-in.o [ 398s] CC net/eth-uclass.o [ 398s] arch/riscv/dts/light-lpi4a-laptop.dtb: Warning (interrupts_property): /soc/usb@ffe7040000: Missing interrupt-parent [ 398s] In file included from include/linux/bitops.h:136, [ 398s] from include/common.h:26, [ 398s] from net/eth-uclass.c:8: [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 398s] 98 | out = __test_and_clear_bit(nr, addr); [ 398s] | ^~~~ [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 398s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 398s] | ~~~~~~^~~~ [ 398s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 398s] 95 | unsigned long flags = 0; [ 398s] | ^~~~~ [ 399s] CC lib/libfdt/fdt.o [ 399s] CC lib/libfdt/fdt_wip.o [ 399s] CC net/eth_common.o [ 399s] CC net/net.o [ 399s] CC net/nfs.o [ 399s] In file included from include/linux/bitops.h:136, [ 399s] from include/common.h:26, [ 399s] from net/eth_common.c:8: [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 399s] In file included from include/linux/bitops.h:136, [ 399s] from include/common.h:26, [ 399s] from net/net.c:90: [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 399s] 98 | out = __test_and_clear_bit(nr, addr); [ 399s] | ^~~~ [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 399s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 399s] | ~~~~~~^~~~ [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 399s] 95 | unsigned long flags = 0; [ 399s] | ^~~~~ [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 399s] 98 | out = __test_and_clear_bit(nr, addr); [ 399s] | ^~~~ [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 399s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 399s] | ~~~~~~^~~~ [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 399s] 95 | unsigned long flags = 0; [ 399s] | ^~~~~ [ 399s] SHIPPED dts/dt.dtb [ 399s] In file included from include/linux/bitops.h:136, [ 399s] from include/common.h:26, [ 399s] from net/nfs.c:29: [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 399s] 98 | out = __test_and_clear_bit(nr, addr); [ 399s] | ^~~~ [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 399s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 399s] | ~~~~~~^~~~ [ 399s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 399s] 95 | unsigned long flags = 0; [ 399s] | ^~~~~ [ 399s] DTB dts/dt.dtb.S [ 399s] CC net/ping.o [ 400s] AS dts/dt.dtb.o [ 400s] CC lib/lzma/LzmaDec.o [ 400s] In file included from include/linux/bitops.h:136, [ 400s] from include/common.h:26, [ 400s] from net/ping.h:15, [ 400s] from net/ping.c:12: [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 400s] 98 | out = __test_and_clear_bit(nr, addr); [ 400s] | ^~~~ [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 400s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 400s] | ~~~~~~^~~~ [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 400s] 95 | unsigned long flags = 0; [ 400s] | ^~~~~ [ 400s] In file included from include/linux/bitops.h:136, [ 400s] from include/common.h:26, [ 400s] from lib/lzma/LzmaDec.c:5: [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 400s] 98 | out = __test_and_clear_bit(nr, addr); [ 400s] | ^~~~ [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 400s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 400s] | ~~~~~~^~~~ [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 400s] 95 | unsigned long flags = 0; [ 400s] | ^~~~~ [ 400s] CC lib/lzma/LzmaTools.o [ 400s] In file included from include/linux/bitops.h:136, [ 400s] from include/common.h:26, [ 400s] from lib/lzma/LzmaTools.c:21: [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 400s] 98 | out = __test_and_clear_bit(nr, addr); [ 400s] | ^~~~ [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 400s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 400s] | ~~~~~~^~~~ [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 400s] 95 | unsigned long flags = 0; [ 400s] | ^~~~~ [ 400s] CC lib/libfdt/fdt_strerror.o [ 400s] LD dts/built-in.o [ 400s] CC net/tftp.o [ 400s] In file included from include/linux/bitops.h:136, [ 400s] from include/common.h:26, [ 400s] from net/tftp.c:9: [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 400s] 98 | out = __test_and_clear_bit(nr, addr); [ 400s] | ^~~~ [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 400s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 400s] | ~~~~~~^~~~ [ 400s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 400s] 95 | unsigned long flags = 0; [ 400s] | ^~~~~ [ 400s] CC lib/libfdt/fdt_sw.o [ 401s] CC lib/zlib/zlib.o [ 401s] In file included from include/linux/bitops.h:136, [ 401s] from include/common.h:26, [ 401s] from lib/zlib/zlib.c:15: [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 401s] 98 | out = __test_and_clear_bit(nr, addr); [ 401s] | ^~~~ [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 401s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 401s] | ~~~~~~^~~~ [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 401s] 95 | unsigned long flags = 0; [ 401s] | ^~~~~ [ 401s] CC lib/crc7.o [ 401s] CC lib/crc8.o [ 401s] In file included from include/linux/bitops.h:136, [ 401s] from include/common.h:26, [ 401s] from lib/crc8.c:9: [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 401s] 98 | out = __test_and_clear_bit(nr, addr); [ 401s] | ^~~~ [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 401s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 401s] | ~~~~~~^~~~ [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 401s] 95 | unsigned long flags = 0; [ 401s] | ^~~~~ [ 401s] CC lib/crc16.o [ 401s] CC lib/libfdt/fdt_rw.o [ 401s] In file included from include/linux/bitops.h:136, [ 401s] from include/common.h:26, [ 401s] from lib/crc16.c:28: [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 401s] 98 | out = __test_and_clear_bit(nr, addr); [ 401s] | ^~~~ [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 401s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 401s] | ~~~~~~^~~~ [ 401s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 401s] 95 | unsigned long flags = 0; [ 401s] | ^~~~~ [ 402s] CC net/fastboot.o [ 402s] CC lib/image-sparse.o [ 402s] CC lib/libfdt/fdt_empty_tree.o [ 402s] In file included from include/linux/bitops.h:136, [ 402s] from include/common.h:26, [ 402s] from net/fastboot.c:6: [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 402s] 98 | out = __test_and_clear_bit(nr, addr); [ 402s] | ^~~~ [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 402s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 402s] | ~~~~~~^~~~ [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 402s] 95 | unsigned long flags = 0; [ 402s] | ^~~~~ [ 402s] LD lib/lzma/built-in.o [ 402s] In file included from include/linux/bitops.h:136, [ 402s] from include/common.h:26, [ 402s] from lib/image-sparse.c:38: [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 402s] 98 | out = __test_and_clear_bit(nr, addr); [ 402s] | ^~~~ [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 402s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 402s] | ~~~~~~^~~~ [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 402s] 95 | unsigned long flags = 0; [ 402s] | ^~~~~ [ 402s] CC lib/libfdt/fdt_addresses.o [ 402s] CC lib/ldiv.o [ 402s] CC lib/net_utils.o [ 402s] In file included from include/linux/bitops.h:136, [ 402s] from include/common.h:26, [ 402s] from lib/net_utils.c:12: [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 402s] 98 | out = __test_and_clear_bit(nr, addr); [ 402s] | ^~~~ [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 402s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 402s] | ~~~~~~^~~~ [ 402s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 402s] 95 | unsigned long flags = 0; [ 402s] | ^~~~~ [ 402s] CC lib/libfdt/fdt_ro.o [ 402s] LD lib/zlib/built-in.o [ 402s] CC lib/libfdt/fdt_region.o [ 403s] CC lib/rc4.o [ 403s] LD net/built-in.o [ 403s] In file included from include/linux/bitops.h:136, [ 403s] from include/common.h:26, [ 403s] from lib/rc4.c:11: [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 403s] 98 | out = __test_and_clear_bit(nr, addr); [ 403s] | ^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 403s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 403s] | ~~~~~~^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 403s] 95 | unsigned long flags = 0; [ 403s] | ^~~~~ [ 403s] CC lib/sha256.o [ 403s] CC lib/list_sort.o [ 403s] In file included from include/linux/bitops.h:136, [ 403s] from include/common.h:26, [ 403s] from lib/sha256.c:9: [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 403s] 98 | out = __test_and_clear_bit(nr, addr); [ 403s] | ^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 403s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 403s] | ~~~~~~^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 403s] 95 | unsigned long flags = 0; [ 403s] | ^~~~~ [ 403s] CC lib/gunzip.o [ 403s] In file included from include/linux/bitops.h:136, [ 403s] from include/common.h:26, [ 403s] from lib/list_sort.c:7: [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 403s] 98 | out = __test_and_clear_bit(nr, addr); [ 403s] | ^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 403s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 403s] | ~~~~~~^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 403s] 95 | unsigned long flags = 0; [ 403s] | ^~~~~ [ 403s] CC lib/fdtdec_common.o [ 403s] In file included from include/linux/bitops.h:136, [ 403s] from include/common.h:26, [ 403s] from lib/gunzip.c:7: [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 403s] 98 | out = __test_and_clear_bit(nr, addr); [ 403s] | ^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 403s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 403s] | ~~~~~~^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 403s] 95 | unsigned long flags = 0; [ 403s] | ^~~~~ [ 403s] CC lib/fdtdec.o [ 403s] In file included from include/linux/bitops.h:136, [ 403s] from include/common.h:26, [ 403s] from lib/fdtdec.c:7: [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 403s] 98 | out = __test_and_clear_bit(nr, addr); [ 403s] | ^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 403s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 403s] | ~~~~~~^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 403s] 95 | unsigned long flags = 0; [ 403s] | ^~~~~ [ 403s] In file included from include/linux/bitops.h:136, [ 403s] from include/common.h:26, [ 403s] from lib/fdtdec_common.c:11: [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 403s] 98 | out = __test_and_clear_bit(nr, addr); [ 403s] | ^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 403s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 403s] | ~~~~~~^~~~ [ 403s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 403s] 95 | unsigned long flags = 0; [ 403s] | ^~~~~ [ 404s] CC lib/qsort.o [ 404s] CC lib/hashtable.o [ 404s] In file included from include/linux/bitops.h:136, [ 404s] from include/common.h:26, [ 404s] from lib/qsort.c:19: [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 404s] 98 | out = __test_and_clear_bit(nr, addr); [ 404s] | ^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 404s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 404s] | ~~~~~~^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 404s] 95 | unsigned long flags = 0; [ 404s] | ^~~~~ [ 404s] LD lib/libfdt/built-in.o [ 404s] In file included from include/linux/bitops.h:136, [ 404s] from include/common.h:26, [ 404s] from lib/hashtable.c:32: [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 404s] 98 | out = __test_and_clear_bit(nr, addr); [ 404s] | ^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 404s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 404s] | ~~~~~~^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 404s] 95 | unsigned long flags = 0; [ 404s] | ^~~~~ [ 404s] CC lib/errno.o [ 404s] CC lib/display_options.o [ 404s] CC lib/crc32.o [ 404s] In file included from include/linux/bitops.h:136, [ 404s] from include/common.h:26, [ 404s] from lib/display_options.c:7: [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 404s] 98 | out = __test_and_clear_bit(nr, addr); [ 404s] | ^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 404s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 404s] | ~~~~~~^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 404s] 95 | unsigned long flags = 0; [ 404s] | ^~~~~ [ 404s] CC lib/ctype.o [ 404s] In file included from include/linux/bitops.h:136, [ 404s] from include/common.h:26, [ 404s] from lib/crc32.c:15: [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 404s] 98 | out = __test_and_clear_bit(nr, addr); [ 404s] | ^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 404s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 404s] | ~~~~~~^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 404s] 95 | unsigned long flags = 0; [ 404s] | ^~~~~ [ 404s] CC lib/div64.o [ 404s] In file included from include/linux/bitops.h:136, [ 404s] from include/linux/math64.h:5, [ 404s] from lib/div64.c:22: [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 404s] 98 | out = __test_and_clear_bit(nr, addr); [ 404s] | ^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 404s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 404s] | ~~~~~~^~~~ [ 404s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 404s] 95 | unsigned long flags = 0; [ 404s] | ^~~~~ [ 405s] CC lib/hang.o [ 405s] CC lib/linux_compat.o [ 405s] In file included from include/linux/bitops.h:136, [ 405s] from include/common.h:26, [ 405s] from lib/hang.c:10: [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 405s] 98 | out = __test_and_clear_bit(nr, addr); [ 405s] | ^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 405s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 405s] | ~~~~~~^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 405s] 95 | unsigned long flags = 0; [ 405s] | ^~~~~ [ 405s] In file included from include/linux/bitops.h:136, [ 405s] from include/common.h:26, [ 405s] from lib/linux_compat.c:2: [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 405s] 98 | out = __test_and_clear_bit(nr, addr); [ 405s] | ^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 405s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 405s] | ~~~~~~^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 405s] 95 | unsigned long flags = 0; [ 405s] | ^~~~~ [ 405s] CC lib/linux_string.o [ 405s] CC lib/lmb.o [ 405s] In file included from include/linux/bitops.h:136, [ 405s] from include/common.h:26, [ 405s] from lib/lmb.c:9: [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 405s] 98 | out = __test_and_clear_bit(nr, addr); [ 405s] | ^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 405s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 405s] | ~~~~~~^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 405s] 95 | unsigned long flags = 0; [ 405s] | ^~~~~ [ 405s] CC lib/membuff.o [ 405s] In file included from include/linux/bitops.h:136, [ 405s] from include/common.h:26, [ 405s] from lib/membuff.c:9: [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 405s] 98 | out = __test_and_clear_bit(nr, addr); [ 405s] | ^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 405s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 405s] | ~~~~~~^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 405s] 95 | unsigned long flags = 0; [ 405s] | ^~~~~ [ 405s] CC lib/slre.o [ 405s] In file included from include/linux/bitops.h:136, [ 405s] from include/common.h:26, [ 405s] from lib/slre.c:23: [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 405s] 98 | out = __test_and_clear_bit(nr, addr); [ 405s] | ^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 405s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 405s] | ~~~~~~^~~~ [ 405s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 405s] 95 | unsigned long flags = 0; [ 405s] | ^~~~~ [ 405s] CC lib/string.o [ 406s] CC lib/tables_csum.o [ 406s] CC lib/time.o [ 406s] In file included from include/linux/bitops.h:136, [ 406s] from include/common.h:26, [ 406s] from lib/tables_csum.c:6: [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 406s] 98 | out = __test_and_clear_bit(nr, addr); [ 406s] | ^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 406s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 406s] | ~~~~~~^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 406s] 95 | unsigned long flags = 0; [ 406s] | ^~~~~ [ 406s] In file included from include/linux/bitops.h:136, [ 406s] from include/common.h:26, [ 406s] from lib/time.c:7: [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 406s] 98 | out = __test_and_clear_bit(nr, addr); [ 406s] | ^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 406s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 406s] | ~~~~~~^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 406s] 95 | unsigned long flags = 0; [ 406s] | ^~~~~ [ 406s] CC lib/hexdump.o [ 406s] CC lib/uuid.o [ 406s] In file included from include/linux/bitops.h:136, [ 406s] from include/common.h:26, [ 406s] from lib/hexdump.c:11: [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 406s] 98 | out = __test_and_clear_bit(nr, addr); [ 406s] | ^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 406s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 406s] | ~~~~~~^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 406s] 95 | unsigned long flags = 0; [ 406s] | ^~~~~ [ 406s] In file included from include/linux/bitops.h:136, [ 406s] from include/common.h:26, [ 406s] from lib/uuid.c:6: [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 406s] 98 | out = __test_and_clear_bit(nr, addr); [ 406s] | ^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 406s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 406s] | ~~~~~~^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 406s] 95 | unsigned long flags = 0; [ 406s] | ^~~~~ [ 406s] CC lib/rand.o [ 406s] In file included from include/linux/bitops.h:136, [ 406s] from include/common.h:26, [ 406s] from lib/rand.c:10: [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 406s] 98 | out = __test_and_clear_bit(nr, addr); [ 406s] | ^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 406s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 406s] | ~~~~~~^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 406s] 95 | unsigned long flags = 0; [ 406s] | ^~~~~ [ 406s] CC lib/panic.o [ 406s] In file included from include/linux/bitops.h:136, [ 406s] from include/common.h:26, [ 406s] from lib/panic.c:12: [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 406s] 98 | out = __test_and_clear_bit(nr, addr); [ 406s] | ^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 406s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 406s] | ~~~~~~^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 406s] 95 | unsigned long flags = 0; [ 406s] | ^~~~~ [ 406s] CC lib/vsprintf.o [ 406s] In file included from include/linux/bitops.h:136, [ 406s] from include/common.h:26, [ 406s] from lib/vsprintf.c:16: [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 406s] 98 | out = __test_and_clear_bit(nr, addr); [ 406s] | ^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 406s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 406s] | ~~~~~~^~~~ [ 406s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 406s] 95 | unsigned long flags = 0; [ 406s] | ^~~~~ [ 407s] CC lib/strto.o [ 407s] CC lib/abuf.o [ 407s] In file included from include/linux/bitops.h:136, [ 407s] from include/common.h:26, [ 407s] from lib/strto.c:12: [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 407s] 98 | out = __test_and_clear_bit(nr, addr); [ 407s] | ^~~~ [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 407s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 407s] | ~~~~~~^~~~ [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 407s] 95 | unsigned long flags = 0; [ 407s] | ^~~~~ [ 407s] In file included from include/linux/bitops.h:136, [ 407s] from include/common.h:26, [ 407s] from lib/abuf.c:10: [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 407s] 98 | out = __test_and_clear_bit(nr, addr); [ 407s] | ^~~~ [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 407s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 407s] | ~~~~~~^~~~ [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 407s] 95 | unsigned long flags = 0; [ 407s] | ^~~~~ [ 407s] CC lib/date.o [ 407s] In file included from include/linux/bitops.h:136, [ 407s] from include/common.h:26, [ 407s] from lib/date.c:7: [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 407s] 98 | out = __test_and_clear_bit(nr, addr); [ 407s] | ^~~~ [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 407s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 407s] | ~~~~~~^~~~ [ 407s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 407s] 95 | unsigned long flags = 0; [ 407s] | ^~~~~ [ 408s] LD lib/built-in.o [ 408s] CC examples/standalone/hello_world.o [ 408s] CC examples/standalone/stubs.o [ 408s] In file included from include/linux/bitops.h:136, [ 408s] from include/common.h:26, [ 408s] from examples/standalone/hello_world.c:7: [ 408s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 408s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 408s] 98 | out = __test_and_clear_bit(nr, addr); [ 408s] | ^~~~ [ 408s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 408s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 408s] | ~~~~~~^~~~ [ 408s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 408s] 95 | unsigned long flags = 0; [ 408s] | ^~~~~ [ 408s] In file included from include/linux/bitops.h:136, [ 408s] from include/common.h:26, [ 408s] from examples/standalone/stubs.c:1: [ 408s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 408s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 408s] 98 | out = __test_and_clear_bit(nr, addr); [ 408s] | ^~~~ [ 408s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 408s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 408s] | ~~~~~~^~~~ [ 408s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 408s] 95 | unsigned long flags = 0; [ 408s] | ^~~~~ [ 409s] LD examples/standalone/libstubs.o [ 409s] LD examples/standalone/hello_world [ 409s] OBJCOPY examples/standalone/hello_world.srec [ 409s] OBJCOPY examples/standalone/hello_world.bin [ 410s] LD u-boot [ 412s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 413s] OBJCOPY u-boot.srec [ 413s] FDTGREP dts/dt-spl.dtb [ 413s] OBJCOPY u-boot-nodtb.bin [ 413s] SYM u-boot.sym [ 415s] COPY u-boot.bin [ 415s] CC spl/board/thead/common/board_common.o [ 415s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 415s] CC spl/arch/riscv/cpu/cpu.o [ 415s] CC spl/common/init/board_init.o [ 415s] CC spl/common/spl/spl.o [ 415s] In file included from include/linux/bitops.h:136, [ 415s] from include/common.h:26, [ 415s] from board/thead/common/board_common.c:7: [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 415s] 98 | out = __test_and_clear_bit(nr, addr); [ 415s] | ^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 415s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 415s] | ~~~~~~^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 415s] 95 | unsigned long flags = 0; [ 415s] | ^~~~~ [ 415s] In file included from include/linux/bitops.h:136, [ 415s] from include/common.h:26, [ 415s] from arch/riscv/cpu/cpu.c:6: [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 415s] In file included from include/linux/bitops.h:136, [ 415s] from include/common.h:26, [ 415s] from common/init/board_init.c:9: [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 415s] 98 | out = __test_and_clear_bit(nr, addr); [ 415s] | ^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 415s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 415s] | ~~~~~~^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 415s] 95 | unsigned long flags = 0; [ 415s] | ^~~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 415s] 98 | out = __test_and_clear_bit(nr, addr); [ 415s] | ^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 415s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 415s] | ~~~~~~^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 415s] 95 | unsigned long flags = 0; [ 415s] | ^~~~~ [ 415s] In file included from include/linux/bitops.h:136, [ 415s] from include/common.h:26, [ 415s] from arch/riscv/cpu/c9xx/dram.c:7: [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 415s] In file included from include/linux/bitops.h:136, [ 415s] from include/common.h:26, [ 415s] from common/spl/spl.c:9: [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 415s] 98 | out = __test_and_clear_bit(nr, addr); [ 415s] | ^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 415s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 415s] | ~~~~~~^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 415s] 95 | unsigned long flags = 0; [ 415s] | ^~~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 415s] 98 | out = __test_and_clear_bit(nr, addr); [ 415s] | ^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 415s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 415s] | ~~~~~~^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 415s] 95 | unsigned long flags = 0; [ 415s] | ^~~~~ [ 415s] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 415s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 415s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 415s] | ^ [ 415s] CC spl/arch/riscv/lib/bootm.o [ 415s] CC spl/board/thead/light-c910/spl.o [ 415s] In file included from include/linux/bitops.h:136, [ 415s] from include/common.h:26, [ 415s] from arch/riscv/lib/bootm.c:9: [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 415s] 98 | out = __test_and_clear_bit(nr, addr); [ 415s] | ^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 415s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 415s] | ~~~~~~^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 415s] 95 | unsigned long flags = 0; [ 415s] | ^~~~~ [ 415s] In file included from include/linux/bitops.h:136, [ 415s] from include/common.h:26, [ 415s] from board/thead/light-c910/spl.c:8: [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 415s] 98 | out = __test_and_clear_bit(nr, addr); [ 415s] | ^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 415s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 415s] | ~~~~~~^~~~ [ 415s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 415s] 95 | unsigned long flags = 0; [ 415s] | ^~~~~ [ 415s] arch/riscv/lib/bootm.c: At top level: [ 415s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 415s] 34 | extern void secondary_entry(); [ 415s] | ^~~~~~ [ 416s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 416s] In file included from include/linux/bitops.h:136, [ 416s] from include/common.h:26, [ 416s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 416s] 98 | out = __test_and_clear_bit(nr, addr); [ 416s] | ^~~~ [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 416s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 416s] | ~~~~~~^~~~ [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 416s] 95 | unsigned long flags = 0; [ 416s] | ^~~~~ [ 416s] LD spl/common/init/built-in.o [ 416s] LD spl/board/thead/common/built-in.o [ 416s] CC spl/common/spl/spl_mmc.o [ 416s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 416s] AS spl/arch/riscv/cpu/mtrap.o [ 416s] In file included from include/linux/bitops.h:136, [ 416s] from include/common.h:26, [ 416s] from common/spl/spl_mmc.c:8: [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 416s] 98 | out = __test_and_clear_bit(nr, addr); [ 416s] | ^~~~ [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 416s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 416s] | ~~~~~~^~~~ [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 416s] 95 | unsigned long flags = 0; [ 416s] | ^~~~~ [ 416s] In file included from include/linux/bitops.h:136, [ 416s] from include/common.h:26, [ 416s] from arch/riscv/cpu/c9xx/feature.c:1: [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 416s] 98 | out = __test_and_clear_bit(nr, addr); [ 416s] | ^~~~ [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 416s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 416s] | ~~~~~~^~~~ [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 416s] 95 | unsigned long flags = 0; [ 416s] | ^~~~~ [ 416s] CC spl/board/thead/light-c910/sys_clk.o [ 416s] AS spl/arch/riscv/cpu/start.o [ 416s] In file included from include/linux/bitops.h:136, [ 416s] from include/common.h:26, [ 416s] from board/thead/light-c910/sys_clk.c:7: [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 416s] 98 | out = __test_and_clear_bit(nr, addr); [ 416s] | ^~~~ [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 416s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 416s] | ~~~~~~^~~~ [ 416s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 416s] 95 | unsigned long flags = 0; [ 416s] | ^~~~~ [ 417s] CC spl/arch/riscv/lib/image.o [ 417s] CC spl/arch/riscv/lib/boot.o [ 417s] In file included from include/linux/bitops.h:136, [ 417s] from include/common.h:26, [ 417s] from arch/riscv/lib/image.c:9: [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 417s] 98 | out = __test_and_clear_bit(nr, addr); [ 417s] | ^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 417s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 417s] | ~~~~~~^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 417s] 95 | unsigned long flags = 0; [ 417s] | ^~~~~ [ 417s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 417s] In file included from include/linux/bitops.h:136, [ 417s] from include/common.h:26, [ 417s] from arch/riscv/lib/boot.c:7: [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 417s] 98 | out = __test_and_clear_bit(nr, addr); [ 417s] | ^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 417s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 417s] | ~~~~~~^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 417s] 95 | unsigned long flags = 0; [ 417s] | ^~~~~ [ 417s] In file included from include/linux/bitops.h:136, [ 417s] from include/common.h:26, [ 417s] from board/thead/light-c910/lpddr-regu/ddr_regu.c:7: [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 417s] 98 | out = __test_and_clear_bit(nr, addr); [ 417s] | ^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 417s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 417s] | ~~~~~~^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 417s] 95 | unsigned long flags = 0; [ 417s] | ^~~~~ [ 417s] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 417s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 417s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 417s] | ^~~~~~~~~~~~~~ [ 417s] CC spl/arch/riscv/lib/cache.o [ 417s] In file included from include/linux/bitops.h:136, [ 417s] from include/common.h:26, [ 417s] from arch/riscv/lib/cache.c:7: [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 417s] 98 | out = __test_and_clear_bit(nr, addr); [ 417s] | ^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 417s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 417s] | ~~~~~~^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 417s] 95 | unsigned long flags = 0; [ 417s] | ^~~~~ [ 417s] LD spl/arch/riscv/cpu/built-in.o [ 417s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 417s] CC spl/common/spl/spl_ram.o [ 417s] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 417s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 417s] In file included from include/linux/bitops.h:136, [ 417s] from include/common.h:26, [ 417s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 417s] 98 | out = __test_and_clear_bit(nr, addr); [ 417s] | ^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 417s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 417s] | ~~~~~~^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 417s] 95 | unsigned long flags = 0; [ 417s] | ^~~~~ [ 417s] In file included from include/linux/bitops.h:136, [ 417s] from include/common.h:26, [ 417s] from common/spl/spl_ram.c:12: [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 417s] 98 | out = __test_and_clear_bit(nr, addr); [ 417s] | ^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 417s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 417s] | ~~~~~~^~~~ [ 417s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 417s] 95 | unsigned long flags = 0; [ 417s] | ^~~~~ [ 418s] CC spl/common/fdt_support.o [ 418s] CC spl/common/bouncebuf.o [ 418s] In file included from include/linux/bitops.h:136, [ 418s] from include/common.h:26, [ 418s] from common/fdt_support.c:9: [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 418s] 98 | out = __test_and_clear_bit(nr, addr); [ 418s] | ^~~~ [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 418s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 418s] | ~~~~~~^~~~ [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 418s] 95 | unsigned long flags = 0; [ 418s] | ^~~~~ [ 418s] In file included from include/linux/bitops.h:136, [ 418s] from include/common.h:26, [ 418s] from common/bouncebuf.c:8: [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 418s] 98 | out = __test_and_clear_bit(nr, addr); [ 418s] | ^~~~ [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 418s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 418s] | ~~~~~~^~~~ [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 418s] 95 | unsigned long flags = 0; [ 418s] | ^~~~~ [ 418s] CC spl/common/console.o [ 418s] CC spl/arch/riscv/lib/thead_ipi.o [ 418s] In file included from include/linux/bitops.h:136, [ 418s] from include/common.h:26, [ 418s] from common/console.c:7: [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 418s] 98 | out = __test_and_clear_bit(nr, addr); [ 418s] | ^~~~ [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 418s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 418s] | ~~~~~~^~~~ [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 418s] 95 | unsigned long flags = 0; [ 418s] | ^~~~~ [ 418s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 418s] LD spl/common/spl/built-in.o [ 418s] CC spl/arch/riscv/lib/rdtime.o [ 418s] In file included from include/linux/bitops.h:136, [ 418s] from include/common.h:26, [ 418s] from arch/riscv/lib/rdtime.c:10: [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 418s] MKIMAGE u-boot.img [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 418s] 98 | out = __test_and_clear_bit(nr, addr); [ 418s] | ^~~~ [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 418s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 418s] | ~~~~~~^~~~ [ 418s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 418s] 95 | unsigned long flags = 0; [ 418s] | ^~~~~ [ 418s] CC spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 419s] CC spl/common/dlmalloc.o [ 419s] In file included from include/linux/bitops.h:136, [ 419s] from include/common.h:26, [ 419s] from common/dlmalloc.c:1: [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 419s] 98 | out = __test_and_clear_bit(nr, addr); [ 419s] | ^~~~ [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 419s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 419s] | ~~~~~~^~~~ [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 419s] 95 | unsigned long flags = 0; [ 419s] | ^~~~~ [ 419s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 419s] CC spl/common/malloc_simple.o [ 419s] CC spl/common/image.o [ 419s] In file included from include/linux/bitops.h:136, [ 419s] from include/common.h:26, [ 419s] from common/malloc_simple.c:10: [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 419s] 98 | out = __test_and_clear_bit(nr, addr); [ 419s] | ^~~~ [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 419s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 419s] | ~~~~~~^~~~ [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 419s] 95 | unsigned long flags = 0; [ 419s] | ^~~~~ [ 419s] In file included from include/linux/bitops.h:136, [ 419s] from include/common.h:26, [ 419s] from common/image.c:10: [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 419s] 98 | out = __test_and_clear_bit(nr, addr); [ 419s] | ^~~~ [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 419s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 419s] | ~~~~~~^~~~ [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 419s] 95 | unsigned long flags = 0; [ 419s] | ^~~~~ [ 419s] CC spl/cmd/nvedit.o [ 419s] CC spl/common/image-fdt.o [ 419s] CC spl/arch/riscv/lib/interrupts.o [ 419s] In file included from include/linux/bitops.h:136, [ 419s] from include/common.h:26, [ 419s] from cmd/nvedit.c:26: [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 419s] 98 | out = __test_and_clear_bit(nr, addr); [ 419s] | ^~~~ [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 419s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 419s] | ~~~~~~^~~~ [ 419s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 419s] 95 | unsigned long flags = 0; [ 419s] | ^~~~~ [ 420s] In file included from include/linux/bitops.h:136, [ 420s] from include/common.h:26, [ 420s] from common/image-fdt.c:11: [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 420s] 98 | out = __test_and_clear_bit(nr, addr); [ 420s] | ^~~~ [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 420s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 420s] | ~~~~~~^~~~ [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 420s] 95 | unsigned long flags = 0; [ 420s] | ^~~~~ [ 420s] CC spl/board/thead/light-c910/lpddr4/src/ddr_retention.o [ 420s] In file included from include/linux/bitops.h:136, [ 420s] from include/common.h:26, [ 420s] from arch/riscv/lib/interrupts.c:10: [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 420s] 98 | out = __test_and_clear_bit(nr, addr); [ 420s] | ^~~~ [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 420s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 420s] | ~~~~~~^~~~ [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 420s] 95 | unsigned long flags = 0; [ 420s] | ^~~~~ [ 420s] CC spl/common/memsize.o [ 420s] CC spl/arch/riscv/lib/reset.o [ 420s] In file included from include/linux/bitops.h:136, [ 420s] from include/common.h:26, [ 420s] from common/memsize.c:7: [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 420s] 98 | out = __test_and_clear_bit(nr, addr); [ 420s] | ^~~~ [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 420s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 420s] | ~~~~~~^~~~ [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 420s] 95 | unsigned long flags = 0; [ 420s] | ^~~~~ [ 420s] In file included from include/linux/bitops.h:136, [ 420s] from include/common.h:26, [ 420s] from arch/riscv/lib/reset.c:6: [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 420s] 98 | out = __test_and_clear_bit(nr, addr); [ 420s] | ^~~~ [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 420s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 420s] | ~~~~~~^~~~ [ 420s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 420s] 95 | unsigned long flags = 0; [ 420s] | ^~~~~ [ 421s] CC spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 421s] CC spl/common/stdio.o [ 421s] AS spl/arch/riscv/lib/setjmp.o [ 421s] LD spl/cmd/built-in.o [ 421s] In file included from include/linux/bitops.h:136, [ 421s] from include/common.h:26, [ 421s] from common/stdio.c:12: [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 421s] 98 | out = __test_and_clear_bit(nr, addr); [ 421s] | ^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 421s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 421s] | ~~~~~~^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 421s] 95 | unsigned long flags = 0; [ 421s] | ^~~~~ [ 421s] CC spl/common/cli.o [ 421s] In file included from include/linux/bitops.h:136, [ 421s] from include/common.h:26, [ 421s] from common/cli.c:11: [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 421s] 98 | out = __test_and_clear_bit(nr, addr); [ 421s] | ^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 421s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 421s] | ~~~~~~^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 421s] 95 | unsigned long flags = 0; [ 421s] | ^~~~~ [ 421s] CC spl/env/common.o [ 421s] CC spl/env/env.o [ 421s] In file included from include/linux/bitops.h:136, [ 421s] from include/common.h:26, [ 421s] from env/common.c:10: [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 421s] 98 | out = __test_and_clear_bit(nr, addr); [ 421s] | ^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 421s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 421s] | ~~~~~~^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 421s] 95 | unsigned long flags = 0; [ 421s] | ^~~~~ [ 421s] In file included from include/linux/bitops.h:136, [ 421s] from include/common.h:26, [ 421s] from env/env.c:7: [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 421s] 98 | out = __test_and_clear_bit(nr, addr); [ 421s] | ^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 421s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 421s] | ~~~~~~^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 421s] 95 | unsigned long flags = 0; [ 421s] | ^~~~~ [ 421s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 421s] CC spl/arch/riscv/lib/smp.o [ 421s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:8:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 421s] 8 | int dwc_ddrphy_phyinit_regInterface(); [ 421s] | ^~~ [ 421s] In file included from include/linux/bitops.h:136, [ 421s] from include/common.h:26, [ 421s] from arch/riscv/lib/smp.c:7: [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 421s] 98 | out = __test_and_clear_bit(nr, addr); [ 421s] | ^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 421s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 421s] | ~~~~~~^~~~ [ 421s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 421s] 95 | unsigned long flags = 0; [ 421s] | ^~~~~ [ 422s] CC spl/disk/part.o [ 422s] In file included from include/linux/bitops.h:136, [ 422s] from include/common.h:26, [ 422s] from disk/part.c:7: [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 422s] 98 | out = __test_and_clear_bit(nr, addr); [ 422s] | ^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 422s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 422s] | ~~~~~~^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 422s] 95 | unsigned long flags = 0; [ 422s] | ^~~~~ [ 422s] CC spl/disk/part_efi.o [ 422s] LD spl/env/built-in.o [ 422s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 422s] CC spl/common/command.o [ 422s] In file included from include/linux/bitops.h:136, [ 422s] from include/common.h:26, [ 422s] from disk/part_efi.c:13: [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 422s] 98 | out = __test_and_clear_bit(nr, addr); [ 422s] | ^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 422s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 422s] | ~~~~~~^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 422s] 95 | unsigned long flags = 0; [ 422s] | ^~~~~ [ 422s] In file included from include/linux/bitops.h:136, [ 422s] from include/common.h:26, [ 422s] from common/command.c:11: [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 422s] 98 | out = __test_and_clear_bit(nr, addr); [ 422s] | ^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 422s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 422s] | ~~~~~~^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 422s] 95 | unsigned long flags = 0; [ 422s] | ^~~~~ [ 422s] common/command.c: At top level: [ 422s] 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] [ 422s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 422s] | ^~~~~~~~~~~ [ 422s] In file included from include/image.h:45, [ 422s] from include/common.h:40: [ 422s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 422s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 422s] | ^~~~~~~~~~~ [ 422s] CC spl/common/s_record.o [ 422s] In file included from include/linux/bitops.h:136, [ 422s] from include/common.h:26, [ 422s] from common/s_record.c:7: [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 422s] 98 | out = __test_and_clear_bit(nr, addr); [ 422s] | ^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 422s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 422s] | ~~~~~~^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 422s] 95 | unsigned long flags = 0; [ 422s] | ^~~~~ [ 422s] CC spl/drivers/block/blk-uclass.o [ 422s] CC spl/lib/libfdt/fdt.o [ 422s] In file included from include/linux/bitops.h:136, [ 422s] from include/common.h:26, [ 422s] from drivers/block/blk-uclass.c:7: [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 422s] 98 | out = __test_and_clear_bit(nr, addr); [ 422s] | ^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 422s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 422s] | ~~~~~~^~~~ [ 422s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 422s] 95 | unsigned long flags = 0; [ 422s] | ^~~~~ [ 422s] CC spl/arch/riscv/lib/spl.o [ 423s] In file included from include/linux/bitops.h:136, [ 423s] from include/common.h:26, [ 423s] from arch/riscv/lib/spl.c:6: [ 423s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 423s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 423s] 98 | out = __test_and_clear_bit(nr, addr); [ 423s] | ^~~~ [ 423s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 423s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 423s] | ~~~~~~^~~~ [ 423s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 423s] 95 | unsigned long flags = 0; [ 423s] | ^~~~~ [ 423s] CC spl/arch/riscv/lib/locks.o [ 423s] LD spl/board/thead/light-c910/built-in.o [ 423s] CC spl/common/xyzModem.o [ 423s] In file included from include/linux/bitops.h:136, [ 423s] from include/common.h:26, [ 423s] from common/xyzModem.c:24: [ 423s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 423s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 423s] 98 | out = __test_and_clear_bit(nr, addr); [ 423s] | ^~~~ [ 423s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 423s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 423s] | ~~~~~~^~~~ [ 423s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 423s] 95 | unsigned long flags = 0; [ 423s] | ^~~~~ [ 423s] CC spl/fs/fs_internal.o [ 423s] FDTGREP spl/dts/dt-spl.dtb [ 423s] CC spl/lib/fdtdec_common.o [ 423s] LD spl/disk/built-in.o [ 424s] In file included from include/linux/bitops.h:136, [ 424s] from include/common.h:26, [ 424s] from lib/fdtdec_common.c:11: [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 424s] 98 | out = __test_and_clear_bit(nr, addr); [ 424s] | ^~~~ [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 424s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 424s] | ~~~~~~^~~~ [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 424s] 95 | unsigned long flags = 0; [ 424s] | ^~~~~ [ 424s] In file included from include/linux/bitops.h:136, [ 424s] from include/common.h:26, [ 424s] from fs/fs_internal.c:8: [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 424s] 98 | out = __test_and_clear_bit(nr, addr); [ 424s] | ^~~~ [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 424s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 424s] | ~~~~~~^~~~ [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 424s] 95 | unsigned long flags = 0; [ 424s] | ^~~~~ [ 424s] CC spl/lib/libfdt/fdt_wip.o [ 424s] LDS spl/u-boot-spl.lds [ 424s] LD spl/drivers/block/built-in.o [ 424s] LD spl/arch/riscv/lib/built-in.o [ 424s] LD spl/drivers/clk/analogbits/built-in.o [ 424s] LD spl/drivers/clk/imx/built-in.o [ 424s] CC spl/drivers/core/device.o [ 424s] DTB spl/dts/dt-spl.dtb.S [ 424s] AS spl/dts/dt-spl.dtb.o [ 424s] In file included from include/linux/bitops.h:136, [ 424s] from include/common.h:26, [ 424s] from drivers/core/device.c:11: [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 424s] 98 | out = __test_and_clear_bit(nr, addr); [ 424s] | ^~~~ [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 424s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 424s] | ~~~~~~^~~~ [ 424s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 424s] 95 | unsigned long flags = 0; [ 424s] | ^~~~~ [ 424s] LD spl/drivers/clk/tegra/built-in.o [ 424s] CC spl/drivers/clk/clk-uclass.o [ 425s] In file included from include/linux/bitops.h:136, [ 425s] from include/common.h:26, [ 425s] from drivers/clk/clk-uclass.c:9: [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 425s] 98 | out = __test_and_clear_bit(nr, addr); [ 425s] | ^~~~ [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 425s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 425s] | ~~~~~~^~~~ [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 425s] 95 | unsigned long flags = 0; [ 425s] | ^~~~~ [ 425s] CC spl/drivers/core/fdtaddr.o [ 425s] LD spl/fs/built-in.o [ 425s] CC spl/lib/libfdt/fdt_strerror.o [ 425s] In file included from include/linux/bitops.h:136, [ 425s] from include/common.h:26, [ 425s] from drivers/core/fdtaddr.c:11: [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 425s] 98 | out = __test_and_clear_bit(nr, addr); [ 425s] | ^~~~ [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 425s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 425s] | ~~~~~~^~~~ [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 425s] 95 | unsigned long flags = 0; [ 425s] | ^~~~~ [ 425s] LD spl/common/built-in.o [ 425s] CC spl/lib/libfdt/fdt_sw.o [ 425s] CC spl/drivers/core/lists.o [ 425s] CC spl/lib/libfdt/fdt_rw.o [ 425s] In file included from include/linux/bitops.h:136, [ 425s] from include/common.h:26, [ 425s] from drivers/core/lists.c:11: [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 425s] 98 | out = __test_and_clear_bit(nr, addr); [ 425s] | ^~~~ [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 425s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 425s] | ~~~~~~^~~~ [ 425s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 425s] 95 | unsigned long flags = 0; [ 425s] | ^~~~~ [ 425s] LD spl/dts/built-in.o [ 426s] CC spl/lib/libfdt/fdt_empty_tree.o [ 426s] CC spl/drivers/clk/clk_fixed_rate.o [ 426s] CC spl/drivers/core/root.o [ 426s] CC spl/drivers/core/uclass.o [ 426s] CC spl/drivers/clk/clk_fixed_factor.o [ 426s] In file included from include/linux/bitops.h:136, [ 426s] from include/common.h:26, [ 426s] from drivers/clk/clk_fixed_factor.c:8: [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 426s] 98 | out = __test_and_clear_bit(nr, addr); [ 426s] | ^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 426s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 426s] | ~~~~~~^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 426s] 95 | unsigned long flags = 0; [ 426s] | ^~~~~ [ 426s] In file included from include/linux/bitops.h:136, [ 426s] from include/common.h:26, [ 426s] from drivers/clk/clk_fixed_rate.c:6: [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 426s] 98 | out = __test_and_clear_bit(nr, addr); [ 426s] | ^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 426s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 426s] | ~~~~~~^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 426s] 95 | unsigned long flags = 0; [ 426s] | ^~~~~ [ 426s] In file included from include/linux/bitops.h:136, [ 426s] from include/common.h:26, [ 426s] from drivers/core/uclass.c:11: [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 426s] 98 | out = __test_and_clear_bit(nr, addr); [ 426s] | ^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 426s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 426s] | ~~~~~~^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 426s] 95 | unsigned long flags = 0; [ 426s] | ^~~~~ [ 426s] In file included from include/linux/bitops.h:136, [ 426s] from include/common.h:26, [ 426s] from drivers/core/root.c:9: [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 426s] 98 | out = __test_and_clear_bit(nr, addr); [ 426s] | ^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 426s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 426s] | ~~~~~~^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 426s] 95 | unsigned long flags = 0; [ 426s] | ^~~~~ [ 426s] CC spl/lib/libfdt/fdt_addresses.o [ 426s] CC spl/drivers/core/util.o [ 426s] In file included from include/linux/bitops.h:136, [ 426s] from include/common.h:26, [ 426s] from drivers/core/util.c:6: [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 426s] 98 | out = __test_and_clear_bit(nr, addr); [ 426s] | ^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 426s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 426s] | ~~~~~~^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 426s] 95 | unsigned long flags = 0; [ 426s] | ^~~~~ [ 426s] CC spl/lib/fdtdec.o [ 426s] In file included from include/linux/bitops.h:136, [ 426s] from include/common.h:26, [ 426s] from lib/fdtdec.c:7: [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 426s] 98 | out = __test_and_clear_bit(nr, addr); [ 426s] | ^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 426s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 426s] | ~~~~~~^~~~ [ 426s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 426s] 95 | unsigned long flags = 0; [ 426s] | ^~~~~ [ 426s] CC spl/lib/qsort.o [ 427s] In file included from include/linux/bitops.h:136, [ 427s] from include/common.h:26, [ 427s] from lib/qsort.c:19: [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 427s] 98 | out = __test_and_clear_bit(nr, addr); [ 427s] | ^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 427s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 427s] | ~~~~~~^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 427s] 95 | unsigned long flags = 0; [ 427s] | ^~~~~ [ 427s] CC spl/drivers/core/simple-bus.o [ 427s] LD spl/drivers/clk/built-in.o [ 427s] CC spl/lib/hashtable.o [ 427s] In file included from include/linux/bitops.h:136, [ 427s] from include/common.h:26, [ 427s] from drivers/core/simple-bus.c:6: [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 427s] 98 | out = __test_and_clear_bit(nr, addr); [ 427s] | ^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 427s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 427s] | ~~~~~~^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 427s] 95 | unsigned long flags = 0; [ 427s] | ^~~~~ [ 427s] In file included from include/linux/bitops.h:136, [ 427s] from include/common.h:26, [ 427s] from lib/hashtable.c:32: [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 427s] 98 | out = __test_and_clear_bit(nr, addr); [ 427s] | ^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 427s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 427s] | ~~~~~~^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 427s] 95 | unsigned long flags = 0; [ 427s] | ^~~~~ [ 427s] CC spl/drivers/cpu/cpu-uclass.o [ 427s] CC spl/drivers/core/dump.o [ 427s] CC spl/lib/libfdt/fdt_ro.o [ 427s] In file included from include/linux/bitops.h:136, [ 427s] from include/common.h:26, [ 427s] from drivers/core/dump.c:6: [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 427s] 98 | out = __test_and_clear_bit(nr, addr); [ 427s] | ^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 427s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 427s] | ~~~~~~^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 427s] 95 | unsigned long flags = 0; [ 427s] | ^~~~~ [ 427s] CC spl/drivers/core/of_extra.o [ 427s] In file included from include/linux/bitops.h:136, [ 427s] from include/common.h:26, [ 427s] from drivers/cpu/cpu-uclass.c:7: [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 427s] 98 | out = __test_and_clear_bit(nr, addr); [ 427s] | ^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 427s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 427s] | ~~~~~~^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 427s] 95 | unsigned long flags = 0; [ 427s] | ^~~~~ [ 427s] In file included from include/linux/bitops.h:136, [ 427s] from include/common.h:26, [ 427s] from drivers/core/of_extra.c:7: [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 427s] 98 | out = __test_and_clear_bit(nr, addr); [ 427s] | ^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 427s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 427s] | ~~~~~~^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 427s] 95 | unsigned long flags = 0; [ 427s] | ^~~~~ [ 427s] CC spl/drivers/core/ofnode.o [ 427s] In file included from include/linux/bitops.h:136, [ 427s] from include/common.h:26, [ 427s] from drivers/core/ofnode.c:7: [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 427s] 98 | out = __test_and_clear_bit(nr, addr); [ 427s] | ^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 427s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 427s] | ~~~~~~^~~~ [ 427s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 427s] 95 | unsigned long flags = 0; [ 427s] | ^~~~~ [ 428s] CC spl/lib/errno.o [ 428s] CC spl/drivers/core/read_extra.o [ 428s] In file included from include/linux/bitops.h:136, [ 428s] from include/common.h:26, [ 428s] from drivers/core/read_extra.c:7: [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 428s] 98 | out = __test_and_clear_bit(nr, addr); [ 428s] | ^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 428s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 428s] | ~~~~~~^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 428s] 95 | unsigned long flags = 0; [ 428s] | ^~~~~ [ 428s] CC spl/drivers/cpu/riscv_cpu.o [ 428s] CC spl/lib/libfdt/fdt_region.o [ 428s] CC spl/drivers/mmc/mmc.o [ 428s] LD spl/drivers/mtd/built-in.o [ 428s] In file included from include/linux/bitops.h:136, [ 428s] from include/common.h:26, [ 428s] from drivers/cpu/riscv_cpu.c:6: [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 428s] 98 | out = __test_and_clear_bit(nr, addr); [ 428s] | ^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 428s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 428s] | ~~~~~~^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 428s] 95 | unsigned long flags = 0; [ 428s] | ^~~~~ [ 428s] In file included from include/linux/bitops.h:136, [ 428s] from include/common.h:26, [ 428s] from drivers/mmc/mmc.c:10: [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 428s] 98 | out = __test_and_clear_bit(nr, addr); [ 428s] | ^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 428s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 428s] | ~~~~~~^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 428s] 95 | unsigned long flags = 0; [ 428s] | ^~~~~ [ 428s] CC spl/drivers/serial/serial-uclass.o [ 428s] CC spl/drivers/timer/timer-uclass.o [ 428s] In file included from include/linux/bitops.h:136, [ 428s] from include/common.h:26, [ 428s] from drivers/timer/timer-uclass.c:6: [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 428s] 98 | out = __test_and_clear_bit(nr, addr); [ 428s] | ^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 428s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 428s] | ~~~~~~^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 428s] 95 | unsigned long flags = 0; [ 428s] | ^~~~~ [ 428s] In file included from include/linux/bitops.h:136, [ 428s] from include/common.h:26, [ 428s] from drivers/serial/serial-uclass.c:6: [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 428s] 98 | out = __test_and_clear_bit(nr, addr); [ 428s] | ^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 428s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 428s] | ~~~~~~^~~~ [ 428s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 428s] 95 | unsigned long flags = 0; [ 428s] | ^~~~~ [ 429s] CC spl/drivers/serial/ns16550.o [ 429s] CC spl/drivers/mmc/mmc-uclass.o [ 429s] In file included from include/linux/bitops.h:136, [ 429s] from include/common.h:26, [ 429s] from drivers/serial/ns16550.c:7: [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 429s] 98 | out = __test_and_clear_bit(nr, addr); [ 429s] | ^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 429s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 429s] | ~~~~~~^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 429s] 95 | unsigned long flags = 0; [ 429s] | ^~~~~ [ 429s] In file included from include/linux/bitops.h:136, [ 429s] from include/common.h:26, [ 429s] from drivers/mmc/mmc-uclass.c:7: [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 429s] 98 | out = __test_and_clear_bit(nr, addr); [ 429s] | ^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 429s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 429s] | ~~~~~~^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 429s] 95 | unsigned long flags = 0; [ 429s] | ^~~~~ [ 429s] LD spl/drivers/core/built-in.o [ 429s] CC spl/drivers/mmc/mmc_boot.o [ 429s] In file included from include/linux/bitops.h:136, [ 429s] from include/common.h:26, [ 429s] from drivers/mmc/mmc_boot.c:7: [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 429s] 98 | out = __test_and_clear_bit(nr, addr); [ 429s] | ^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 429s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 429s] | ~~~~~~^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 429s] 95 | unsigned long flags = 0; [ 429s] | ^~~~~ [ 429s] LD spl/lib/libfdt/built-in.o [ 429s] CC spl/drivers/mmc/dw_mmc.o [ 429s] LD spl/drivers/cpu/built-in.o [ 429s] In file included from include/linux/bitops.h:136, [ 429s] from include/common.h:26, [ 429s] from drivers/mmc/dw_mmc.c:9: [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 429s] 98 | out = __test_and_clear_bit(nr, addr); [ 429s] | ^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 429s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 429s] | ~~~~~~^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 429s] 95 | unsigned long flags = 0; [ 429s] | ^~~~~ [ 429s] CC spl/lib/display_options.o [ 429s] CC spl/drivers/timer/riscv_timer.o [ 429s] CC spl/lib/crc32.o [ 429s] In file included from include/linux/bitops.h:136, [ 429s] from include/common.h:26, [ 429s] from lib/display_options.c:7: [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 429s] 98 | out = __test_and_clear_bit(nr, addr); [ 429s] | ^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 429s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 429s] | ~~~~~~^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 429s] 95 | unsigned long flags = 0; [ 429s] | ^~~~~ [ 429s] In file included from include/linux/bitops.h:136, [ 429s] from include/common.h:26, [ 429s] from drivers/timer/riscv_timer.c:14: [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 429s] 98 | out = __test_and_clear_bit(nr, addr); [ 429s] | ^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 429s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 429s] | ~~~~~~^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 429s] 95 | unsigned long flags = 0; [ 429s] | ^~~~~ [ 429s] In file included from include/linux/bitops.h:136, [ 429s] from include/common.h:26, [ 429s] from lib/crc32.c:15: [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 429s] 98 | out = __test_and_clear_bit(nr, addr); [ 429s] | ^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 429s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 429s] | ~~~~~~^~~~ [ 429s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 429s] 95 | unsigned long flags = 0; [ 429s] | ^~~~~ [ 430s] LD spl/drivers/serial/built-in.o [ 430s] CC spl/lib/ctype.o [ 430s] CC spl/drivers/mmc/snps_dw_mmc.o [ 430s] CC spl/lib/div64.o [ 430s] In file included from include/linux/bitops.h:136, [ 430s] from include/common.h:26, [ 430s] from drivers/mmc/snps_dw_mmc.c:10: [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 430s] 98 | out = __test_and_clear_bit(nr, addr); [ 430s] | ^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 430s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 430s] | ~~~~~~^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 430s] 95 | unsigned long flags = 0; [ 430s] | ^~~~~ [ 430s] In file included from include/linux/bitops.h:136, [ 430s] from include/linux/math64.h:5, [ 430s] from lib/div64.c:22: [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 430s] 98 | out = __test_and_clear_bit(nr, addr); [ 430s] | ^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 430s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 430s] | ~~~~~~^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 430s] 95 | unsigned long flags = 0; [ 430s] | ^~~~~ [ 430s] CC spl/drivers/mmc/rpmb.o [ 430s] In file included from include/linux/bitops.h:136, [ 430s] from include/common.h:26, [ 430s] from drivers/mmc/rpmb.c:11: [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 430s] 98 | out = __test_and_clear_bit(nr, addr); [ 430s] | ^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 430s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 430s] | ~~~~~~^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 430s] 95 | unsigned long flags = 0; [ 430s] | ^~~~~ [ 430s] LD spl/drivers/timer/built-in.o [ 430s] CC spl/drivers/mmc/sdhci.o [ 430s] CC spl/lib/hang.o [ 430s] In file included from include/linux/bitops.h:136, [ 430s] from include/common.h:26, [ 430s] from drivers/mmc/sdhci.c:10: [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 430s] 98 | out = __test_and_clear_bit(nr, addr); [ 430s] | ^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 430s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 430s] | ~~~~~~^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 430s] 95 | unsigned long flags = 0; [ 430s] | ^~~~~ [ 430s] CC spl/drivers/mmc/snps_sdhci.o [ 430s] In file included from include/linux/bitops.h:136, [ 430s] from include/common.h:26, [ 430s] from lib/hang.c:10: [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 430s] 98 | out = __test_and_clear_bit(nr, addr); [ 430s] | ^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 430s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 430s] | ~~~~~~^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 430s] 95 | unsigned long flags = 0; [ 430s] | ^~~~~ [ 430s] In file included from include/linux/bitops.h:136, [ 430s] from include/common.h:26, [ 430s] from drivers/mmc/snps_sdhci.c:6: [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 430s] 98 | out = __test_and_clear_bit(nr, addr); [ 430s] | ^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 430s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 430s] | ~~~~~~^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 430s] 95 | unsigned long flags = 0; [ 430s] | ^~~~~ [ 430s] CC spl/lib/linux_compat.o [ 430s] In file included from include/linux/bitops.h:136, [ 430s] from include/common.h:26, [ 430s] from lib/linux_compat.c:2: [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 430s] 98 | out = __test_and_clear_bit(nr, addr); [ 430s] | ^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 430s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 430s] | ~~~~~~^~~~ [ 430s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 430s] 95 | unsigned long flags = 0; [ 430s] | ^~~~~ [ 431s] CC spl/lib/linux_string.o [ 431s] CC spl/lib/lmb.o [ 431s] In file included from include/linux/bitops.h:136, [ 431s] from include/common.h:26, [ 431s] from lib/lmb.c:9: [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 431s] 98 | out = __test_and_clear_bit(nr, addr); [ 431s] | ^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 431s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 431s] | ~~~~~~^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 431s] 95 | unsigned long flags = 0; [ 431s] | ^~~~~ [ 431s] CC spl/lib/membuff.o [ 431s] In file included from include/linux/bitops.h:136, [ 431s] from include/common.h:26, [ 431s] from lib/membuff.c:9: [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 431s] 98 | out = __test_and_clear_bit(nr, addr); [ 431s] | ^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 431s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 431s] | ~~~~~~^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 431s] 95 | unsigned long flags = 0; [ 431s] | ^~~~~ [ 431s] CC spl/lib/slre.o [ 431s] In file included from include/linux/bitops.h:136, [ 431s] from include/common.h:26, [ 431s] from lib/slre.c:23: [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 431s] 98 | out = __test_and_clear_bit(nr, addr); [ 431s] | ^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 431s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 431s] | ~~~~~~^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 431s] 95 | unsigned long flags = 0; [ 431s] | ^~~~~ [ 431s] CC spl/lib/string.o [ 431s] CC spl/lib/tables_csum.o [ 431s] CC spl/lib/time.o [ 431s] CC spl/lib/hexdump.o [ 431s] In file included from include/linux/bitops.h:136, [ 431s] from include/common.h:26, [ 431s] from lib/tables_csum.c:6: [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 431s] 98 | out = __test_and_clear_bit(nr, addr); [ 431s] | ^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 431s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 431s] | ~~~~~~^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 431s] 95 | unsigned long flags = 0; [ 431s] | ^~~~~ [ 431s] In file included from include/linux/bitops.h:136, [ 431s] from include/common.h:26, [ 431s] from lib/time.c:7: [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 431s] 98 | out = __test_and_clear_bit(nr, addr); [ 431s] | ^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 431s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 431s] | ~~~~~~^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 431s] 95 | unsigned long flags = 0; [ 431s] | ^~~~~ [ 431s] In file included from include/linux/bitops.h:136, [ 431s] from include/common.h:26, [ 431s] from lib/hexdump.c:11: [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 431s] 98 | out = __test_and_clear_bit(nr, addr); [ 431s] | ^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 431s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 431s] | ~~~~~~^~~~ [ 431s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 431s] 95 | unsigned long flags = 0; [ 431s] | ^~~~~ [ 431s] LD spl/drivers/mmc/built-in.o [ 432s] LD spl/drivers/built-in.o [ 432s] CC spl/lib/uuid.o [ 432s] In file included from include/linux/bitops.h:136, [ 432s] from include/common.h:26, [ 432s] from lib/uuid.c:6: [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 432s] 98 | out = __test_and_clear_bit(nr, addr); [ 432s] | ^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 432s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 432s] | ~~~~~~^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 432s] 95 | unsigned long flags = 0; [ 432s] | ^~~~~ [ 432s] CC spl/lib/rand.o [ 432s] CC spl/lib/panic.o [ 432s] In file included from include/linux/bitops.h:136, [ 432s] from include/common.h:26, [ 432s] from lib/panic.c:12: [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 432s] 98 | out = __test_and_clear_bit(nr, addr); [ 432s] | ^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 432s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 432s] | ~~~~~~^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 432s] 95 | unsigned long flags = 0; [ 432s] | ^~~~~ [ 432s] In file included from include/linux/bitops.h:136, [ 432s] from include/common.h:26, [ 432s] from lib/rand.c:10: [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 432s] 98 | out = __test_and_clear_bit(nr, addr); [ 432s] | ^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 432s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 432s] | ~~~~~~^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 432s] 95 | unsigned long flags = 0; [ 432s] | ^~~~~ [ 432s] CC spl/lib/vsprintf.o [ 432s] In file included from include/linux/bitops.h:136, [ 432s] from include/common.h:26, [ 432s] from lib/vsprintf.c:16: [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 432s] 98 | out = __test_and_clear_bit(nr, addr); [ 432s] | ^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 432s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 432s] | ~~~~~~^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 432s] 95 | unsigned long flags = 0; [ 432s] | ^~~~~ [ 432s] CC spl/lib/strto.o [ 432s] CC spl/lib/abuf.o [ 432s] In file included from include/linux/bitops.h:136, [ 432s] from include/common.h:26, [ 432s] from lib/strto.c:12: [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 432s] 98 | out = __test_and_clear_bit(nr, addr); [ 432s] | ^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 432s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 432s] | ~~~~~~^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 432s] 95 | unsigned long flags = 0; [ 432s] | ^~~~~ [ 432s] In file included from include/linux/bitops.h:136, [ 432s] from include/common.h:26, [ 432s] from lib/abuf.c:10: [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 432s] 98 | out = __test_and_clear_bit(nr, addr); [ 432s] | ^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 432s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 432s] | ~~~~~~^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 432s] 95 | unsigned long flags = 0; [ 432s] | ^~~~~ [ 432s] CC spl/lib/date.o [ 432s] In file included from include/linux/bitops.h:136, [ 432s] from include/common.h:26, [ 432s] from lib/date.c:7: [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 432s] 98 | out = __test_and_clear_bit(nr, addr); [ 432s] | ^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 432s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 432s] | ~~~~~~^~~~ [ 432s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 432s] 95 | unsigned long flags = 0; [ 432s] | ^~~~~ [ 433s] LD spl/lib/built-in.o [ 434s] LD spl/u-boot-spl [ 434s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 434s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 434s] COPY spl/u-boot-spl.bin [ 435s] CAT u-boot-with-spl.bin [ 435s] ===================== WARNING ====================== [ 435s] This board does not use CONFIG_DM_USB. Please update [ 435s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 435s] Failure to update by the deadline may result in board removal. [ 435s] See doc/driver-model/MIGRATION.txt for more info. [ 435s] ==================================================== [ 435s] ===================== WARNING ====================== [ 435s] CONFIG_OF_EMBED is enabled. This option should only [ 435s] be used for debugging purposes. Please use [ 435s] CONFIG_OF_SEPARATE for boards in mainline. [ 435s] See doc/README.fdt-control for more info. [ 435s] ==================================================== [ 435s] CFGCHK u-boot.cfg [ 438s] + ./scripts/get_default_envs.sh [ 439s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 440s] + rm default_envs.txt [ 440s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 440s] Image Name: Tizen LicheePi4A Board Script [ 440s] Created: Fri Dec 27 04:52:01 2024 [ 440s] Image Type: RISC-V Linux Script (uncompressed) [ 440s] Data Size: 4261 Bytes = 4.16 KiB = 0.00 MiB [ 440s] Load Address: 00000000 [ 440s] Entry Point: 00000000 [ 440s] Contents: [ 440s] Image 0: 4253 Bytes = 4.15 KiB = 0.00 MiB [ 440s] + exit 0 [ 440s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0m6cks [ 440s] + umask 022 [ 440s] + cd /home/abuild/rpmbuild/BUILD [ 441s] + cd u-boot-2020.01 [ 441s] + LANG=C [ 441s] + export LANG [ 441s] + unset DISPLAY [ 441s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 441s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 441s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 441s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot [ 441s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp [ 441s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 441s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 442s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 443s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 443s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 444s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 445s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 445s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 2020.01-0 --unique-debug-src-base u-boot-lpi4a-16g-2020.01-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/u-boot-2020.01 [ 454s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debuginfo.manifest [ 455s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debugsource.manifest [ 455s] + /usr/lib/rpm/check-buildroot [ 456s] + /usr/lib/rpm//brp-compress [ 456s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 457s] + /usr/lib/rpm/brp-python-hardlink [ 457s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 458s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 458s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 458s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 458s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 460s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 460s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 460s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 460s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 461s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 461s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 461s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 461s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 461s] Processing files: u-boot-lpi4a-16g-2020.01-0.riscv64 [ 461s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 461s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 461s] [ 461s] Provides: u-boot-lpi4a-16g = 2020.01-0 u-boot-lpi4a-16g(riscv-64) = 2020.01-0 [ 461s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 461s] Processing files: u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64 [ 461s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 461s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 461s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 461s] [ 461s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 464s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-2020.01-0.riscv64.rpm [ 464s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64.rpm [ 464s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.v1UN2Z [ 464s] + umask 022 [ 464s] + cd /home/abuild/rpmbuild/BUILD [ 464s] + cd u-boot-2020.01 [ 464s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 464s] + exit 0 [ 464s] ... checking for files with abuild user/group [ 464s] ... creating baselibs [ 471s] [ 471s] ip-192-168-56-183 finished "build u-boot-lpi4a-16g.spec" at Fri Dec 27 04:52:32 UTC 2024. [ 471s]