[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.21 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-120 started "build u-boot-lpi4a-8g.spec" at Fri Dec 27 06:56:46 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_toolchain_standard/u-boot-lpi4a-8g-2020.01-0/u-boot-lpi4a-8g.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_toolchain_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_toolchain_standard/u-boot-lpi4a-8g-2020.01-0/u-boot-lpi4a-8g.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.21/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.21/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_toolchain_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-Toolchain/reference/repos/standard/packages/ [ 6s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/debug/ [ 8s] expanding package dependencies... [ 10s] copying qemu [ 11s] [ 11s] registering binfmt handlers for cross build [ 11s] calculating packages to download... [ 35s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 35s] breaking dependency libxcrypt-devel -> glibc-devel [ 35s] cycle: libsoftokn3 -> nss [ 35s] breaking dependency nss -> libsoftokn3 [ 35s] reordering done [ 40s] deleting python3-packaging [ 40s] deleting python3-pyparsing [ 40s] deleting python3-setuptools_scm [ 40s] deleting python3-six [ 40s] deleting python3-typing_extensions [ 41s] [1/112] keeping libmagic-data-5.45-1.21 [ 41s] [2/112] cumulate opensbi-1.5-0 [ 41s] [3/112] keeping setup-0.9-1.12 [ 41s] [4/112] keeping filesystem-3.1-1.1 [ 41s] [5/112] keeping glibc-2.40-2.2 [ 41s] [6/112] keeping bash-3.2.57-1.2 [ 41s] [7/112] keeping cpio-2.8-1.2 [ 41s] [8/112] keeping diffutils-3.10-1.1 [ 41s] [9/112] keeping findutils-4.3.8-1.23 [ 41s] [10/112] keeping gdbm-1.8.3-1.33 [ 41s] [11/112] keeping hostname-3.23-1.2 [ 41s] [12/112] keeping libatomic-14.2.0-3.3 [ 41s] [13/112] keeping libattr-2.5.1-1.23 [ 41s] [14/112] keeping libblkid-2.39.3-1.18 [ 41s] [15/112] keeping libbz2-1.0.8-1.23 [ 41s] [16/112] keeping libexpat-2.6.2-1.28 [ 41s] [17/112] keeping libffi-3.4.2-2.13 [ 41s] [18/112] keeping libfreebl3-3.98-1.32 [ 41s] [19/112] keeping libgcc-14.2.0-3.3 [ 42s] [20/112] keeping libgomp-14.2.0-3.3 [ 42s] [21/112] keeping libitm-14.2.0-3.3 [ 42s] [22/112] keeping libltdl-2.4.7-1.33 [ 42s] [23/112] keeping liblua-5.1.5-1.21 [ 42s] [24/112] keeping liblzma-5.4.5-1.33 [ 42s] [25/112] keeping libopenssl3-3.0.13-1.33 [ 42s] [26/112] keeping libpcre-8.45-1.23 [ 42s] [27/112] keeping libpopt-1.16-1.21 [ 42s] [28/112] keeping libpython3_121_0-3.12.0-1.24 [ 42s] [29/112] keeping libsmack-1.3.1-1.22 [ 42s] [30/112] keeping libsmartcols-2.39.3-1.18 [ 42s] [31/112] keeping libsqlite-3.44.0-1.23 [ 42s] [32/112] keeping libuuid-2.39.3-1.18 [ 42s] [33/112] keeping libxcrypt-4.4.36-1.28 [ 42s] [34/112] keeping libzstd1-1.5.5-1.22 [ 42s] [35/112] keeping m4-1.4.19-1.2 [ 42s] [36/112] keeping net-tools-2.0_20121208git-1.21 [ 42s] [37/112] keeping nspr-4.35-1.22 [ 42s] [38/112] keeping patch-2.7.6-1.21 [ 42s] [39/112] keeping pkg-config-0.29.2-1.23 [ 42s] [40/112] keeping sed-4.1c-1.22 [ 42s] [41/112] keeping update-alternatives-1.22.2-1.1 [ 42s] [42/112] keeping which-2.17-1.2 [ 42s] [43/112] keeping zlib-1.3-1.23 [ 42s] [44/112] keeping build-compare-2023.06.18-1.14 [ 42s] [45/112] keeping hal-rootstrap-checker-0.1.0-1.1 [ 42s] [46/112] keeping qemu-linux-user-x86_64-cross-5.2.0.2-23.10 [ 42s] [47/112] keeping binutils-libs-2.43-1.22 [ 42s] [48/112] keeping coreutils-6.9-14.12 [ 42s] [49/112] keeping cpp-14.2.0-3.3 [ 42s] [50/112] cumulate flex-2.6.4-1.22 [ 42s] [51/112] keeping gawk-3.1.5-1.2 [ 42s] [52/112] keeping gcc-c++-14.2.0-3.3 [ 42s] [53/112] keeping grep-2.5.2-1.20 [ 42s] [54/112] keeping libacl-2.3.2-1.22 [ 42s] [55/112] keeping libcap-2.69-1.21 [ 42s] [56/112] keeping libelf-0.189-1.32 [ 42s] [57/112] keeping libgfortran-14.2.0-3.3 [ 42s] [58/112] keeping libmount-2.39.3-1.18 [ 42s] [59/112] keeping libstdc++-14.2.0-3.3 [ 42s] [60/112] keeping make-4.4-1.22 [ 42s] [61/112] keeping nss-certs-3.98-1.32 [ 42s] [62/112] keeping smack-1.3.1-1.22 [ 43s] [63/112] cumulate bison-3.0.5-1.22 [ 43s] [64/112] keeping bzip2-1.0.8-1.23 [ 43s] [65/112] keeping libfdisk-2.39.3-1.18 [ 43s] [66/112] keeping libmagic-5.45-1.21 [ 43s] [67/112] keeping libxml2-2.12.5-1.22 [ 43s] [68/112] keeping xz-5.4.5-1.33 [ 43s] [69/112] keeping perl-5.38.0-1.21 [ 43s] [70/112] keeping build-mkbaselibs-20120927-1.1 [ 43s] [71/112] keeping libstdc++-devel-14.2.0-3.3 [ 43s] [72/112] keeping linux-glibc-devel-6.6-1.29 [ 43s] [73/112] keeping binutils-2.43-1.22 [ 43s] [74/112] keeping file-5.45-1.21 [ 43s] [75/112] keeping tar-1.17-1.1 [ 43s] [76/112] keeping terminfo-base-full-6.4-1.33 [ 43s] [77/112] keeping autoconf-2.71-1.45 [ 43s] [78/112] keeping glibc-locale-2.40-2.2 [ 43s] [79/112] keeping gzip-1.3.12-1.22 [ 43s] [80/112] keeping libcc1-14.2.0-3.3 [ 43s] [81/112] keeping libubsan-14.2.0-3.3 [ 43s] [82/112] keeping pam-1.1.6-1.21 [ 43s] [83/112] cumulate swig-4.0.2-0 [ 43s] [84/112] keeping tzdata-2023c-1.1 [ 43s] [85/112] keeping libdw-0.189-1.32 [ 43s] [86/112] keeping libarchive-3.7.2-1.31 [ 43s] [87/112] keeping automake-1.16.5-1.44 [ 43s] [88/112] keeping libasm-0.189-1.32 [ 43s] [89/112] keeping libncurses6-6.4-1.33 [ 43s] [90/112] keeping build-20120927-1.1 [ 43s] [91/112] keeping gcc-14.2.0-3.3 [ 43s] [92/112] keeping libncurses-6.4-1.33 [ 43s] [93/112] keeping less-643-1.1 [ 43s] [94/112] keeping libreadline-5.2-1.21 [ 43s] [95/112] keeping qemu-accel-x86_64-riscv64-0.4-3.15 [ 43s] [96/112] keeping libtool-2.4.7-1.33 [ 43s] [97/112] keeping elfutils-0.189-1.32 [ 43s] [98/112] cumulate bc-1.06-1.1 [ 43s] [99/112] keeping python3-base-3.12.0-1.24 [ 43s] [100/112] keeping util-linux-2.39.3-1.18 [ 43s] [101/112] keeping python3-3.12.0-1.1 [ 43s] [102/112] keeping util-linux-su-2.39.3-1.18 [ 43s] [103/112] keeping python3-devel-3.12.0-1.24 [ 43s] [104/112] keeping python3-setuptools-69.0.2-1.14 [ 43s] [105/112] keeping libxcrypt-devel-4.4.36-1.28 [ 43s] [106/112] keeping nss-3.98-1.32 [ 43s] [107/112] keeping glibc-devel-2.40-2.2 [ 43s] [108/112] keeping libsoftokn3-3.98-1.32 [ 43s] [109/112] keeping rpm-4.14.1.1-3.21 [ 44s] [110/112] cumulate zlib-devel-1.3-1.23 [ 44s] [111/112] keeping rpm-build-4.14.1.1-3.21 [ 44s] [112/112] cumulate libopenssl3-devel-3.0.13-1.33 [ 44s] now installing cumulated packages [ 44s] Preparing... ######################################## [ 44s] Updating / installing... [ 44s] zlib-devel-1.3-1.23 ######################################## [ 44s] libopenssl3-devel-3.0.13-1.33 ######################################## [ 44s] bc-1.06-1.1 ######################################## [ 45s] swig-4.0.2-0 ######################################## [ 45s] bison-3.0.5-1.22 ######################################## [ 45s] flex-2.6.4-1.22 ######################################## [ 45s] opensbi-1.5-0 ######################################## [ 45s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.21/etc/nsswitch.conf... [ 45s] now finalizing build dir... [ 48s] ----------------------------------------------------------------- [ 48s] ----- building u-boot-lpi4a-8g.spec (user abuild) [ 48s] ----------------------------------------------------------------- [ 48s] ----------------------------------------------------------------- [ 49s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 49s] Building target platforms: riscv64-tizen-linux [ 49s] Building for target riscv64-tizen-linux [ 49s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sUdSjI [ 49s] + umask 022 [ 49s] + cd /home/abuild/rpmbuild/BUILD [ 49s] + cd /home/abuild/rpmbuild/BUILD [ 49s] + rm -rf u-boot-2020.01 [ 49s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 49s] + /bin/tar -xof - [ 67s] + STATUS=0 [ 67s] + '[' 0 -ne 0 ']' [ 67s] + cd u-boot-2020.01 [ 67s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 68s] + exit 0 [ 68s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LwS4L8 [ 68s] + umask 022 [ 68s] + cd /home/abuild/rpmbuild/BUILD [ 68s] + cd u-boot-2020.01 [ 68s] + ref=/usr/lib/rpm [ 68s] + mints=0 [ 68s] + case $(uname -m) in [ 68s] ++ uname -m [ 68s] + mints=20160911 [ 68s] + for s in guess sub [ 68s] ++ find -maxdepth 8 -name config.guess [ 68s] + for s in guess sub [ 68s] ++ find -maxdepth 8 -name config.sub [ 68s] + LANG=C [ 68s] + export LANG [ 68s] + unset DISPLAY [ 68s] + 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' [ 68s] + export CFLAGS [ 68s] + 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' [ 68s] + export CXXFLAGS [ 68s] + 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' [ 68s] + export FFLAGS [ 68s] + LDFLAGS= [ 68s] + export LDFLAGS [ 68s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-8g.manifest . [ 68s] + CONFIG=tizen_lpi4a_8g_defconfig [ 68s] + make mrproper [ 77s] + make tizen_lpi4a_8g_defconfig [ 78s] HOSTCC scripts/basic/fixdep [ 81s] HOSTCC scripts/kconfig/conf.o [ 82s] YACC scripts/kconfig/zconf.tab.c [ 83s] LEX scripts/kconfig/zconf.lex.c [ 84s] HOSTCC scripts/kconfig/zconf.tab.o [ 93s] HOSTLD scripts/kconfig/conf [ 94s] # [ 94s] # configuration written to .config [ 94s] # [ 94s] + 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 [ 98s] HOSTCC scripts/basic/fixdep [ 100s] HOSTCC scripts/kconfig/conf.o [ 102s] HOSTCC scripts/kconfig/zconf.tab.o [ 109s] HOSTLD scripts/kconfig/conf [ 109s] scripts/kconfig/conf --syncconfig Kconfig [ 110s] CHK include/config.h [ 110s] UPD include/config.h [ 110s] CFG u-boot.cfg [ 110s] GEN include/autoconf.mk.dep [ 110s] CFG spl/u-boot.cfg [ 111s] GEN include/autoconf.mk [ 111s] GEN spl/include/autoconf.mk [ 121s] CHK include/config/uboot.release [ 121s] CHK include/generated/timestamp_autogenerated.h [ 121s] HOSTCC scripts/basic/fixdep [ 121s] UPD include/config/uboot.release [ 121s] CHK include/generated/version_autogenerated.h [ 121s] UPD include/generated/timestamp_autogenerated.h [ 121s] UPD include/generated/version_autogenerated.h [ 122s] CC lib/asm-offsets.s [ 122s] CC arch/riscv/lib/asm-offsets.s [ 122s] HOSTCC scripts/dtc/dtc.o [ 122s] HOSTCC scripts/dtc/flattree.o [ 122s] HOSTCC scripts/dtc/fstree.o [ 122s] In file included from include/linux/bitops.h:136, [ 122s] from include/common.h:26, [ 122s] from arch/riscv/lib/asm-offsets.c:11: [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 122s] 98 | out = __test_and_clear_bit(nr, addr); [ 122s] | ^~~~ [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 122s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 122s] | ~~~~~~^~~~ [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 122s] 95 | unsigned long flags = 0; [ 122s] | ^~~~~ [ 122s] In file included from include/linux/bitops.h:136, [ 122s] from include/common.h:26, [ 122s] from lib/asm-offsets.c:14: [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 122s] 98 | out = __test_and_clear_bit(nr, addr); [ 122s] | ^~~~ [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 122s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 122s] | ~~~~~~^~~~ [ 122s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 122s] 95 | unsigned long flags = 0; [ 122s] | ^~~~~ [ 122s] HOSTCC scripts/dtc/data.o [ 122s] HOSTCC scripts/dtc/livetree.o [ 122s] HOSTCC scripts/dtc/treesource.o [ 122s] CHK include/generated/asm-offsets.h [ 122s] CHK include/generated/generic-asm-offsets.h [ 122s] HOSTCC scripts/dtc/srcpos.o [ 122s] UPD include/generated/generic-asm-offsets.h [ 122s] UPD include/generated/asm-offsets.h [ 122s] HOSTCC scripts/dtc/checks.o [ 122s] HOSTCC scripts/dtc/util.o [ 122s] LEX scripts/dtc/dtc-lexer.lex.c [ 122s] YACC scripts/dtc/dtc-parser.tab.h [ 122s] YACC scripts/dtc/dtc-parser.tab.c [ 123s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 123s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 124s] HOSTLD scripts/dtc/dtc [ 124s] HOSTCC tools/bmp_logo [ 124s] HOSTCC tools/gen_eth_addr [ 124s] HOSTCC tools/gen_ethaddr_crc.o [ 124s] WRAP tools/lib/crc8.c [ 124s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 124s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 124s] HOSTCC tools/img2srec [ 124s] HOSTCC tools/mkenvimage.o [ 124s] HOSTCC tools/os_support.o [ 124s] WRAP tools/lib/crc32.c [ 124s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 124s] HOSTCC tools/aisimage.o [ 124s] HOSTCC tools/atmelimage.o [ 125s] WRAP tools/common/bootm.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 125s] HOSTCC tools/lib/crc32.o [ 125s] HOSTCC tools/default_image.o [ 125s] WRAP tools/lib/fdtdec_common.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 125s] WRAP tools/lib/fdtdec.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 125s] WRAP tools/common/image.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 125s] HOSTCC tools/imagetool.o [ 125s] HOSTCC tools/imximage.o [ 125s] HOSTCC tools/imx8image.o [ 125s] HOSTCC tools/imx8mimage.o [ 125s] HOSTCC tools/kwbimage.o [ 125s] WRAP tools/lib/md5.c [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 125s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/md5.c'. [ 125s] HOSTCC tools/lpc32xximage.o [ 125s] HOSTCC tools/mxsimage.o [ 125s] HOSTCC tools/omapimage.o [ 125s] HOSTCC tools/pblimage.o [ 125s] HOSTCC tools/pbl_crc32.o [ 125s] tools/imx8image.c: In function 'copy_file.constprop': [ 125s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 125s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 125s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 125s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 125s] 367 | int zero = 0; [ 125s] | ^~~~ [ 125s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 125s] from include/imx8image.h:13, [ 125s] from tools/imx8image.c:8: [ 125s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 125s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 125s] | ^~~~~ [ 125s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 125s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 125s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 125s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 125s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 125s] 251 | int zero = 0; [ 125s] | ^~~~ [ 125s] In file included from tools/imagetool.h:21, [ 125s] from tools/imx8mimage.c:9: [ 125s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 125s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 125s] | ^~~~~ [ 125s] HOSTCC tools/vybridimage.o [ 126s] HOSTCC tools/stm32image.o [ 126s] WRAP tools/lib/rc4.c [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/rc4.c'. [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/rc4.c'. [ 126s] HOSTCC tools/rkcommon.o [ 126s] HOSTCC tools/rkimage.o [ 126s] HOSTCC tools/rksd.o [ 126s] HOSTCC tools/rkspi.o [ 126s] HOSTCC tools/socfpgaimage.o [ 126s] WRAP tools/lib/crc16.c [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc16.c'. [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc16.c'. [ 126s] WRAP tools/lib/sha1.c [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha1.c'. [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha1.c'. [ 126s] WRAP tools/lib/sha256.c [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha256.c'. [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha256.c'. [ 126s] WRAP tools/common/hash.c [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/hash.c'. [ 126s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/hash.c'. [ 126s] HOSTCC tools/ublimage.o [ 126s] HOSTCC tools/zynqimage.o [ 126s] HOSTCC tools/zynqmpimage.o [ 126s] HOSTCC tools/zynqmpbif.o [ 126s] HOSTCC tools/libfdt/fdt.o [ 126s] HOSTCC tools/libfdt/fdt_wip.o [ 126s] HOSTCC tools/libfdt/fdt_sw.o [ 127s] HOSTCC tools/libfdt/fdt_rw.o [ 127s] HOSTCC tools/libfdt/fdt_strerror.o [ 127s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 127s] HOSTCC tools/libfdt/fdt_addresses.o [ 127s] HOSTCC tools/libfdt/fdt_overlay.o [ 127s] WRAP tools/lib/libfdt/fdt_ro.c [ 127s] /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'. [ 127s] /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'. [ 127s] WRAP tools/lib/libfdt/fdt_region.c [ 127s] /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'. [ 127s] /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'. [ 127s] HOSTCC tools/gpimage.o [ 127s] HOSTCC tools/mtk_image.o [ 127s] HOSTCC tools/gpimage-common.o [ 127s] HOSTCC tools/dumpimage.o [ 127s] HOSTCC tools/common/bootm.o [ 127s] HOSTCC tools/lib/fdtdec_common.o [ 127s] HOSTCC tools/lib/fdtdec.o [ 127s] HOSTCC tools/common/image.o [ 128s] HOSTCC tools/lib/md5.o [ 128s] HOSTCC tools/lib/rc4.o [ 128s] HOSTCC tools/lib/crc16.o [ 128s] HOSTCC tools/lib/sha1.o [ 128s] HOSTCC tools/lib/sha256.o [ 128s] HOSTCC tools/common/hash.o [ 128s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 128s] HOSTCC tools/lib/libfdt/fdt_region.o [ 128s] HOSTCC tools/mkimage.o [ 128s] HOSTCC tools/proftool [ 128s] HOSTCC tools/prelink-riscv [ 128s] HOSTCC tools/fdtgrep.o [ 129s] HOSTCC tools/spl_size_limit [ 129s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 129s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 129s] HOSTCC tools/lib/crc8.o [ 129s] HOSTLD tools/mkenvimage [ 129s] HOSTLD tools/gen_ethaddr_crc [ 130s] HOSTLD tools/fdtgrep [ 132s] HOSTLD tools/dumpimage [ 132s] HOSTLD tools/mkimage [ 132s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 132s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 132s] ++ echo platform/kernel/u-boot-thead#7a92d09dbfbbb09327b4aea686fe71a7472fddca [ 132s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 132s] + make -j8 EXTRAVERSION=-g7a92d09db-TIZEN.org [ 136s] HOSTCC scripts/basic/fixdep [ 138s] HOSTCC scripts/kconfig/conf.o [ 140s] HOSTCC scripts/kconfig/zconf.tab.o [ 146s] HOSTLD scripts/kconfig/conf [ 146s] scripts/kconfig/conf --syncconfig Kconfig [ 147s] CHK include/config.h [ 147s] CFG u-boot.cfg [ 147s] GEN include/autoconf.mk.dep [ 147s] CFG spl/u-boot.cfg [ 148s] GEN include/autoconf.mk [ 148s] GEN spl/include/autoconf.mk [ 157s] CHK include/config/uboot.release [ 157s] CHK include/generated/timestamp_autogenerated.h [ 158s] UPD include/config/uboot.release [ 158s] UPD include/generated/timestamp_autogenerated.h [ 158s] CHK include/generated/version_autogenerated.h [ 158s] HOSTCC scripts/dtc/dtc.o [ 158s] HOSTCC scripts/dtc/flattree.o [ 158s] HOSTCC scripts/dtc/fstree.o [ 158s] HOSTCC scripts/dtc/data.o [ 158s] UPD include/generated/version_autogenerated.h [ 158s] HOSTCC scripts/dtc/livetree.o [ 158s] HOSTCC scripts/dtc/treesource.o [ 158s] HOSTCC scripts/dtc/srcpos.o [ 158s] HOSTCC scripts/dtc/checks.o [ 158s] HOSTCC scripts/dtc/util.o [ 158s] CC lib/asm-offsets.s [ 159s] In file included from include/linux/bitops.h:136, [ 159s] from include/common.h:26, [ 159s] from lib/asm-offsets.c:14: [ 159s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 159s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 159s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 159s] 98 | out = __test_and_clear_bit(nr, addr); [ 159s] | ^~~~ [ 159s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 159s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 159s] | ~~~~~~^~~~ [ 159s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 159s] 95 | unsigned long flags = 0; [ 159s] | ^~~~~ [ 159s] CC arch/riscv/lib/asm-offsets.s [ 159s] In file included from include/linux/bitops.h:136, [ 159s] from include/common.h:26, [ 159s] from arch/riscv/lib/asm-offsets.c:11: [ 159s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 159s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 159s] 98 | out = __test_and_clear_bit(nr, addr); [ 159s] | ^~~~ [ 159s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 159s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 159s] | ~~~~~~^~~~ [ 159s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 159s] 95 | unsigned long flags = 0; [ 159s] | ^~~~~ [ 159s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 159s] CHK include/generated/generic-asm-offsets.h [ 159s] CHK include/generated/asm-offsets.h [ 160s] LDS u-boot.lds [ 160s] HOSTLD scripts/dtc/dtc [ 161s] HOSTCC tools/bmp_logo [ 161s] HOSTCC tools/gen_eth_addr [ 161s] HOSTCC tools/gen_ethaddr_crc.o [ 161s] HOSTCC tools/lib/crc8.o [ 161s] HOSTCC tools/img2srec [ 161s] HOSTCC tools/mkenvimage.o [ 161s] HOSTCC tools/os_support.o [ 161s] HOSTCC tools/lib/crc32.o [ 161s] HOSTCC tools/aisimage.o [ 161s] HOSTCC tools/atmelimage.o [ 161s] HOSTCC tools/common/bootm.o [ 161s] HOSTCC tools/default_image.o [ 161s] HOSTCC tools/lib/fdtdec_common.o [ 161s] HOSTCC tools/lib/fdtdec.o [ 161s] HOSTCC tools/common/image.o [ 161s] HOSTCC tools/imagetool.o [ 161s] HOSTCC tools/imximage.o [ 161s] HOSTCC tools/imx8image.o [ 161s] In file included from tools/default_image.c:20: [ 161s] In function 'image_set_name', [ 161s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 161s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 161s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 161s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 161s] HOSTCC tools/imx8mimage.o [ 161s] HOSTCC tools/kwbimage.o [ 162s] HOSTCC tools/lib/md5.o [ 162s] HOSTCC tools/lpc32xximage.o [ 162s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 162s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 162s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 162s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 162s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 162s] 251 | int zero = 0; [ 162s] | ^~~~ [ 162s] In file included from tools/imagetool.h:21, [ 162s] from tools/imx8mimage.c:9: [ 162s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 162s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 162s] | ^~~~~ [ 162s] tools/imx8image.c: In function 'copy_file.constprop': [ 162s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 162s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 162s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 162s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 162s] 367 | int zero = 0; [ 162s] | ^~~~ [ 162s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 162s] from include/imx8image.h:13, [ 162s] from tools/imx8image.c:8: [ 162s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 162s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 162s] | ^~~~~ [ 162s] HOSTCC tools/mxsimage.o [ 162s] HOSTCC tools/omapimage.o [ 162s] HOSTCC tools/pblimage.o [ 162s] HOSTCC tools/pbl_crc32.o [ 162s] HOSTCC tools/vybridimage.o [ 162s] HOSTCC tools/stm32image.o [ 162s] HOSTCC tools/lib/rc4.o [ 162s] HOSTCC tools/rkcommon.o [ 162s] HOSTCC tools/rkimage.o [ 162s] HOSTCC tools/rksd.o [ 162s] HOSTCC tools/rkspi.o [ 162s] HOSTCC tools/socfpgaimage.o [ 163s] HOSTCC tools/lib/crc16.o [ 163s] HOSTCC tools/lib/sha1.o [ 163s] HOSTCC tools/lib/sha256.o [ 163s] HOSTCC tools/common/hash.o [ 163s] HOSTCC tools/ublimage.o [ 163s] HOSTCC tools/zynqimage.o [ 163s] HOSTCC tools/zynqmpimage.o [ 163s] HOSTCC tools/zynqmpbif.o [ 163s] HOSTCC tools/libfdt/fdt.o [ 163s] HOSTCC tools/libfdt/fdt_wip.o [ 163s] HOSTCC tools/libfdt/fdt_sw.o [ 163s] HOSTCC tools/libfdt/fdt_rw.o [ 163s] HOSTCC tools/libfdt/fdt_strerror.o [ 163s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 164s] HOSTCC tools/libfdt/fdt_addresses.o [ 164s] HOSTCC tools/libfdt/fdt_overlay.o [ 164s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 164s] HOSTCC tools/lib/libfdt/fdt_region.o [ 164s] HOSTCC tools/gpimage.o [ 164s] HOSTCC tools/gpimage-common.o [ 164s] HOSTCC tools/mtk_image.o [ 164s] HOSTCC tools/dumpimage.o [ 164s] HOSTCC tools/mkimage.o [ 165s] HOSTCC tools/proftool [ 165s] HOSTCC tools/prelink-riscv [ 165s] HOSTCC tools/fdtgrep.o [ 165s] HOSTCC tools/spl_size_limit [ 165s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 165s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 165s] HOSTLD tools/gen_ethaddr_crc [ 165s] HOSTLD tools/mkenvimage [ 166s] HOSTLD tools/fdtgrep [ 167s] HOSTLD tools/dumpimage [ 167s] HOSTLD tools/mkimage [ 168s] CC arch/riscv/cpu/cpu.o [ 168s] AS arch/riscv/cpu/mtrap.o [ 168s] AS arch/riscv/cpu/start.o [ 168s] CC arch/riscv/cpu/c9xx/dram.o [ 168s] CC arch/riscv/cpu/c9xx/cpu.o [ 168s] CC arch/riscv/cpu/c9xx/feature.o [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from arch/riscv/cpu/c9xx/dram.c:7: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from arch/riscv/cpu/cpu.c:6: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] CC board/thead/common/board_common.o [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from arch/riscv/cpu/c9xx/feature.c:1: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from board/thead/common/board_common.c:7: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] LD arch/riscv/cpu/built-in.o [ 168s] CC arch/riscv/lib/bootm.o [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from arch/riscv/lib/bootm.c:9: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] CC board/thead/light-c910/light.o [ 168s] CC arch/riscv/lib/image.o [ 168s] LD arch/riscv/cpu/c9xx/built-in.o [ 168s] CC disk/part.o [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from board/thead/light-c910/light.c:7: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] arch/riscv/lib/bootm.c: At top level: [ 168s] CC arch/riscv/lib/boot.o [ 168s] LD board/thead/common/built-in.o [ 168s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 168s] 34 | extern void secondary_entry(); [ 168s] | ^~~~~~ [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from arch/riscv/lib/image.c:9: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] CC disk/part_efi.o [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from arch/riscv/lib/boot.c:7: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from disk/part.c:7: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from disk/part_efi.c:13: [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 168s] 98 | out = __test_and_clear_bit(nr, addr); [ 168s] | ^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 168s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 168s] | ~~~~~~^~~~ [ 168s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 168s] 95 | unsigned long flags = 0; [ 168s] | ^~~~~ [ 169s] CC arch/riscv/lib/cache.o [ 169s] CC arch/riscv/lib/thead_ipi.o [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from arch/riscv/lib/cache.c:7: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] CC board/thead/light-c910/board.o [ 169s] CC board/thead/light-c910/clock_config.o [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from board/thead/light-c910/board.c:7: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from board/thead/light-c910/clock_config.c:7: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] CC arch/riscv/lib/rdtime.o [ 169s] CC common/init/board_init.o [ 169s] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from common/init/board_init.c:9: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] board/thead/light-c910/board.c:156:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 169s] 156 | int sc_err = SC_FAIL; [ 169s] | ^~~~~~ [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from arch/riscv/lib/rdtime.c:10: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] LD cmd/riscv/built-in.o [ 169s] CC cmd/boot.o [ 169s] CC board/thead/light-c910/sec_check.o [ 169s] LD common/init/built-in.o [ 169s] CC common/main.o [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from cmd/boot.c:10: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from board/thead/light-c910/sec_check.c:7: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] CC arch/riscv/lib/interrupts.o [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from common/main.c:9: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from arch/riscv/lib/interrupts.c:10: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] CC common/exports.o [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from common/exports.c:1: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] CC arch/riscv/lib/reset.o [ 169s] In file included from include/linux/bitops.h:136, [ 169s] from include/common.h:26, [ 169s] from arch/riscv/lib/reset.c:6: [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 169s] 98 | out = __test_and_clear_bit(nr, addr); [ 169s] | ^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 169s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 169s] | ~~~~~~^~~~ [ 169s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 169s] 95 | unsigned long flags = 0; [ 169s] | ^~~~~ [ 169s] CC cmd/bootm.o [ 170s] CC cmd/help.o [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from cmd/bootm.c:10: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] CC board/thead/light-c910/boot.o [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from board/thead/light-c910/boot.c:3: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from cmd/help.c:7: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] LD disk/built-in.o [ 170s] AS arch/riscv/lib/setjmp.o [ 170s] CC cmd/version.o [ 170s] CC common/hash.o [ 170s] LD drivers/dma/ti/built-in.o [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from common/hash.c:13: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] LD drivers/dma/built-in.o [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from cmd/version.c:7: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] CC arch/riscv/lib/smp.o [ 170s] CC board/thead/light-c910/sbmeta/sbmeta.o [ 170s] CC cmd/blk_common.o [ 170s] LD drivers/adc/built-in.o [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from arch/riscv/lib/smp.c:7: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from cmd/blk_common.c:11: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from board/thead/light-c910/sbmeta/sbmeta.h:9, [ 170s] from board/thead/light-c910/sbmeta/sbmeta.c:6: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] LD drivers/ata/built-in.o [ 170s] CC cmd/source.o [ 170s] LD drivers/axi/built-in.o [ 170s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from cmd/source.c:17: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] CC drivers/block/blk-uclass.o [ 170s] CC common/cli_hush.o [ 170s] CC arch/riscv/lib/locks.o [ 170s] CC drivers/gpio/dwapb_gpio.o [ 170s] LD drivers/board/built-in.o [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from drivers/block/blk-uclass.c:7: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from common/cli_hush.c:78: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] CC drivers/i2c/i2c-uclass.o [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from drivers/gpio/dwapb_gpio.c:8: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 170s] In file included from include/linux/bitops.h:136, [ 170s] from include/common.h:26, [ 170s] from drivers/i2c/i2c-uclass.c:6: [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 170s] 98 | out = __test_and_clear_bit(nr, addr); [ 170s] | ^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 170s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 170s] | ~~~~~~^~~~ [ 170s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 170s] 95 | unsigned long flags = 0; [ 170s] | ^~~~~ [ 171s] LD arch/riscv/lib/built-in.o [ 171s] CC drivers/i2c/designware_i2c.o [ 171s] CC cmd/bdinfo.o [ 171s] In file included from include/linux/bitops.h:136, [ 171s] from include/common.h:26, [ 171s] from drivers/i2c/designware_i2c.c:8: [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 171s] 98 | out = __test_and_clear_bit(nr, addr); [ 171s] | ^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 171s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 171s] | ~~~~~~^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 171s] 95 | unsigned long flags = 0; [ 171s] | ^~~~~ [ 171s] LD drivers/cache/built-in.o [ 171s] In file included from include/linux/bitops.h:136, [ 171s] from include/common.h:26, [ 171s] from cmd/bdinfo.c:10: [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 171s] 98 | out = __test_and_clear_bit(nr, addr); [ 171s] | ^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 171s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 171s] | ~~~~~~^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 171s] 95 | unsigned long flags = 0; [ 171s] | ^~~~~ [ 171s] CC drivers/gpio/gpio-uclass.o [ 171s] In file included from include/linux/bitops.h:136, [ 171s] from include/common.h:26, [ 171s] from drivers/gpio/gpio-uclass.c:6: [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 171s] 98 | out = __test_and_clear_bit(nr, addr); [ 171s] | ^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 171s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 171s] | ~~~~~~^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 171s] 95 | unsigned long flags = 0; [ 171s] | ^~~~~ [ 171s] CC cmd/blkcache.o [ 171s] CC drivers/block/blkcache.o [ 171s] In file included from include/linux/bitops.h:136, [ 171s] from include/common.h:26, [ 171s] from cmd/blkcache.c:8: [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 171s] 98 | out = __test_and_clear_bit(nr, addr); [ 171s] | ^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 171s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 171s] | ~~~~~~^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 171s] 95 | unsigned long flags = 0; [ 171s] | ^~~~~ [ 171s] In file included from include/linux/bitops.h:136, [ 171s] from include/common.h:26, [ 171s] from drivers/block/blkcache.c:8: [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 171s] 98 | out = __test_and_clear_bit(nr, addr); [ 171s] | ^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 171s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 171s] | ~~~~~~^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 171s] 95 | unsigned long flags = 0; [ 171s] | ^~~~~ [ 171s] LD drivers/clk/analogbits/built-in.o [ 171s] LD drivers/clk/imx/built-in.o [ 171s] LD drivers/i2c/built-in.o [ 171s] CC common/autoboot.o [ 171s] CC board/thead/light-c910/light-sv/pll_io_test.o [ 171s] LD drivers/clk/tegra/built-in.o [ 171s] In file included from include/linux/bitops.h:136, [ 171s] from include/common.h:26, [ 171s] from common/autoboot.c:7: [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 171s] 98 | out = __test_and_clear_bit(nr, addr); [ 171s] | ^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 171s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 171s] | ~~~~~~^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 171s] 95 | unsigned long flags = 0; [ 171s] | ^~~~~ [ 171s] CC cmd/bmp.o [ 171s] In file included from include/linux/bitops.h:136, [ 171s] from include/common.h:26, [ 171s] from board/thead/light-c910/light-sv/pll_io_test.c:6: [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 171s] 98 | out = __test_and_clear_bit(nr, addr); [ 171s] | ^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 171s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 171s] | ~~~~~~^~~~ [ 171s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 171s] 95 | unsigned long flags = 0; [ 171s] | ^~~~~ [ 171s] CC drivers/clk/clk-uclass.o [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from cmd/bmp.c:11: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] CC drivers/core/device.o [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from drivers/clk/clk-uclass.c:9: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from drivers/core/device.c:11: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] LD drivers/block/built-in.o [ 172s] CC board/thead/light-c910/light-sv/adc_test.o [ 172s] CC cmd/booti.o [ 172s] CC drivers/core/fdtaddr.o [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from cmd/booti.c:7: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from drivers/core/fdtaddr.c:11: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] CC board/thead/light-c910/version_rollback.o [ 172s] CC drivers/gpio/pca953x_gpio.o [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from drivers/gpio/pca953x_gpio.c:22: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from board/thead/light-c910/version_rollback.c:7: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] CC common/board_f.o [ 172s] CC drivers/clk/clk_fixed_rate.o [ 172s] CC drivers/clk/clk_fixed_factor.o [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from common/board_f.c:12: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from drivers/clk/clk_fixed_rate.c:6: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] CC cmd/console.o [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from drivers/clk/clk_fixed_factor.c:8: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 172s] In file included from include/linux/bitops.h:136, [ 172s] from include/common.h:26, [ 172s] from cmd/console.c:10: [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 172s] 98 | out = __test_and_clear_bit(nr, addr); [ 172s] | ^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 172s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 172s] | ~~~~~~^~~~ [ 172s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 172s] 95 | unsigned long flags = 0; [ 172s] | ^~~~~ [ 173s] CC cmd/cpu.o [ 173s] LD board/thead/light-c910/built-in.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from cmd/cpu.c:8: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC drivers/core/lists.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from drivers/core/lists.c:11: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC common/board_r.o [ 173s] LD drivers/clk/built-in.o [ 173s] CC common/board_info.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from common/board_r.c:12: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] LD drivers/gpio/built-in.o [ 173s] CC drivers/cpu/cpu-uclass.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from common/board_info.c:3: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] CC cmd/dm.o [ 173s] CC common/bootm.o [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from cmd/dm.c:9: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from drivers/cpu/cpu-uclass.c:7: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from common/bootm.c:8: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC drivers/core/root.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from drivers/core/root.c:9: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] LD drivers/net/mscc_eswitch/built-in.o [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC drivers/net/phy/phy.o [ 173s] LD drivers/net/ti/built-in.o [ 173s] CC cmd/echo.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from drivers/net/phy/phy.c:10: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC drivers/net/designware.o [ 173s] CC drivers/cpu/riscv_cpu.o [ 173s] LD drivers/power/built-in.o [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from cmd/echo.c:7: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from drivers/cpu/riscv_cpu.c:6: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] In file included from include/linux/bitops.h:136, [ 173s] from include/common.h:26, [ 173s] from drivers/net/designware.c:11: [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 173s] 98 | out = __test_and_clear_bit(nr, addr); [ 173s] | ^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 173s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 173s] | ~~~~~~^~~~ [ 173s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 173s] 95 | unsigned long flags = 0; [ 173s] | ^~~~~ [ 173s] CC common/bootm_os.o [ 173s] CC drivers/core/uclass.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from common/bootm_os.c:7: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from drivers/core/uclass.c:11: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] CC drivers/crypto/fsl/sec.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from drivers/crypto/fsl/sec.c:6: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] CC drivers/core/util.o [ 174s] CC cmd/elf.o [ 174s] LD drivers/cpu/built-in.o [ 174s] CC cmd/exit.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from cmd/elf.c:16: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from drivers/core/util.c:6: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from cmd/exit.c:7: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] CC common/fdt_support.o [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] LD drivers/crypto/fsl/built-in.o [ 174s] CC drivers/net/phy/marvell.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from common/fdt_support.c:9: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] LD drivers/crypto/rsa_mod_exp/built-in.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from drivers/net/phy/marvell.c:8: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] LD drivers/net/built-in.o [ 174s] LD drivers/crypto/built-in.o [ 174s] CC cmd/ext4.o [ 174s] In file included from include/linux/bitops.h:136, [ 174s] from include/common.h:26, [ 174s] from cmd/ext4.c:28: [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 174s] 98 | out = __test_and_clear_bit(nr, addr); [ 174s] | ^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 174s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 174s] | ~~~~~~^~~~ [ 174s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 174s] 95 | unsigned long flags = 0; [ 174s] | ^~~~~ [ 174s] LD drivers/power/battery/built-in.o [ 174s] CC drivers/core/device-remove.o [ 174s] LD drivers/dfu/built-in.o [ 174s] LD drivers/power/domain/built-in.o [ 174s] CC cmd/ext2.o [ 174s] CC common/miiphyutil.o [ 175s] LD drivers/power/fuel_gauge/built-in.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/core/device-remove.c:11: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from common/miiphyutil.c:12: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from include/fs.h:8, [ 175s] from cmd/ext2.c:22: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC common/usb.o [ 175s] CC common/usb_hub.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from common/usb.c:28: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] CC drivers/fastboot/fb_common.o [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from common/usb_hub.c:24: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/fastboot/fb_common.c:13: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC cmd/fat.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from cmd/fat.c:10: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC drivers/fastboot/fb_getvar.o [ 175s] CC drivers/input/key_matrix.o [ 175s] CC drivers/core/simple-bus.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/fastboot/fb_getvar.c:6: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/input/key_matrix.c:9: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/core/simple-bus.c:6: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] CC drivers/net/phy/realtek.o [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC cmd/fdt.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from drivers/net/phy/realtek.c:9: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] CC cmd/flash.o [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from cmd/fdt.c:10: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 175s] In file included from include/linux/bitops.h:136, [ 175s] from include/common.h:26, [ 175s] from cmd/flash.c:10: [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 175s] 98 | out = __test_and_clear_bit(nr, addr); [ 175s] | ^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 175s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 175s] | ~~~~~~^~~~ [ 175s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 175s] 95 | unsigned long flags = 0; [ 175s] | ^~~~~ [ 176s] CC drivers/core/dump.o [ 176s] CC common/iomux.o [ 176s] CC drivers/net/phy/mscc.o [ 176s] LD drivers/input/built-in.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from drivers/core/dump.c:6: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] CC drivers/fastboot/fb_command.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from common/iomux.c:7: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] LD drivers/mailbox/built-in.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from include/miiphy.h:17, [ 176s] from drivers/net/phy/mscc.c:12: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from drivers/fastboot/fb_command.c:6: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] CC drivers/core/regmap.o [ 176s] LD drivers/memory/built-in.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from drivers/core/regmap.c:7: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] CC common/splash.o [ 176s] CC drivers/fastboot/fb_mmc.o [ 176s] CC cmd/fs.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from drivers/fastboot/fb_mmc.c:7: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from cmd/fs.c:8: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from common/splash.c:23: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] CC common/menu.o [ 176s] CC common/cli_readline.o [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from common/menu.c:7: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 176s] In file included from include/linux/bitops.h:136, [ 176s] from include/common.h:26, [ 176s] from common/cli_readline.c:11: [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 176s] 98 | out = __test_and_clear_bit(nr, addr); [ 176s] | ^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 176s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 176s] | ~~~~~~^~~~ [ 176s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 176s] 95 | unsigned long flags = 0; [ 176s] | ^~~~~ [ 177s] LD drivers/misc/built-in.o [ 177s] CC drivers/core/syscon-uclass.o [ 177s] LD drivers/fastboot/built-in.o [ 177s] LD drivers/power/mfd/built-in.o [ 177s] CC common/cli_simple.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/core/syscon-uclass.c:7: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC common/bouncebuf.o [ 177s] LD drivers/power/pmic/built-in.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from common/cli_simple.c:11: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC drivers/core/of_extra.o [ 177s] LD drivers/power/regulator/built-in.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from common/bouncebuf.c:8: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/core/of_extra.c:7: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC drivers/core/ofnode.o [ 177s] CC cmd/i2c.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/core/ofnode.c:7: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] LD drivers/net/phy/built-in.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from cmd/i2c.c:67: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC drivers/core/read_extra.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from drivers/core/read_extra.c:7: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC common/console.o [ 177s] CC cmd/itest.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from common/console.c:7: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from cmd/itest.c:14: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] CC cmd/load.o [ 177s] CC common/dlmalloc.o [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from cmd/load.c:10: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 177s] In file included from include/linux/bitops.h:136, [ 177s] from include/common.h:26, [ 177s] from common/dlmalloc.c:1: [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 177s] 98 | out = __test_and_clear_bit(nr, addr); [ 177s] | ^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 177s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 177s] | ~~~~~~^~~~ [ 177s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 177s] 95 | unsigned long flags = 0; [ 177s] | ^~~~~ [ 178s] CC drivers/serial/serial-uclass.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/serial/serial-uclass.c:6: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC common/malloc_simple.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from common/malloc_simple.c:10: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC drivers/mmc/mmc.o [ 178s] CC common/image.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/mmc/mmc.c:10: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from common/image.c:10: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC drivers/spi/spi-uclass.o [ 178s] CC cmd/mem.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/spi/spi-uclass.c:6: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] LD drivers/usb/cdns3/built-in.o [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] LD drivers/core/built-in.o [ 178s] CC drivers/spi/spi-mem.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from cmd/mem.c:13: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] CC drivers/serial/ns16550.o [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from include/spi.h:12, [ 178s] from drivers/spi/spi-mem.c:14: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 178s] In file included from include/linux/bitops.h:136, [ 178s] from include/common.h:26, [ 178s] from drivers/serial/ns16550.c:7: [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 178s] 98 | out = __test_and_clear_bit(nr, addr); [ 178s] | ^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 178s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 178s] | ~~~~~~^~~~ [ 178s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 178s] 95 | unsigned long flags = 0; [ 178s] | ^~~~~ [ 179s] LD drivers/mtd/onenand/built-in.o [ 179s] CC drivers/mtd/nand/core.o [ 179s] CC drivers/mtd/nand/spi/core.o [ 179s] CC common/image-fdt.o [ 179s] CC drivers/spi/designware_spi.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/mtd/nand/spi/core.c:23: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from common/image-fdt.c:11: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/mtd/nand/core.c:12: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] LD drivers/serial/built-in.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/spi/designware_spi.c:12: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC drivers/mtd/nand/spi/gigadevice.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from include/linux/mtd/spinand.h:20, [ 179s] from drivers/mtd/nand/spi/gigadevice.c:13: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC drivers/spi/designware_qspi.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from drivers/spi/designware_qspi.c:12: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC cmd/mii.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from cmd/mii.c:11: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 179s] CC common/memsize.o [ 179s] CC drivers/mmc/mmc-uclass.o [ 179s] In file included from include/linux/bitops.h:136, [ 179s] from include/common.h:26, [ 179s] from common/memsize.c:7: [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 179s] 98 | out = __test_and_clear_bit(nr, addr); [ 179s] | ^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 179s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 179s] | ~~~~~~^~~~ [ 179s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 179s] 95 | unsigned long flags = 0; [ 179s] | ^~~~~ [ 180s] LD drivers/usb/common/built-in.o [ 180s] CC drivers/mmc/mmc_write.o [ 180s] CC common/stdio.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/mmc/mmc-uclass.c:7: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from common/stdio.c:12: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/mmc/mmc_write.c:10: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] CC drivers/mtd/nand/bbt.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/mtd/nand/bbt.c:12: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] CC cmd/mdio.o [ 180s] CC common/cli.o [ 180s] CC drivers/mtd/nand/spi/macronix.o [ 180s] LD drivers/spi/built-in.o [ 180s] CC drivers/mmc/mmc_boot.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from cmd/mdio.c:11: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from common/cli.c:11: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from include/linux/mtd/spinand.h:20, [ 180s] from drivers/mtd/nand/spi/macronix.c:12: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] CC common/command.o [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from common/command.c:11: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/mmc/mmc_boot.c:7: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] common/command.c: At top level: [ 180s] 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] [ 180s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 180s] | ^~~~~~~~~~~ [ 180s] In file included from include/image.h:45, [ 180s] from include/common.h:40: [ 180s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 180s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 180s] | ^~~~~~~~~~~ [ 180s] CC drivers/mmc/dw_mmc.o [ 180s] CC drivers/mtd/nand/spi/micron.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from drivers/mmc/dw_mmc.c:9: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 180s] 98 | out = __test_and_clear_bit(nr, addr); [ 180s] | ^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 180s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 180s] | ~~~~~~^~~~ [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 180s] 95 | unsigned long flags = 0; [ 180s] | ^~~~~ [ 180s] CC drivers/mtd/spi/sf-uclass.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from include/linux/mtd/spinand.h:20, [ 181s] from drivers/mtd/nand/spi/micron.c:13: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/mtd/spi/sf-uclass.c:6: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC drivers/mtd/mtdcore.o [ 181s] CC common/s_record.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from include/ubi_uboot.h:17, [ 181s] from drivers/mtd/mtdcore.c:30: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from common/s_record.c:7: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC cmd/misc.o [ 181s] CC drivers/usb/dwc3/core.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from cmd/misc.c:10: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC drivers/mtd/mtd_uboot.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/usb/dwc3/core.c:16: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC drivers/mtd/nand/spi/winbond.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/mtd/mtd_uboot.c:6: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from include/linux/mtd/spinand.h:20, [ 181s] from drivers/mtd/nand/spi/winbond.c:14: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC drivers/mtd/spi/sf_probe.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/mtd/spi/sf_probe.c:10: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] CC common/xyzModem.o [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC cmd/mmc.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from common/xyzModem.c:24: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC drivers/mmc/snps_dw_mmc.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from cmd/mmc.c:7: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from drivers/mmc/snps_dw_mmc.c:10: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 181s] 98 | out = __test_and_clear_bit(nr, addr); [ 181s] | ^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 181s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 181s] | ~~~~~~^~~~ [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 181s] 95 | unsigned long flags = 0; [ 181s] | ^~~~~ [ 181s] CC drivers/mtd/spi/spi-nor-ids.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from drivers/mtd/spi/spi-nor-ids.c:9: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] LD drivers/mtd/nand/spi/spinand.o [ 182s] LD drivers/mtd/nand/spi/built-in.o [ 182s] LD drivers/mtd/nand/nandcore.o [ 182s] LD drivers/mtd/nand/built-in.o [ 182s] CC drivers/usb/dwc3/gadget.o [ 182s] CC drivers/mtd/spi/spi-nor-core.o [ 182s] CC drivers/mmc/rpmb.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from drivers/usb/dwc3/gadget.c:16: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] LD drivers/usb/emul/built-in.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from drivers/mtd/spi/spi-nor-core.c:12: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from drivers/mmc/rpmb.c:11: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] LD drivers/usb/eth/built-in.o [ 182s] CC drivers/mmc/sdhci.o [ 182s] CC cmd/mtd.o [ 182s] CC drivers/phy/phy-uclass.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from drivers/mmc/sdhci.c:10: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from drivers/phy/phy-uclass.c:7: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] CC drivers/usb/gadget/epautoconf.o [ 182s] LD common/built-in.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/mtd.c:12: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from drivers/usb/gadget/epautoconf.c:11: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 182s] 98 | out = __test_and_clear_bit(nr, addr); [ 182s] | ^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 182s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 182s] | ~~~~~~^~~~ [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 182s] | ^~~~~ [ 182s] LD drivers/phy/allwinner/built-in.o [ 182s] CC drivers/usb/dwc3/ep0.o [ 183s] LD drivers/phy/built-in.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/usb/dwc3/ep0.c:15: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] CC cmd/legacy-mtd-utils.o [ 183s] CC drivers/usb/gadget/config.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from cmd/legacy-mtd-utils.c:3: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/usb/gadget/config.c:11: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] LD drivers/phy/marvell/built-in.o [ 183s] CC drivers/mmc/snps_sdhci.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/mmc/snps_sdhci.c:6: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] CC drivers/usb/gadget/udc/udc-core.o [ 183s] CC drivers/usb/gadget/usbstring.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 183s] from drivers/usb/gadget/udc/udc-core.c:19: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/usb/gadget/usbstring.c:9: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 183s] 98 | out = __test_and_clear_bit(nr, addr); [ 183s] | ^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 183s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 183s] | ~~~~~~^~~~ [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 183s] 95 | unsigned long flags = 0; [ 183s] | ^~~~~ [ 183s] CC drivers/usb/gadget/udc/udc-uclass.o [ 183s] CC cmd/net.o [ 184s] LD drivers/mtd/spi/spi-nor.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/usb/gadget/udc/udc-uclass.c:7: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/net.c:10: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] LD drivers/mtd/spi/built-in.o [ 184s] CC cmd/part.o [ 184s] CC drivers/mtd/mtd-uclass.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/part.c:18: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/mtd/mtd-uclass.c:6: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC drivers/usb/gadget/g_dnl.o [ 184s] LD drivers/usb/dwc3/dwc3.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/usb/gadget/g_dnl.c:9: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] LD drivers/usb/gadget/udc/built-in.o [ 184s] CC drivers/mtd/mtdpart.o [ 184s] LD drivers/mmc/built-in.o [ 184s] LD drivers/usb/host/built-in.o [ 184s] CC cmd/pxe.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/mtd/mtdpart.c:20: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] CC cmd/pxe_utils.o [ 184s] CC drivers/usb/gadget/f_mass_storage.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/pxe.c:7: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] LD drivers/usb/dwc3/built-in.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/pxe_utils.c:7: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/usb/gadget/f_mass_storage.c:245: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] LD drivers/pwm/built-in.o [ 184s] LD drivers/reset/built-in.o [ 184s] CC drivers/usb/gadget/f_fastboot.o [ 184s] LD drivers/scsi/built-in.o [ 184s] CC drivers/rtc/rtc-lib.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/usb/gadget/f_fastboot.c:14: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/rtc/rtc-lib.c:13: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 184s] LD drivers/smem/built-in.o [ 184s] CC cmd/sf.o [ 184s] LD drivers/soc/built-in.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/sf.c:8: [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 184s] 98 | out = __test_and_clear_bit(nr, addr); [ 184s] | ^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 184s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 184s] | ~~~~~~^~~~ [ 184s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 184s] 95 | unsigned long flags = 0; [ 184s] | ^~~~~ [ 185s] LD drivers/sound/built-in.o [ 185s] LD drivers/rtc/built-in.o [ 185s] LD drivers/spmi/built-in.o [ 185s] LD drivers/thermal/built-in.o [ 185s] CC drivers/timer/timer-uclass.o [ 185s] LD drivers/ufs/built-in.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/timer/timer-uclass.c:6: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] CC drivers/timer/riscv_timer.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/timer/riscv_timer.c:14: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] LD drivers/mtd/mtd.o [ 185s] LD drivers/mtd/built-in.o [ 185s] LD drivers/usb/musb/built-in.o [ 185s] CC cmd/setexpr.o [ 185s] CC cmd/spi.o [ 185s] LD drivers/usb/musb-new/built-in.o [ 185s] LD drivers/timer/built-in.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from cmd/setexpr.c:11: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] LD drivers/usb/phy/built-in.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from cmd/spi.c:11: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] LD drivers/watchdog/built-in.o [ 185s] CC cmd/sysboot.o [ 185s] LD drivers/usb/ulpi/built-in.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from cmd/sysboot.c:3: [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 185s] 98 | out = __test_and_clear_bit(nr, addr); [ 185s] | ^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 185s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 185s] | ~~~~~~^~~~ [ 185s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 185s] 95 | unsigned long flags = 0; [ 185s] | ^~~~~ [ 185s] CC cmd/test.o [ 186s] DTC arch/riscv/dts/light-a-ref.dtb [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/test.c:7: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC drivers/video/bridge/video-bridge-uclass.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/video/bridge/video-bridge-uclass.c:7: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] DTC arch/riscv/dts/light-b-ref.dtb [ 186s] CC cmd/unzip.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/unzip.c:7: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] DTC arch/riscv/dts/light-a-val.dtb [ 186s] DTC arch/riscv/dts/light-b-product.dtb [ 186s] CC drivers/video/light/vs_dpu.o [ 186s] LD drivers/video/sunxi/built-in.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/video/light/vs_dpu.c:3: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC cmd/lzmadec.o [ 186s] LD drivers/video/bridge/built-in.o [ 186s] CC cmd/fastboot.o [ 186s] DTC arch/riscv/dts/light-a-product.dtb [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/lzmadec.c:12: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] DTC arch/riscv/dts/light-ant-ref.dtb [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/fastboot.c:9: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC drivers/video/light/dw_dsi_light.o [ 186s] CC drivers/video/console_normal.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/video/light/dw_dsi_light.c:3: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/video/console_normal.c:10: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 186s] 98 | out = __test_and_clear_bit(nr, addr); [ 186s] | ^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 186s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 186s] | ~~~~~~^~~~ [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 186s] 95 | unsigned long flags = 0; [ 186s] | ^~~~~ [ 186s] CC drivers/video/backlight-uclass.o [ 187s] CC drivers/video/light/dw_dsi_host.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/video/backlight-uclass.c:7: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] CC cmd/usb_mass_storage.o [ 187s] DTC arch/riscv/dts/light-beagle.dtb [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/usb_mass_storage.c:10: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] CC env/common.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/video/light/dw_dsi_host.c:3: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from env/common.c:10: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] DTC arch/riscv/dts/light-b-power.dtb [ 187s] CC drivers/video/dsi-host-uclass.o [ 187s] DTC arch/riscv/dts/light-lpi4a.dtb [ 187s] CC env/env.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/video/dsi-host-uclass.c:8: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from env/env.c:7: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] LD drivers/usb/gadget/built-in.o [ 187s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 187s] CC drivers/video/light/phy-dw-dphy.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/video/light/phy-dw-dphy.c:3: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] CC cmd/ximg.o [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] CC env/attr.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/ximg.c:14: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from env/attr.c:12: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] CC cmd/gpt.o [ 187s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 187s] CC env/callback.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/gpt.c:13: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] CC cmd/ddrscan.o [ 187s] CC cmd/nvedit.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from env/callback.c:7: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/nvedit.c:26: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/ddrscan.c:11: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 187s] 98 | out = __test_and_clear_bit(nr, addr); [ 187s] | ^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 187s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 187s] | ~~~~~~^~~~ [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 187s] 95 | unsigned long flags = 0; [ 187s] | ^~~~~ [ 188s] CC env/flags.o [ 188s] SHIPPED dts/dt.dtb [ 188s] DTB dts/dt.dtb.S [ 188s] AS dts/dt.dtb.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from env/flags.c:21: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] CC fs/ext4/ext4fs.o [ 188s] LD dts/built-in.o [ 188s] CC env/fat.o [ 188s] CC fs/ext4/ext4_common.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from fs/ext4/ext4fs.c:23: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from env/fat.c:9: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from fs/ext4/ext4_common.c:21: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] CC fs/ext4/dev.o [ 188s] LD drivers/video/light/built-in.o [ 188s] CC drivers/video/panel-uclass.o [ 188s] CC fs/fat/fat_write.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from fs/ext4/dev.c:25: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] CC drivers/video/simple_panel.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from fs/fat/fat_write.c:8: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/video/panel-uclass.c:7: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/video/simple_panel.c:7: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] LD env/built-in.o [ 188s] CC fs/ext4/ext4_write.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from fs/ext4/ext4_write.c:24: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 188s] 98 | out = __test_and_clear_bit(nr, addr); [ 188s] | ^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 188s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 188s] | ~~~~~~^~~~ [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 188s] 95 | unsigned long flags = 0; [ 188s] | ^~~~~ [ 188s] CC drivers/video/video-uclass.o [ 188s] CC fs/ext4/ext4_journal.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from fs/ext4/ext4_journal.c:16: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/video/video-uclass.c:6: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] CC net/checksum.o [ 189s] LD cmd/built-in.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from net/checksum.c:10: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] CC drivers/video/vidconsole-uclass.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/video/vidconsole-uclass.c:10: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] CC net/arp.o [ 189s] CC fs/fs.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from net/arp.c:12: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from fs/fs.c:8: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 189s] LD lib/crypto/built-in.o [ 189s] CC drivers/video/video_bmp.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/video/video_bmp.c:6: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 189s] 98 | out = __test_and_clear_bit(nr, addr); [ 189s] | ^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 189s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 189s] | ~~~~~~^~~~ [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 189s] 95 | unsigned long flags = 0; [ 189s] | ^~~~~ [ 190s] CC net/bootp.o [ 190s] CC lib/libfdt/fdt.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from net/bootp.c:11: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] CC net/eth-uclass.o [ 190s] CC fs/fs_internal.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from net/eth-uclass.c:8: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from fs/fs_internal.c:8: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] CC fs/ext4/crc16.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from fs/ext4/crc16.c:8: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] CC drivers/video/ilitek-ili9881c.o [ 190s] CC net/eth_common.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/ilitek-ili9881c.c:3: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] CC drivers/video/mipi_dsi.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from net/eth_common.c:8: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] LD fs/ext4/built-in.o [ 190s] CC lib/libfdt/fdt_wip.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/video/mipi_dsi.c:35: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] CC net/net.o [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from net/net.c:90: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 190s] 98 | out = __test_and_clear_bit(nr, addr); [ 190s] | ^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 190s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 190s] | ~~~~~~^~~~ [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 190s] 95 | unsigned long flags = 0; [ 190s] | ^~~~~ [ 190s] CC lib/libfdt/fdt_strerror.o [ 191s] CC net/nfs.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from net/nfs.c:29: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] CC net/ping.o [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] CC lib/libfdt/fdt_sw.o [ 191s] CC lib/libfdt/fdt_rw.o [ 191s] LD fs/fat/built-in.o [ 191s] LD fs/built-in.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from net/ping.h:15, [ 191s] from net/ping.c:12: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] CC lib/lzma/LzmaDec.o [ 191s] CC lib/lzma/LzmaTools.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from lib/lzma/LzmaDec.c:5: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] LD drivers/video/built-in.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from lib/lzma/LzmaTools.c:21: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] LD drivers/built-in.o [ 191s] CC net/tftp.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from net/tftp.c:9: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] CC net/fastboot.o [ 191s] CC lib/zlib/zlib.o [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from net/fastboot.c:6: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from lib/zlib/zlib.c:15: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 191s] 98 | out = __test_and_clear_bit(nr, addr); [ 191s] | ^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 191s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 191s] | ~~~~~~^~~~ [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 191s] 95 | unsigned long flags = 0; [ 191s] | ^~~~~ [ 191s] CC lib/crc7.o [ 192s] CC lib/libfdt/fdt_empty_tree.o [ 192s] CC lib/libfdt/fdt_addresses.o [ 192s] CC lib/crc8.o [ 192s] CC lib/libfdt/fdt_ro.o [ 192s] LD net/built-in.o [ 192s] CC lib/libfdt/fdt_region.o [ 192s] CC lib/crc16.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from lib/crc8.c:9: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from lib/crc16.c:28: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] CC lib/image-sparse.o [ 192s] CC lib/ldiv.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from lib/image-sparse.c:38: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] CC lib/net_utils.o [ 192s] CC lib/rc4.o [ 192s] CC lib/sha256.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from lib/net_utils.c:12: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from lib/rc4.c:11: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from lib/sha256.c:9: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 192s] 98 | out = __test_and_clear_bit(nr, addr); [ 192s] | ^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 192s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 192s] | ~~~~~~^~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 192s] 95 | unsigned long flags = 0; [ 192s] | ^~~~~ [ 192s] CC lib/list_sort.o [ 193s] CC lib/gunzip.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/gunzip.c:7: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/list_sort.c:7: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] CC lib/fdtdec_common.o [ 193s] CC lib/fdtdec.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/fdtdec.c:7: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/fdtdec_common.c:11: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] LD lib/libfdt/built-in.o [ 193s] CC lib/qsort.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/qsort.c:19: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] LD lib/lzma/built-in.o [ 193s] CC lib/hashtable.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/hashtable.c:32: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] CC lib/errno.o [ 193s] CC lib/display_options.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/display_options.c:7: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] CC lib/crc32.o [ 193s] CC lib/ctype.o [ 193s] CC lib/div64.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from lib/crc32.c:15: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/linux/math64.h:5, [ 193s] from lib/div64.c:22: [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 193s] 98 | out = __test_and_clear_bit(nr, addr); [ 193s] | ^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 193s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 193s] | ~~~~~~^~~~ [ 193s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 193s] 95 | unsigned long flags = 0; [ 193s] | ^~~~~ [ 193s] CC lib/hang.o [ 193s] CC lib/linux_compat.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/linux_compat.c:2: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/hang.c:10: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] CC lib/linux_string.o [ 194s] CC lib/lmb.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/lmb.c:9: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] CC lib/membuff.o [ 194s] CC lib/slre.o [ 194s] CC lib/string.o [ 194s] CC lib/tables_csum.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/membuff.c:9: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/slre.c:23: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/tables_csum.c:6: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] LD lib/zlib/built-in.o [ 194s] CC lib/time.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/time.c:7: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] CC lib/hexdump.o [ 194s] CC lib/uuid.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/hexdump.c:11: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] CC lib/rand.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/uuid.c:6: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from lib/rand.c:10: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 194s] 98 | out = __test_and_clear_bit(nr, addr); [ 194s] | ^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 194s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 194s] | ~~~~~~^~~~ [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 194s] 95 | unsigned long flags = 0; [ 194s] | ^~~~~ [ 194s] CC lib/panic.o [ 194s] CC lib/vsprintf.o [ 194s] CC lib/strto.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/panic.c:12: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/vsprintf.c:16: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/strto.c:12: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] CC lib/abuf.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/abuf.c:10: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 195s] CC lib/date.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from lib/date.c:7: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 195s] 98 | out = __test_and_clear_bit(nr, addr); [ 195s] | ^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 195s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 195s] | ~~~~~~^~~~ [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 195s] 95 | unsigned long flags = 0; [ 195s] | ^~~~~ [ 197s] LD lib/built-in.o [ 198s] CC examples/standalone/hello_world.o [ 198s] CC examples/standalone/stubs.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from examples/standalone/hello_world.c:7: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from examples/standalone/stubs.c:1: [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 198s] 98 | out = __test_and_clear_bit(nr, addr); [ 198s] | ^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 198s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 198s] | ~~~~~~^~~~ [ 198s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 198s] 95 | unsigned long flags = 0; [ 198s] | ^~~~~ [ 198s] LD examples/standalone/libstubs.o [ 198s] LD examples/standalone/hello_world [ 198s] OBJCOPY examples/standalone/hello_world.srec [ 198s] OBJCOPY examples/standalone/hello_world.bin [ 199s] LD u-boot [ 201s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 201s] OBJCOPY u-boot.srec [ 201s] FDTGREP dts/dt-spl.dtb [ 201s] OBJCOPY u-boot-nodtb.bin [ 201s] SYM u-boot.sym [ 202s] COPY u-boot.bin [ 202s] MKIMAGE u-boot.img [ 202s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 202s] CC spl/arch/riscv/cpu/cpu.o [ 202s] CC spl/board/thead/common/board_common.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from arch/riscv/cpu/c9xx/dram.c:7: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] CC spl/common/init/board_init.o [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from board/thead/common/board_common.c:7: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] CC spl/common/spl/spl.o [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from arch/riscv/cpu/cpu.c:6: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from common/init/board_init.c:9: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from common/spl/spl.c:9: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] CC spl/arch/riscv/lib/bootm.o [ 202s] LD spl/board/thead/common/built-in.o [ 202s] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 202s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 202s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 202s] | ^ [ 202s] CC spl/board/thead/light-c910/spl.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from arch/riscv/lib/bootm.c:9: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from arch/riscv/cpu/c9xx/feature.c:1: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] CC spl/arch/riscv/lib/image.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from board/thead/light-c910/spl.c:8: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] LD spl/common/init/built-in.o [ 202s] arch/riscv/lib/bootm.c: At top level: [ 202s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 202s] 34 | extern void secondary_entry(); [ 202s] | ^~~~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] CC spl/board/thead/light-c910/sys_clk.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from arch/riscv/lib/image.c:9: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from board/thead/light-c910/sys_clk.c:7: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] CC spl/common/fdt_support.o [ 202s] AS spl/arch/riscv/cpu/mtrap.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from common/fdt_support.c:9: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 202s] 98 | out = __test_and_clear_bit(nr, addr); [ 202s] | ^~~~ [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 202s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 202s] | ~~~~~~^~~~ [ 202s] CC spl/common/bouncebuf.o [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 202s] 95 | unsigned long flags = 0; [ 202s] | ^~~~~ [ 202s] CC spl/common/spl/spl_mmc.o [ 202s] CC spl/arch/riscv/lib/boot.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from common/bouncebuf.c:8: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from common/spl/spl_mmc.c:8: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] CC spl/common/console.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from arch/riscv/lib/boot.c:7: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] AS spl/arch/riscv/cpu/start.o [ 203s] CC spl/common/spl/spl_ram.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from common/console.c:7: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from common/spl/spl_ram.c:12: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] CC spl/arch/riscv/lib/cache.o [ 203s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 203s] LD spl/arch/riscv/cpu/built-in.o [ 203s] CC spl/common/dlmalloc.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from arch/riscv/lib/cache.c:7: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from board/thead/light-c910/lpddr-regu/ddr_regu.c:7: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from common/dlmalloc.c:1: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] CC spl/common/malloc_simple.o [ 203s] LD spl/common/spl/built-in.o [ 203s] CC spl/cmd/nvedit.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from common/malloc_simple.c:10: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from cmd/nvedit.c:26: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 203s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 203s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 203s] | ^~~~~~~~~~~~~~ [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] CC spl/arch/riscv/lib/thead_ipi.o [ 203s] CC spl/arch/riscv/lib/rdtime.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from arch/riscv/lib/rdtime.c:10: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] CC spl/arch/riscv/lib/interrupts.o [ 203s] CC spl/arch/riscv/lib/reset.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from arch/riscv/lib/interrupts.c:10: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from arch/riscv/lib/reset.c:6: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 203s] 98 | out = __test_and_clear_bit(nr, addr); [ 203s] | ^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 203s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 203s] | ~~~~~~^~~~ [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 203s] 95 | unsigned long flags = 0; [ 203s] | ^~~~~ [ 203s] CC spl/common/image.o [ 204s] LD spl/cmd/built-in.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from common/image.c:10: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] AS spl/arch/riscv/lib/setjmp.o [ 204s] CC spl/arch/riscv/lib/smp.o [ 204s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from arch/riscv/lib/smp.c:7: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] CC spl/env/common.o [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from env/common.c:10: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] CC spl/arch/riscv/lib/spl.o [ 204s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from arch/riscv/lib/spl.c:6: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] CC spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 204s] CC spl/common/image-fdt.o [ 204s] CC spl/env/env.o [ 204s] CC spl/common/memsize.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from common/image-fdt.c:11: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] CC spl/arch/riscv/lib/locks.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from env/env.c:7: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from common/memsize.c:7: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 204s] CC spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 204s] CC spl/common/stdio.o [ 204s] LD spl/arch/riscv/lib/built-in.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from common/stdio.c:12: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 204s] CC spl/disk/part.o [ 204s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 204s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:7:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 204s] 7 | int dwc_ddrphy_phyinit_regInterface(); [ 204s] | ^~~ [ 204s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:995:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 204s] 995 | int dwc_ddrphy_phyinit_regInterface() { [ 204s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from disk/part.c:7: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 204s] 98 | out = __test_and_clear_bit(nr, addr); [ 204s] | ^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 204s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 204s] | ~~~~~~^~~~ [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 204s] 95 | unsigned long flags = 0; [ 204s] | ^~~~~ [ 204s] LD spl/env/built-in.o [ 205s] CC spl/common/cli.o [ 205s] FDTGREP spl/dts/dt-spl.dtb [ 205s] CC spl/fs/fs_internal.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from common/cli.c:11: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 205s] 98 | out = __test_and_clear_bit(nr, addr); [ 205s] | ^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 205s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 205s] | ~~~~~~^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 205s] 95 | unsigned long flags = 0; [ 205s] | ^~~~~ [ 205s] CC spl/drivers/block/blk-uclass.o [ 205s] DTB spl/dts/dt-spl.dtb.S [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from fs/fs_internal.c:8: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 205s] 98 | out = __test_and_clear_bit(nr, addr); [ 205s] | ^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 205s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 205s] | ~~~~~~^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 205s] 95 | unsigned long flags = 0; [ 205s] | ^~~~~ [ 205s] AS spl/dts/dt-spl.dtb.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from drivers/block/blk-uclass.c:7: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 205s] 98 | out = __test_and_clear_bit(nr, addr); [ 205s] | ^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 205s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 205s] | ~~~~~~^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 205s] 95 | unsigned long flags = 0; [ 205s] | ^~~~~ [ 205s] CC spl/lib/fdtdec_common.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from lib/fdtdec_common.c:11: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 205s] 98 | out = __test_and_clear_bit(nr, addr); [ 205s] | ^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 205s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 205s] | ~~~~~~^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 205s] 95 | unsigned long flags = 0; [ 205s] | ^~~~~ [ 205s] CC spl/lib/libfdt/fdt.o [ 205s] LD spl/dts/built-in.o [ 205s] CC spl/lib/libfdt/fdt_wip.o [ 205s] CC spl/disk/part_efi.o [ 205s] CC spl/lib/fdtdec.o [ 205s] LD spl/fs/built-in.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from disk/part_efi.c:13: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 205s] 98 | out = __test_and_clear_bit(nr, addr); [ 205s] | ^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 205s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 205s] | ~~~~~~^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 205s] 95 | unsigned long flags = 0; [ 205s] | ^~~~~ [ 205s] LDS spl/u-boot-spl.lds [ 205s] CC spl/common/command.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from lib/fdtdec.c:7: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 205s] 98 | out = __test_and_clear_bit(nr, addr); [ 205s] | ^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 205s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 205s] | ~~~~~~^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 205s] 95 | unsigned long flags = 0; [ 205s] | ^~~~~ [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from common/command.c:11: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 205s] 98 | out = __test_and_clear_bit(nr, addr); [ 205s] | ^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 205s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 205s] | ~~~~~~^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 205s] 95 | unsigned long flags = 0; [ 205s] | ^~~~~ [ 205s] CC spl/common/s_record.o [ 205s] CC spl/lib/libfdt/fdt_strerror.o [ 205s] LD spl/drivers/block/built-in.o [ 205s] CC spl/lib/libfdt/fdt_sw.o [ 205s] common/command.c: At top level: [ 205s] 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] [ 205s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 205s] | ^~~~~~~~~~~ [ 205s] In file included from include/image.h:45, [ 205s] from include/common.h:40: [ 205s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 205s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 205s] | ^~~~~~~~~~~ [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from common/s_record.c:7: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 205s] 98 | out = __test_and_clear_bit(nr, addr); [ 205s] | ^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 205s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 205s] | ~~~~~~^~~~ [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 205s] 95 | unsigned long flags = 0; [ 205s] | ^~~~~ [ 205s] LD spl/board/thead/light-c910/built-in.o [ 206s] CC spl/common/xyzModem.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from common/xyzModem.c:24: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] LD spl/drivers/clk/analogbits/built-in.o [ 206s] CC spl/drivers/cpu/cpu-uclass.o [ 206s] CC spl/drivers/cpu/riscv_cpu.o [ 206s] CC spl/drivers/core/device.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/cpu/cpu-uclass.c:7: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/cpu/riscv_cpu.c:6: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/core/device.c:11: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] LD spl/drivers/clk/imx/built-in.o [ 206s] CC spl/drivers/clk/clk-uclass.o [ 206s] LD spl/drivers/clk/tegra/built-in.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/clk/clk-uclass.c:9: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/drivers/clk/clk_fixed_rate.o [ 206s] CC spl/lib/qsort.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/clk/clk_fixed_rate.c:6: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from lib/qsort.c:19: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/lib/libfdt/fdt_rw.o [ 206s] LD spl/drivers/cpu/built-in.o [ 206s] CC spl/lib/hashtable.o [ 206s] CC spl/lib/errno.o [ 206s] CC spl/drivers/core/fdtaddr.o [ 206s] LD spl/common/built-in.o [ 206s] LD spl/disk/built-in.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/core/fdtaddr.c:11: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/drivers/core/lists.o [ 206s] CC spl/drivers/clk/clk_fixed_factor.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from lib/hashtable.c:32: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/core/lists.c:11: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] LD spl/drivers/mtd/built-in.o [ 206s] CC spl/drivers/mmc/mmc.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/clk/clk_fixed_factor.c:8: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/drivers/serial/serial-uclass.o [ 206s] CC spl/lib/display_options.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/mmc/mmc.c:10: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] CC spl/drivers/core/root.o [ 206s] CC spl/drivers/serial/ns16550.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/serial/serial-uclass.c:6: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from lib/display_options.c:7: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/serial/ns16550.c:7: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 206s] LD spl/drivers/clk/built-in.o [ 206s] In file included from include/linux/bitops.h:136, [ 206s] from include/common.h:26, [ 206s] from drivers/core/root.c:9: [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 206s] 98 | out = __test_and_clear_bit(nr, addr); [ 206s] | ^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 206s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 206s] | ~~~~~~^~~~ [ 206s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 206s] 95 | unsigned long flags = 0; [ 206s] | ^~~~~ [ 207s] CC spl/drivers/mmc/mmc-uclass.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/mmc/mmc-uclass.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/lib/libfdt/fdt_empty_tree.o [ 207s] CC spl/drivers/timer/timer-uclass.o [ 207s] CC spl/drivers/core/uclass.o [ 207s] CC spl/drivers/core/util.o [ 207s] CC spl/lib/crc32.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/timer/timer-uclass.c:6: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from lib/crc32.c:15: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/core/util.c:6: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/core/uclass.c:11: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/lib/libfdt/fdt_addresses.o [ 207s] CC spl/drivers/timer/riscv_timer.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/timer/riscv_timer.c:14: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/lib/libfdt/fdt_ro.o [ 207s] LD spl/drivers/serial/built-in.o [ 207s] CC spl/lib/libfdt/fdt_region.o [ 207s] CC spl/drivers/core/simple-bus.o [ 207s] CC spl/drivers/core/dump.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/core/dump.c:6: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/core/simple-bus.c:6: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/drivers/mmc/mmc_boot.o [ 207s] LD spl/drivers/timer/built-in.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/mmc/mmc_boot.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] CC spl/drivers/core/of_extra.o [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] CC spl/drivers/core/ofnode.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/core/of_extra.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from drivers/core/ofnode.c:7: [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 207s] 98 | out = __test_and_clear_bit(nr, addr); [ 207s] | ^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 207s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 207s] | ~~~~~~^~~~ [ 207s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 207s] 95 | unsigned long flags = 0; [ 207s] | ^~~~~ [ 208s] CC spl/drivers/core/read_extra.o [ 208s] CC spl/drivers/mmc/dw_mmc.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from drivers/core/read_extra.c:7: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/drivers/mmc/snps_dw_mmc.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from drivers/mmc/dw_mmc.c:9: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from drivers/mmc/snps_dw_mmc.c:10: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/drivers/mmc/rpmb.o [ 208s] CC spl/lib/ctype.o [ 208s] CC spl/drivers/mmc/sdhci.o [ 208s] CC spl/drivers/mmc/snps_sdhci.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from drivers/mmc/rpmb.c:11: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from drivers/mmc/sdhci.c:10: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from drivers/mmc/snps_sdhci.c:6: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/lib/div64.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/linux/math64.h:5, [ 208s] from lib/div64.c:22: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/lib/hang.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from lib/hang.c:10: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] LD spl/lib/libfdt/built-in.o [ 208s] CC spl/lib/linux_compat.o [ 208s] CC spl/lib/linux_string.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from lib/linux_compat.c:2: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] CC spl/lib/lmb.o [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] LD spl/drivers/core/built-in.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from lib/lmb.c:9: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/lib/membuff.o [ 208s] CC spl/lib/slre.o [ 208s] In file included from include/linux/bitops.h:136, [ 208s] from include/common.h:26, [ 208s] from lib/membuff.c:9: [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 208s] 98 | out = __test_and_clear_bit(nr, addr); [ 208s] | ^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 208s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 208s] | ~~~~~~^~~~ [ 208s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 208s] 95 | unsigned long flags = 0; [ 208s] | ^~~~~ [ 208s] CC spl/lib/string.o [ 208s] CC spl/lib/tables_csum.o [ 208s] CC spl/lib/time.o [ 209s] CC spl/lib/hexdump.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/slre.c:23: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/tables_csum.c:6: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/hexdump.c:11: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/time.c:7: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] LD spl/drivers/mmc/built-in.o [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] LD spl/drivers/built-in.o [ 209s] CC spl/lib/uuid.o [ 209s] CC spl/lib/rand.o [ 209s] CC spl/lib/panic.o [ 209s] CC spl/lib/vsprintf.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/panic.c:12: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/uuid.c:6: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/rand.c:10: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/vsprintf.c:16: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] CC spl/lib/strto.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/strto.c:12: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] CC spl/lib/abuf.o [ 209s] CC spl/lib/date.o [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/abuf.c:10: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 209s] In file included from include/linux/bitops.h:136, [ 209s] from include/common.h:26, [ 209s] from lib/date.c:7: [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 209s] 98 | out = __test_and_clear_bit(nr, addr); [ 209s] | ^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 209s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 209s] | ~~~~~~^~~~ [ 209s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 209s] 95 | unsigned long flags = 0; [ 209s] | ^~~~~ [ 210s] LD spl/lib/built-in.o [ 210s] LD spl/u-boot-spl [ 210s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 210s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 211s] COPY spl/u-boot-spl.bin [ 211s] CAT u-boot-with-spl.bin [ 211s] ===================== WARNING ====================== [ 211s] This board does not use CONFIG_DM_USB. Please update [ 211s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 211s] Failure to update by the deadline may result in board removal. [ 211s] See doc/driver-model/MIGRATION.txt for more info. [ 211s] ==================================================== [ 211s] ===================== WARNING ====================== [ 211s] CONFIG_OF_EMBED is enabled. This option should only [ 211s] be used for debugging purposes. Please use [ 211s] CONFIG_OF_SEPARATE for boards in mainline. [ 211s] See doc/README.fdt-control for more info. [ 211s] ==================================================== [ 211s] CFGCHK u-boot.cfg [ 211s] + ./scripts/get_default_envs.sh [ 212s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 212s] + rm default_envs.txt [ 212s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 212s] Image Name: Tizen LicheePi4A Board Script [ 212s] Created: Fri Dec 27 07:00:18 2024 [ 212s] Image Type: RISC-V Linux Script (uncompressed) [ 212s] Data Size: 4158 Bytes = 4.06 KiB = 0.00 MiB [ 212s] Load Address: 00000000 [ 212s] Entry Point: 00000000 [ 212s] Contents: [ 212s] Image 0: 4150 Bytes = 4.05 KiB = 0.00 MiB [ 212s] + exit 0 [ 212s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B1THVE [ 212s] + umask 022 [ 212s] + cd /home/abuild/rpmbuild/BUILD [ 212s] + cd u-boot-2020.01 [ 212s] + LANG=C [ 212s] + export LANG [ 212s] + unset DISPLAY [ 212s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 212s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 212s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 212s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot [ 212s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp [ 212s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp/ [ 212s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/var/tmp/ [ 212s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 212s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 212s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 212s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 212s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64/boot/ [ 212s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 2020.01-0 --unique-debug-src-base u-boot-lpi4a-8g-2020.01-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/u-boot-2020.01 [ 213s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-8g-debuginfo.manifest [ 213s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-8g-debugsource.manifest [ 213s] + /usr/lib/rpm/check-buildroot [ 213s] + /usr/lib/rpm//brp-compress [ 213s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 213s] + /usr/lib/rpm/brp-python-hardlink [ 213s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 214s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 214s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 214s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 214s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 218s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 218s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 218s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 218s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 218s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 218s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 218s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 218s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 218s] Processing files: u-boot-lpi4a-8g-2020.01-0.riscv64 [ 218s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 218s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 218s] [ 218s] Provides: u-boot-lpi4a-8g = 2020.01-0 u-boot-lpi4a-8g(riscv-64) = 2020.01-0 [ 218s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 218s] Processing files: u-boot-lpi4a-8g-debugsource-2020.01-0.riscv64 [ 218s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 218s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 218s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 218s] [ 218s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 219s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-lpi4a-8g-2020.01-0.src.rpm [ 225s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-8g-2020.01-0.riscv64.rpm [ 225s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-8g-debugsource-2020.01-0.riscv64.rpm [ 225s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.X4ZUzc [ 225s] + umask 022 [ 225s] + cd /home/abuild/rpmbuild/BUILD [ 225s] + cd u-boot-2020.01 [ 225s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-8g-2020.01-0.riscv64 [ 225s] + exit 0 [ 226s] ... checking for files with abuild user/group [ 226s] ... creating baselibs [ 227s] [ 227s] ip-192-168-56-120 finished "build u-boot-lpi4a-8g.spec" at Fri Dec 27 07:00:33 UTC 2024. [ 227s]