[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.11 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-120 started "build u-boot-lpi4a-16g.spec" at Fri Dec 27 06:56:45 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_toolchain_standard/u-boot-lpi4a-16g-2020.01-0/u-boot-lpi4a-16g.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --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-16g-2020.01-0/u-boot-lpi4a-16g.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.11/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.11/.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/ [ 9s] expanding package dependencies... [ 11s] copying qemu [ 11s] [ 11s] registering binfmt handlers for cross build [ 12s] calculating packages to download... [ 36s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 36s] breaking dependency libxcrypt-devel -> glibc-devel [ 36s] cycle: libsoftokn3 -> nss [ 36s] breaking dependency nss -> libsoftokn3 [ 36s] reordering done [ 41s] deleting blas [ 41s] deleting blas-devel [ 41s] deleting cmake [ 41s] deleting lapack [ 42s] deleting lapack-devel [ 42s] deleting libblas3 [ 42s] deleting libopenblas_openmp-devel [ 42s] deleting libopenblas_openmp0 [ 43s] deleting libopenssl11 [ 43s] deleting openblas-devel [ 43s] deleting openblas-devel-headers [ 44s] [1/112] keeping libmagic-data-5.45-1.21 [ 44s] [2/112] cumulate opensbi-1.5-0 [ 44s] [3/112] keeping setup-0.9-1.12 [ 44s] [4/112] keeping filesystem-3.1-1.1 [ 44s] [5/112] keeping glibc-2.40-2.2 [ 44s] [6/112] keeping bash-3.2.57-1.2 [ 44s] [7/112] keeping cpio-2.8-1.2 [ 44s] [8/112] keeping diffutils-3.10-1.1 [ 45s] [9/112] keeping findutils-4.3.8-1.23 [ 45s] [10/112] keeping gdbm-1.8.3-1.33 [ 45s] [11/112] keeping hostname-3.23-1.2 [ 45s] [12/112] keeping libatomic-14.2.0-3.3 [ 45s] [13/112] keeping libattr-2.5.1-1.23 [ 45s] [14/112] keeping libblkid-2.39.3-1.18 [ 45s] [15/112] keeping libbz2-1.0.8-1.23 [ 45s] [16/112] keeping libexpat-2.6.2-1.28 [ 45s] [17/112] cumulate libffi-3.4.2-2.13 [ 45s] [18/112] keeping libfreebl3-3.98-1.32 [ 45s] [19/112] keeping libgcc-14.2.0-3.3 [ 45s] [20/112] keeping libgomp-14.2.0-3.3 [ 45s] [21/112] keeping libitm-14.2.0-3.3 [ 45s] [22/112] keeping libltdl-2.4.7-1.33 [ 45s] [23/112] keeping liblua-5.1.5-1.21 [ 45s] [24/112] keeping liblzma-5.4.5-1.33 [ 45s] [25/112] keeping libopenssl3-3.0.13-1.33 [ 45s] [26/112] keeping libpcre-8.45-1.23 [ 45s] [27/112] keeping libpopt-1.16-1.21 [ 45s] [28/112] cumulate libpython3_121_0-3.12.0-1.24 [ 45s] [29/112] keeping libsmack-1.3.1-1.22 [ 45s] [30/112] keeping libsmartcols-2.39.3-1.18 [ 45s] [31/112] keeping libsqlite-3.44.0-1.23 [ 45s] [32/112] keeping libuuid-2.39.3-1.18 [ 45s] [33/112] keeping libxcrypt-4.4.36-1.28 [ 45s] [34/112] keeping libzstd1-1.5.5-1.22 [ 45s] [35/112] keeping m4-1.4.19-1.2 [ 45s] [36/112] keeping net-tools-2.0_20121208git-1.21 [ 45s] [37/112] keeping nspr-4.35-1.22 [ 45s] [38/112] keeping patch-2.7.6-1.21 [ 45s] [39/112] keeping pkg-config-0.29.2-1.23 [ 45s] [40/112] keeping sed-4.1c-1.22 [ 45s] [41/112] keeping update-alternatives-1.22.2-1.1 [ 45s] [42/112] keeping which-2.17-1.2 [ 45s] [43/112] keeping zlib-1.3-1.23 [ 45s] [44/112] keeping build-compare-2023.06.18-1.14 [ 45s] [45/112] keeping hal-rootstrap-checker-0.1.0-1.1 [ 45s] [46/112] keeping qemu-linux-user-x86_64-cross-5.2.0.2-23.10 [ 45s] [47/112] keeping binutils-libs-2.43-1.22 [ 45s] [48/112] keeping coreutils-6.9-14.12 [ 45s] [49/112] keeping cpp-14.2.0-3.3 [ 46s] [50/112] cumulate flex-2.6.4-1.22 [ 46s] [51/112] keeping gawk-3.1.5-1.2 [ 46s] [52/112] keeping gcc-c++-14.2.0-3.3 [ 46s] [53/112] keeping grep-2.5.2-1.20 [ 46s] [54/112] keeping libacl-2.3.2-1.22 [ 46s] [55/112] keeping libcap-2.69-1.21 [ 46s] [56/112] keeping libelf-0.189-1.32 [ 46s] [57/112] keeping libgfortran-14.2.0-3.3 [ 46s] [58/112] keeping libmount-2.39.3-1.18 [ 46s] [59/112] keeping libstdc++-14.2.0-3.3 [ 46s] [60/112] keeping make-4.4-1.22 [ 46s] [61/112] keeping nss-certs-3.98-1.32 [ 46s] [62/112] keeping smack-1.3.1-1.22 [ 46s] [63/112] cumulate bison-3.0.5-1.22 [ 46s] [64/112] keeping bzip2-1.0.8-1.23 [ 46s] [65/112] keeping libfdisk-2.39.3-1.18 [ 46s] [66/112] keeping libmagic-5.45-1.21 [ 46s] [67/112] keeping libxml2-2.12.5-1.22 [ 46s] [68/112] keeping xz-5.4.5-1.33 [ 46s] [69/112] keeping perl-5.38.0-1.21 [ 46s] [70/112] keeping build-mkbaselibs-20120927-1.1 [ 46s] [71/112] keeping libstdc++-devel-14.2.0-3.3 [ 46s] [72/112] keeping linux-glibc-devel-6.6-1.29 [ 46s] [73/112] keeping binutils-2.43-1.22 [ 46s] [74/112] keeping file-5.45-1.21 [ 46s] [75/112] keeping tar-1.17-1.1 [ 46s] [76/112] keeping terminfo-base-full-6.4-1.33 [ 46s] [77/112] keeping autoconf-2.71-1.45 [ 46s] [78/112] keeping glibc-locale-2.40-2.2 [ 46s] [79/112] keeping gzip-1.3.12-1.22 [ 46s] [80/112] keeping libcc1-14.2.0-3.3 [ 46s] [81/112] keeping libubsan-14.2.0-3.3 [ 46s] [82/112] keeping pam-1.1.6-1.21 [ 46s] [83/112] cumulate swig-4.0.2-0 [ 46s] [84/112] keeping tzdata-2023c-1.1 [ 46s] [85/112] keeping libdw-0.189-1.32 [ 46s] [86/112] keeping libarchive-3.7.2-1.31 [ 46s] [87/112] keeping automake-1.16.5-1.44 [ 46s] [88/112] keeping libasm-0.189-1.32 [ 46s] [89/112] keeping libncurses6-6.4-1.33 [ 46s] [90/112] keeping build-20120927-1.1 [ 46s] [91/112] keeping gcc-14.2.0-3.3 [ 46s] [92/112] keeping libncurses-6.4-1.33 [ 46s] [93/112] keeping less-643-1.1 [ 46s] [94/112] keeping libreadline-5.2-1.21 [ 47s] [95/112] keeping qemu-accel-x86_64-riscv64-0.4-3.15 [ 47s] [96/112] keeping libtool-2.4.7-1.33 [ 47s] [97/112] keeping elfutils-0.189-1.32 [ 47s] [98/112] cumulate bc-1.06-1.1 [ 47s] [99/112] cumulate python3-base-3.12.0-1.24 [ 47s] [100/112] keeping util-linux-2.39.3-1.18 [ 47s] [101/112] cumulate python3-3.12.0-1.1 [ 47s] [102/112] keeping util-linux-su-2.39.3-1.18 [ 47s] [103/112] cumulate python3-devel-3.12.0-1.24 [ 47s] [104/112] cumulate python3-setuptools-69.0.2-1.14 [ 47s] [105/112] keeping libxcrypt-devel-4.4.36-1.28 [ 47s] [106/112] keeping nss-3.98-1.32 [ 47s] [107/112] keeping glibc-devel-2.40-2.2 [ 47s] [108/112] keeping libsoftokn3-3.98-1.32 [ 47s] [109/112] keeping rpm-4.14.1.1-3.21 [ 47s] [110/112] cumulate zlib-devel-1.3-1.23 [ 47s] [111/112] keeping rpm-build-4.14.1.1-3.21 [ 48s] [112/112] cumulate libopenssl3-devel-3.0.13-1.33 [ 48s] now installing cumulated packages [ 48s] Preparing... ######################################## [ 48s] Updating / installing... [ 49s] libpython3_121_0-3.12.0-1.24 ######################################## [ 49s] zlib-devel-1.3-1.23 ######################################## [ 49s] libffi-3.4.2-2.13 ######################################## [ 52s] python3-base-3.12.0-1.24 ######################################## [ 52s] python3-3.12.0-1.1 ######################################## [ 53s] python3-setuptools-69.0.2-1.14 ######################################## [ 53s] python3-devel-3.12.0-1.24 ######################################## [ 53s] libopenssl3-devel-3.0.13-1.33 ######################################## [ 53s] bc-1.06-1.1 ######################################## [ 54s] swig-4.0.2-0 ######################################## [ 54s] bison-3.0.5-1.22 ######################################## [ 54s] flex-2.6.4-1.22 ######################################## [ 54s] opensbi-1.5-0 ######################################## [ 54s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.11/etc/nsswitch.conf... [ 54s] now finalizing build dir... [ 58s] ----------------------------------------------------------------- [ 58s] ----- building u-boot-lpi4a-16g.spec (user abuild) [ 58s] ----------------------------------------------------------------- [ 58s] ----------------------------------------------------------------- [ 58s] + 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-16g.spec [ 58s] Building target platforms: riscv64-tizen-linux [ 58s] Building for target riscv64-tizen-linux [ 58s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FuctIw [ 58s] + umask 022 [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + rm -rf u-boot-2020.01 [ 59s] + /bin/tar -xof - [ 59s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-2020.01.tar.bz2 [ 78s] + STATUS=0 [ 78s] + '[' 0 -ne 0 ']' [ 78s] + cd u-boot-2020.01 [ 78s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 78s] + exit 0 [ 78s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2UrRtN [ 78s] + umask 022 [ 78s] + cd /home/abuild/rpmbuild/BUILD [ 78s] + cd u-boot-2020.01 [ 78s] + ref=/usr/lib/rpm [ 78s] + mints=0 [ 78s] + case $(uname -m) in [ 78s] ++ uname -m [ 78s] + mints=20160911 [ 78s] + for s in guess sub [ 78s] ++ find -maxdepth 8 -name config.guess [ 78s] + for s in guess sub [ 78s] ++ find -maxdepth 8 -name config.sub [ 78s] + LANG=C [ 78s] + export LANG [ 78s] + unset DISPLAY [ 78s] + 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' [ 78s] + export CFLAGS [ 78s] + 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' [ 78s] + export CXXFLAGS [ 78s] + 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' [ 78s] + export FFLAGS [ 78s] + LDFLAGS= [ 78s] + export LDFLAGS [ 78s] + cp /home/abuild/rpmbuild/SOURCES/u_boot_lpi4a-16g.manifest . [ 79s] + CONFIG=tizen_lpi4a_16g_defconfig [ 79s] + make mrproper [ 88s] + make tizen_lpi4a_16g_defconfig [ 89s] HOSTCC scripts/basic/fixdep [ 92s] HOSTCC scripts/kconfig/conf.o [ 93s] YACC scripts/kconfig/zconf.tab.c [ 93s] LEX scripts/kconfig/zconf.lex.c [ 95s] HOSTCC scripts/kconfig/zconf.tab.o [ 102s] HOSTLD scripts/kconfig/conf [ 103s] # [ 103s] # configuration written to .config [ 103s] # [ 103s] + 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 [ 107s] HOSTCC scripts/basic/fixdep [ 110s] HOSTCC scripts/kconfig/conf.o [ 112s] HOSTCC scripts/kconfig/zconf.tab.o [ 118s] HOSTLD scripts/kconfig/conf [ 118s] scripts/kconfig/conf --syncconfig Kconfig [ 120s] CHK include/config.h [ 120s] UPD include/config.h [ 120s] CFG u-boot.cfg [ 120s] GEN include/autoconf.mk.dep [ 120s] CFG spl/u-boot.cfg [ 120s] GEN include/autoconf.mk [ 120s] GEN spl/include/autoconf.mk [ 130s] CHK include/config/uboot.release [ 130s] CHK include/generated/timestamp_autogenerated.h [ 130s] HOSTCC scripts/basic/fixdep [ 130s] UPD include/config/uboot.release [ 130s] CHK include/generated/version_autogenerated.h [ 130s] UPD include/generated/timestamp_autogenerated.h [ 130s] UPD include/generated/version_autogenerated.h [ 131s] CC lib/asm-offsets.s [ 131s] HOSTCC scripts/dtc/dtc.o [ 131s] HOSTCC scripts/dtc/flattree.o [ 131s] CC arch/riscv/lib/asm-offsets.s [ 131s] HOSTCC scripts/dtc/fstree.o [ 131s] HOSTCC scripts/dtc/data.o [ 131s] HOSTCC scripts/dtc/livetree.o [ 131s] In file included from include/linux/bitops.h:136, [ 131s] from include/common.h:26, [ 131s] from lib/asm-offsets.c:14: [ 131s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 131s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 131s] 98 | out = __test_and_clear_bit(nr, addr); [ 131s] | ^~~~ [ 131s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 131s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 131s] | ~~~~~~^~~~ [ 131s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 131s] 95 | unsigned long flags = 0; [ 131s] | ^~~~~ [ 131s] HOSTCC scripts/dtc/treesource.o [ 131s] In file included from include/linux/bitops.h:136, [ 131s] from include/common.h:26, [ 131s] from arch/riscv/lib/asm-offsets.c:11: [ 131s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 131s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 131s] 98 | out = __test_and_clear_bit(nr, addr); [ 131s] | ^~~~ [ 131s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 131s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 131s] | ~~~~~~^~~~ [ 131s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 131s] 95 | unsigned long flags = 0; [ 131s] | ^~~~~ [ 131s] HOSTCC scripts/dtc/srcpos.o [ 131s] CHK include/generated/generic-asm-offsets.h [ 131s] HOSTCC scripts/dtc/checks.o [ 131s] UPD include/generated/generic-asm-offsets.h [ 131s] CHK include/generated/asm-offsets.h [ 131s] UPD include/generated/asm-offsets.h [ 131s] HOSTCC scripts/dtc/util.o [ 131s] LEX scripts/dtc/dtc-lexer.lex.c [ 131s] YACC scripts/dtc/dtc-parser.tab.h [ 132s] YACC scripts/dtc/dtc-parser.tab.c [ 132s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 132s] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 133s] HOSTLD scripts/dtc/dtc [ 133s] HOSTCC tools/gen_eth_addr [ 133s] HOSTCC tools/bmp_logo [ 133s] HOSTCC tools/gen_ethaddr_crc.o [ 133s] WRAP tools/lib/crc8.c [ 133s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc8.c'. [ 133s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc8.c'. [ 133s] HOSTCC tools/img2srec [ 133s] HOSTCC tools/mkenvimage.o [ 133s] HOSTCC tools/os_support.o [ 133s] WRAP tools/lib/crc32.c [ 133s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc32.c'. [ 133s] HOSTCC tools/aisimage.o [ 133s] HOSTCC tools/atmelimage.o [ 133s] WRAP tools/common/bootm.c [ 133s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/bootm.c'. [ 133s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'. [ 133s] HOSTCC tools/lib/crc32.o [ 134s] HOSTCC tools/default_image.o [ 134s] WRAP tools/lib/fdtdec_common.c [ 134s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'. [ 134s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'. [ 134s] WRAP tools/lib/fdtdec.c [ 134s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'. [ 134s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'. [ 134s] WRAP tools/common/image.c [ 134s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/image.c'. [ 134s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/image.c'. [ 134s] HOSTCC tools/imagetool.o [ 134s] HOSTCC tools/imximage.o [ 134s] HOSTCC tools/imx8image.o [ 134s] HOSTCC tools/imx8mimage.o [ 134s] HOSTCC tools/kwbimage.o [ 134s] WRAP tools/lib/md5.c [ 134s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/md5.c'. [ 134s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/md5.c'. [ 134s] HOSTCC tools/lpc32xximage.o [ 134s] HOSTCC tools/mxsimage.o [ 134s] HOSTCC tools/omapimage.o [ 134s] HOSTCC tools/pblimage.o [ 134s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 134s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 134s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 134s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 134s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 134s] 251 | int zero = 0; [ 134s] | ^~~~ [ 134s] In file included from tools/imagetool.h:21, [ 134s] from tools/imx8mimage.c:9: [ 134s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 134s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 134s] | ^~~~~ [ 134s] HOSTCC tools/pbl_crc32.o [ 134s] tools/imx8image.c: In function 'copy_file.constprop': [ 134s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 134s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 134s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 134s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 134s] 367 | int zero = 0; [ 134s] | ^~~~ [ 134s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 134s] from include/imx8image.h:13, [ 134s] from tools/imx8image.c:8: [ 134s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 134s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 134s] | ^~~~~ [ 134s] HOSTCC tools/vybridimage.o [ 135s] HOSTCC tools/stm32image.o [ 135s] WRAP tools/lib/rc4.c [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/rc4.c'. [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/rc4.c'. [ 135s] HOSTCC tools/rkcommon.o [ 135s] HOSTCC tools/rkimage.o [ 135s] HOSTCC tools/rksd.o [ 135s] HOSTCC tools/rkspi.o [ 135s] HOSTCC tools/socfpgaimage.o [ 135s] WRAP tools/lib/crc16.c [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/crc16.c'. [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/crc16.c'. [ 135s] WRAP tools/lib/sha1.c [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha1.c'. [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha1.c'. [ 135s] WRAP tools/lib/sha256.c [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/sha256.c'. [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/common/sha256.c'. [ 135s] WRAP tools/common/hash.c [ 135s] HOSTCC tools/ublimage.o [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/env/hash.c'. [ 135s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/Makefile:226: warning: pattern recipe did not update peer target 'tools/lib/hash.c'. [ 135s] HOSTCC tools/zynqimage.o [ 135s] HOSTCC tools/zynqmpimage.o [ 135s] HOSTCC tools/zynqmpbif.o [ 135s] HOSTCC tools/libfdt/fdt.o [ 135s] HOSTCC tools/libfdt/fdt_wip.o [ 135s] HOSTCC tools/libfdt/fdt_sw.o [ 135s] HOSTCC tools/libfdt/fdt_rw.o [ 135s] HOSTCC tools/libfdt/fdt_strerror.o [ 135s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 135s] HOSTCC tools/libfdt/fdt_addresses.o [ 136s] HOSTCC tools/libfdt/fdt_overlay.o [ 136s] WRAP tools/lib/libfdt/fdt_ro.c [ 136s] /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'. [ 136s] /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'. [ 136s] WRAP tools/lib/libfdt/fdt_region.c [ 136s] /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'. [ 136s] /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'. [ 136s] HOSTCC tools/gpimage.o [ 136s] HOSTCC tools/gpimage-common.o [ 136s] HOSTCC tools/mtk_image.o [ 136s] HOSTCC tools/dumpimage.o [ 136s] HOSTCC tools/common/bootm.o [ 136s] HOSTCC tools/lib/fdtdec_common.o [ 136s] HOSTCC tools/lib/fdtdec.o [ 136s] HOSTCC tools/common/image.o [ 136s] HOSTCC tools/lib/md5.o [ 136s] HOSTCC tools/lib/rc4.o [ 136s] HOSTCC tools/lib/crc16.o [ 136s] HOSTCC tools/lib/sha1.o [ 136s] HOSTCC tools/lib/sha256.o [ 136s] HOSTCC tools/common/hash.o [ 137s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 137s] HOSTCC tools/lib/libfdt/fdt_region.o [ 137s] HOSTCC tools/mkimage.o [ 137s] HOSTCC tools/proftool [ 137s] HOSTCC tools/prelink-riscv [ 137s] HOSTCC tools/fdtgrep.o [ 137s] HOSTCC tools/spl_size_limit [ 137s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 137s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 138s] HOSTCC tools/lib/crc8.o [ 138s] HOSTLD tools/mkenvimage [ 138s] HOSTLD tools/gen_ethaddr_crc [ 138s] HOSTLD tools/fdtgrep [ 141s] HOSTLD tools/dumpimage [ 141s] HOSTLD tools/mkimage [ 141s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 141s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 141s] ++ echo platform/kernel/u-boot-thead#7a92d09dbfbbb09327b4aea686fe71a7472fddca [ 141s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 141s] + make -j8 EXTRAVERSION=-g7a92d09db-TIZEN.org [ 145s] HOSTCC scripts/basic/fixdep [ 148s] HOSTCC scripts/kconfig/conf.o [ 149s] HOSTCC scripts/kconfig/zconf.tab.o [ 155s] HOSTLD scripts/kconfig/conf [ 156s] scripts/kconfig/conf --syncconfig Kconfig [ 156s] CHK include/config.h [ 157s] CFG u-boot.cfg [ 157s] GEN include/autoconf.mk.dep [ 157s] CFG spl/u-boot.cfg [ 157s] GEN include/autoconf.mk [ 157s] GEN spl/include/autoconf.mk [ 167s] CHK include/config/uboot.release [ 167s] CHK include/generated/timestamp_autogenerated.h [ 167s] UPD include/config/uboot.release [ 167s] UPD include/generated/timestamp_autogenerated.h [ 167s] CHK include/generated/version_autogenerated.h [ 167s] HOSTCC scripts/dtc/dtc.o [ 167s] HOSTCC scripts/dtc/flattree.o [ 167s] HOSTCC scripts/dtc/fstree.o [ 167s] HOSTCC scripts/dtc/data.o [ 167s] UPD include/generated/version_autogenerated.h [ 167s] HOSTCC scripts/dtc/livetree.o [ 167s] HOSTCC scripts/dtc/treesource.o [ 167s] HOSTCC scripts/dtc/srcpos.o [ 168s] HOSTCC scripts/dtc/checks.o [ 168s] HOSTCC scripts/dtc/util.o [ 168s] CC lib/asm-offsets.s [ 168s] CC arch/riscv/lib/asm-offsets.s [ 168s] In file included from include/linux/bitops.h:136, [ 168s] from include/common.h:26, [ 168s] from lib/asm-offsets.c:14: [ 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/lib/asm-offsets.c:11: [ 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] HOSTCC scripts/dtc/dtc-lexer.lex.o [ 168s] HOSTCC scripts/dtc/dtc-parser.tab.o [ 168s] CHK include/generated/generic-asm-offsets.h [ 168s] CHK include/generated/asm-offsets.h [ 169s] LDS u-boot.lds [ 170s] HOSTLD scripts/dtc/dtc [ 170s] HOSTCC tools/bmp_logo [ 170s] HOSTCC tools/gen_eth_addr [ 171s] HOSTCC tools/gen_ethaddr_crc.o [ 171s] HOSTCC tools/lib/crc8.o [ 171s] HOSTCC tools/img2srec [ 171s] HOSTCC tools/mkenvimage.o [ 171s] HOSTCC tools/os_support.o [ 171s] HOSTCC tools/lib/crc32.o [ 171s] HOSTCC tools/aisimage.o [ 171s] HOSTCC tools/atmelimage.o [ 171s] HOSTCC tools/common/bootm.o [ 171s] HOSTCC tools/default_image.o [ 171s] HOSTCC tools/lib/fdtdec_common.o [ 171s] HOSTCC tools/lib/fdtdec.o [ 171s] HOSTCC tools/common/image.o [ 171s] HOSTCC tools/imagetool.o [ 171s] HOSTCC tools/imximage.o [ 171s] In file included from tools/default_image.c:20: [ 171s] In function 'image_set_name', [ 171s] inlined from 'image_set_header' at tools/default_image.c:134:2: [ 171s] include/image.h:809:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] [ 171s] 809 | strncpy(image_get_name(hdr), name, IH_NMLEN); [ 171s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 171s] HOSTCC tools/imx8image.o [ 171s] HOSTCC tools/imx8mimage.o [ 172s] HOSTCC tools/kwbimage.o [ 172s] HOSTCC tools/lib/md5.o [ 172s] HOSTCC tools/lpc32xximage.o [ 172s] HOSTCC tools/mxsimage.o [ 172s] tools/imx8mimage.c: In function 'copy_file.constprop': [ 172s] tools/imx8mimage.c:293:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 172s] 293 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 172s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 172s] tools/imx8mimage.c:251:13: note: source object 'zero' of size 4 [ 172s] 251 | int zero = 0; [ 172s] | ^~~~ [ 172s] In file included from tools/imagetool.h:21, [ 172s] from tools/imx8mimage.c:9: [ 172s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 172s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 172s] | ^~~~~ [ 172s] tools/imx8image.c: In function 'copy_file.constprop': [ 172s] tools/imx8image.c:413:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread] [ 172s] 413 | if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { [ 172s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 172s] tools/imx8image.c:367:13: note: source object 'zero' of size 4 [ 172s] 367 | int zero = 0; [ 172s] | ^~~~ [ 172s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/imagetool.h:21, [ 172s] from include/imx8image.h:13, [ 172s] from tools/imx8image.c:8: [ 172s] /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' [ 172s] 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur [ 172s] | ^~~~~ [ 172s] HOSTCC tools/omapimage.o [ 172s] HOSTCC tools/pblimage.o [ 172s] HOSTCC tools/pbl_crc32.o [ 172s] HOSTCC tools/vybridimage.o [ 172s] HOSTCC tools/stm32image.o [ 173s] HOSTCC tools/lib/rc4.o [ 173s] HOSTCC tools/rkcommon.o [ 173s] HOSTCC tools/rkimage.o [ 173s] HOSTCC tools/rksd.o [ 173s] HOSTCC tools/rkspi.o [ 173s] HOSTCC tools/socfpgaimage.o [ 173s] HOSTCC tools/lib/crc16.o [ 173s] HOSTCC tools/lib/sha1.o [ 173s] HOSTCC tools/lib/sha256.o [ 173s] HOSTCC tools/common/hash.o [ 173s] HOSTCC tools/ublimage.o [ 173s] HOSTCC tools/zynqimage.o [ 173s] HOSTCC tools/zynqmpimage.o [ 174s] HOSTCC tools/zynqmpbif.o [ 174s] HOSTCC tools/libfdt/fdt.o [ 174s] HOSTCC tools/libfdt/fdt_wip.o [ 174s] HOSTCC tools/libfdt/fdt_sw.o [ 174s] HOSTCC tools/libfdt/fdt_rw.o [ 174s] HOSTCC tools/libfdt/fdt_strerror.o [ 174s] HOSTCC tools/libfdt/fdt_empty_tree.o [ 174s] HOSTCC tools/libfdt/fdt_addresses.o [ 174s] HOSTCC tools/libfdt/fdt_overlay.o [ 174s] HOSTCC tools/lib/libfdt/fdt_ro.o [ 175s] HOSTCC tools/lib/libfdt/fdt_region.o [ 175s] HOSTCC tools/gpimage.o [ 175s] HOSTCC tools/gpimage-common.o [ 175s] HOSTCC tools/mtk_image.o [ 175s] HOSTCC tools/dumpimage.o [ 175s] HOSTCC tools/mkimage.o [ 175s] HOSTCC tools/proftool [ 175s] HOSTCC tools/prelink-riscv [ 175s] HOSTCC tools/fdtgrep.o [ 176s] HOSTCC tools/spl_size_limit [ 176s] tools/bmp_logo --gen-info /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo.h [ 176s] tools/bmp_logo --gen-bmp /home/abuild/rpmbuild/BUILD/u-boot-2020.01/tools/logos/thead.bmp > include/bmp_logo_data.h [ 176s] HOSTLD tools/gen_ethaddr_crc [ 176s] HOSTLD tools/mkenvimage [ 177s] HOSTLD tools/fdtgrep [ 180s] HOSTLD tools/dumpimage [ 180s] HOSTLD tools/mkimage [ 180s] CC arch/riscv/cpu/cpu.o [ 180s] AS arch/riscv/cpu/mtrap.o [ 180s] AS arch/riscv/cpu/start.o [ 180s] CC arch/riscv/cpu/c9xx/dram.o [ 180s] In file included from include/linux/bitops.h:136, [ 180s] from include/common.h:26, [ 180s] from arch/riscv/cpu/cpu.c:6: [ 180s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 180s] CC arch/riscv/cpu/c9xx/cpu.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] CC arch/riscv/cpu/c9xx/feature.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from arch/riscv/cpu/c9xx/cpu.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 arch/riscv/cpu/c9xx/feature.c:1: [ 181s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 181s] CC board/thead/common/board_common.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] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from arch/riscv/cpu/c9xx/dram.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 board/thead/common/board_common.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 arch/riscv/lib/bootm.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from arch/riscv/lib/bootm.c:9: [ 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] LD board/thead/common/built-in.o [ 181s] LD arch/riscv/cpu/built-in.o [ 181s] CC board/thead/light-c910/light.o [ 181s] LD arch/riscv/cpu/c9xx/built-in.o [ 181s] CC arch/riscv/lib/image.o [ 181s] CC disk/part.o [ 181s] arch/riscv/lib/bootm.c: At top level: [ 181s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 181s] 34 | extern void secondary_entry(); [ 181s] | ^~~~~~ [ 181s] CC disk/part_efi.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from board/thead/light-c910/light.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 arch/riscv/lib/image.c:9: [ 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 disk/part.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 disk/part_efi.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] CC arch/riscv/lib/boot.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from arch/riscv/lib/boot.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 arch/riscv/lib/cache.o [ 181s] In file included from include/linux/bitops.h:136, [ 181s] from include/common.h:26, [ 181s] from arch/riscv/lib/cache.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] | ^~~~~ [ 182s] CC common/init/board_init.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from common/init/board_init.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] CC common/main.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from common/main.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] CC arch/riscv/lib/thead_ipi.o [ 182s] LD cmd/riscv/built-in.o [ 182s] LD drivers/adc/built-in.o [ 182s] LD common/init/built-in.o [ 182s] CC board/thead/light-c910/board.o [ 182s] CC cmd/boot.o [ 182s] LD drivers/ata/built-in.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from board/thead/light-c910/board.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] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/boot.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] LD drivers/dma/ti/built-in.o [ 182s] LD drivers/axi/built-in.o [ 182s] CC arch/riscv/lib/rdtime.o [ 182s] LD drivers/dma/built-in.o [ 182s] CC arch/riscv/lib/interrupts.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from arch/riscv/lib/rdtime.c:10: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] CC common/exports.o [ 182s] CC board/thead/light-c910/clock_config.o [ 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/block/blk-uclass.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from arch/riscv/lib/interrupts.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 common/exports.c:1: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from drivers/block/blk-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: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:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 182s] 95 | unsigned long flags = 0; [ 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] board/thead/light-c910/board.c: In function 'board_rng_seed': [ 182s] board/thead/light-c910/board.c:156:13: warning: unused variable 'sc_err' [-Wunused-variable] [ 182s] 156 | int sc_err = SC_FAIL; [ 182s] | ^~~~~~ [ 182s] CC cmd/bootm.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from board/thead/light-c910/clock_config.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] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from cmd/bootm.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] CC board/thead/light-c910/sec_check.o [ 182s] In file included from include/linux/bitops.h:136, [ 182s] from include/common.h:26, [ 182s] from board/thead/light-c910/sec_check.c:7: [ 182s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 182s] CC common/hash.o [ 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] | ^~~~ [ 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 arch/riscv/lib/reset.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from common/hash.c:13: [ 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 arch/riscv/lib/reset.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] LD drivers/board/built-in.o [ 183s] LD disk/built-in.o [ 183s] CC board/thead/light-c910/boot.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from board/thead/light-c910/boot.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] AS arch/riscv/lib/setjmp.o [ 183s] CC drivers/gpio/dwapb_gpio.o [ 183s] CC cmd/help.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from cmd/help.c:7: [ 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/gpio/dwapb_gpio.c:8: [ 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/version.o [ 183s] CC common/cli_hush.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from common/cli_hush.c:78: [ 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/blk_common.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from cmd/version.c:7: [ 183s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 183s] CC arch/riscv/lib/smp.o [ 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/block/blkcache.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from cmd/blk_common.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] CC board/thead/light-c910/sbmeta/sbmeta.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from arch/riscv/lib/smp.c:7: [ 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 arch/riscv/lib/locks.o [ 183s] In file included from include/linux/bitops.h:136, [ 183s] from include/common.h:26, [ 183s] from drivers/block/blkcache.c:8: [ 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 board/thead/light-c910/sbmeta/sbmeta.h:9, [ 183s] from board/thead/light-c910/sbmeta/sbmeta.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/i2c/i2c-uclass.o [ 183s] CC cmd/source.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/i2c/i2c-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] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/source.c:17: [ 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/gpio/gpio-uclass.o [ 184s] CC board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/gpio/gpio-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] LD drivers/net/mscc_eswitch/built-in.o [ 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 arch/riscv/lib/built-in.o [ 184s] CC cmd/bdinfo.o [ 184s] LD drivers/block/built-in.o [ 184s] LD drivers/cache/built-in.o [ 184s] LD drivers/net/ti/built-in.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/bdinfo.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] CC drivers/net/designware.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/net/designware.c:11: [ 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/clk/analogbits/built-in.o [ 184s] CC cmd/blkcache.o [ 184s] LD drivers/clk/imx/built-in.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from cmd/blkcache.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] | ^~~~~ [ 184s] LD drivers/clk/tegra/built-in.o [ 184s] CC drivers/core/device.o [ 184s] CC drivers/clk/clk-uclass.o [ 184s] CC drivers/i2c/designware_i2c.o [ 184s] CC common/autoboot.o [ 184s] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from drivers/core/device.c:11: [ 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/clk/clk-uclass.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] In file included from include/linux/bitops.h:136, [ 184s] from include/common.h:26, [ 184s] from common/autoboot.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] | ^~~~~ [ 185s] CC cmd/bmp.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/i2c/designware_i2c.c:8: [ 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] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from cmd/bmp.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] CC drivers/gpio/pca953x_gpio.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/gpio/pca953x_gpio.c:22: [ 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 common/board_f.o [ 185s] CC cmd/booti.o [ 185s] CC board/thead/light-c910/lpddr4/src/common_lib.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from common/board_f.c:12: [ 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/i2c/built-in.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from cmd/booti.c:7: [ 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 common/board_r.o [ 185s] LD drivers/net/built-in.o [ 185s] CC drivers/core/fdtaddr.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from common/board_r.c:12: [ 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/clk/clk_fixed_rate.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/clk/clk_fixed_rate.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] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/core/fdtaddr.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] CC board/thead/light-c910/light-sv/pll_io_test.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from board/thead/light-c910/light-sv/pll_io_test.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/core/lists.o [ 185s] CC cmd/console.o [ 185s] In file included from include/linux/bitops.h:136, [ 185s] from include/common.h:26, [ 185s] from drivers/core/lists.c:11: [ 185s] /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/clk/clk_fixed_factor.o [ 186s] LD drivers/gpio/built-in.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/console.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] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/clk/clk_fixed_factor.c:8: [ 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/core/root.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/core/root.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/net/phy/phy.o [ 186s] CC board/thead/light-c910/light-sv/adc_test.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/net/phy/phy.c:10: [ 186s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 186s] CC cmd/cpu.o [ 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 common/board_info.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from board/thead/light-c910/light-sv/adc_test.c:6: [ 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] LD drivers/clk/built-in.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/cpu.c:8: [ 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 common/board_info.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 drivers/core/uclass.o [ 186s] LD drivers/power/built-in.o [ 186s] CC drivers/cpu/cpu-uclass.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/core/uclass.c:11: [ 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/cpu/riscv_cpu.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/cpu/cpu-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] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/cpu/riscv_cpu.c:6: [ 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/dm.o [ 186s] CC common/bootm.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from cmd/dm.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] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from common/bootm.c:8: [ 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 board/thead/light-c910/version_rollback.o [ 186s] CC drivers/core/util.o [ 186s] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from board/thead/light-c910/version_rollback.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] In file included from include/linux/bitops.h:136, [ 186s] from include/common.h:26, [ 186s] from drivers/core/util.c:6: [ 186s] /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/cpu/built-in.o [ 187s] LD drivers/dfu/built-in.o [ 187s] CC cmd/echo.o [ 187s] CC drivers/crypto/fsl/sec.o [ 187s] LD board/thead/light-c910/built-in.o [ 187s] CC cmd/elf.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/echo.c:7: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/crypto/fsl/sec.c:6: [ 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 drivers/net/phy/marvell.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] LD drivers/crypto/rsa_mod_exp/built-in.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/elf.c:16: [ 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 drivers/core/device-remove.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/net/phy/marvell.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] CC cmd/exit.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/core/device-remove.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] | ^~~~~ [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/exit.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/crypto/fsl/built-in.o [ 187s] CC cmd/ext4.o [ 187s] CC common/bootm_os.o [ 187s] LD drivers/crypto/built-in.o [ 187s] CC drivers/core/simple-bus.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from common/bootm_os.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] CC drivers/net/phy/realtek.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from cmd/ext4.c:28: [ 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 drivers/core/simple-bus.c:6: [ 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 drivers/net/phy/realtek.c:9: [ 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 drivers/fastboot/fb_common.o [ 187s] CC drivers/net/phy/mscc.o [ 187s] CC drivers/core/dump.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/fastboot/fb_common.c:13: [ 187s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from include/miiphy.h:17, [ 187s] from drivers/net/phy/mscc.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] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/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 drivers/fastboot/fb_getvar.o [ 187s] In file included from include/linux/bitops.h:136, [ 187s] from include/common.h:26, [ 187s] from drivers/core/dump.c:6: [ 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 cmd/ext2.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/fastboot/fb_getvar.c:6: [ 188s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 188s] CC common/fdt_support.o [ 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 include/fs.h:8, [ 188s] from cmd/ext2.c:22: [ 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 common/fdt_support.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] CC drivers/input/key_matrix.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/input/key_matrix.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] CC drivers/fastboot/fb_command.o [ 188s] LD drivers/mailbox/built-in.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/fastboot/fb_command.c:6: [ 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/core/regmap.o [ 188s] CC common/miiphyutil.o [ 188s] CC cmd/fat.o [ 188s] LD drivers/memory/built-in.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from common/miiphyutil.c:12: [ 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/core/regmap.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] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from cmd/fat.c:10: [ 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] LD drivers/misc/built-in.o [ 188s] CC drivers/core/syscon-uclass.o [ 188s] LD drivers/input/built-in.o [ 188s] CC drivers/fastboot/fb_mmc.o [ 188s] In file included from include/linux/bitops.h:136, [ 188s] from include/common.h:26, [ 188s] from drivers/core/syscon-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/fastboot/fb_mmc.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] CC drivers/core/of_extra.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/core/of_extra.c:7: [ 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 cmd/fdt.o [ 189s] CC drivers/mmc/mmc.o [ 189s] LD drivers/net/phy/built-in.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from cmd/fdt.c:10: [ 189s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/mmc/mmc.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 common/usb.o [ 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 drivers/fastboot/built-in.o [ 189s] LD drivers/power/battery/built-in.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from common/usb.c:28: [ 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 drivers/power/domain/built-in.o [ 189s] CC common/usb_hub.o [ 189s] CC common/iomux.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from common/usb_hub.c:24: [ 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 drivers/power/fuel_gauge/built-in.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from common/iomux.c:7: [ 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/core/ofnode.o [ 189s] CC drivers/core/read_extra.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/core/ofnode.c:7: [ 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/core/read_extra.c:7: [ 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/mtd/nand/core.o [ 189s] CC drivers/mtd/nand/spi/core.o [ 189s] LD drivers/power/mfd/built-in.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/mtd/nand/spi/core.c:23: [ 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 common/splash.o [ 189s] In file included from include/linux/bitops.h:136, [ 189s] from include/common.h:26, [ 189s] from drivers/mtd/nand/core.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 common/splash.c:23: [ 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 drivers/phy/phy-uclass.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/phy/phy-uclass.c:7: [ 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 drivers/core/built-in.o [ 190s] CC cmd/flash.o [ 190s] LD drivers/phy/allwinner/built-in.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from cmd/flash.c:10: [ 190s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 190s] LD drivers/power/pmic/built-in.o [ 190s] CC drivers/mtd/nand/bbt.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] CC common/menu.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from drivers/mtd/nand/bbt.c:12: [ 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 drivers/mtd/onenand/built-in.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from common/menu.c:7: [ 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/mtd/nand/spi/gigadevice.o [ 190s] LD drivers/phy/built-in.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from include/linux/mtd/spinand.h:20, [ 190s] from drivers/mtd/nand/spi/gigadevice.c:13: [ 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/mmc/mmc-uclass.o [ 190s] CC cmd/fs.o [ 190s] In file included from include/linux/bitops.h:136, [ 190s] from include/common.h:26, [ 190s] from cmd/fs.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 drivers/mmc/mmc-uclass.c:7: [ 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] | ^~~~~ [ 191s] LD drivers/phy/marvell/built-in.o [ 191s] LD drivers/mtd/nand/nandcore.o [ 191s] CC common/cli_readline.o [ 191s] CC drivers/mtd/nand/spi/macronix.o [ 191s] CC cmd/i2c.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from common/cli_readline.c:11: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from include/linux/mtd/spinand.h:20, [ 191s] from drivers/mtd/nand/spi/macronix.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 cmd/itest.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 cmd/i2c.c:67: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] CC drivers/mmc/mmc_write.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] LD drivers/power/regulator/built-in.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from cmd/itest.c:14: [ 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 drivers/mmc/mmc_write.c:10: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] CC common/cli_simple.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 common/bouncebuf.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from common/cli_simple.c:11: [ 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 common/bouncebuf.c:8: [ 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 drivers/mtd/nand/spi/micron.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from include/linux/mtd/spinand.h:20, [ 191s] from drivers/mtd/nand/spi/micron.c:13: [ 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/pwm/built-in.o [ 191s] CC drivers/mmc/mmc_boot.o [ 191s] CC drivers/mtd/spi/sf-uclass.o [ 191s] CC drivers/mtd/mtdcore.o [ 191s] CC drivers/serial/serial-uclass.o [ 191s] CC drivers/mtd/nand/spi/winbond.o [ 191s] LD drivers/reset/built-in.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from include/linux/mtd/spinand.h:20, [ 191s] from drivers/mtd/nand/spi/winbond.c:14: [ 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 drivers/mmc/mmc_boot.c:7: [ 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 drivers/mtd/spi/sf-uclass.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 include/ubi_uboot.h:17, [ 191s] from drivers/mtd/mtdcore.c:30: [ 191s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/serial/serial-uclass.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] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/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 drivers/mmc/dw_mmc.o [ 191s] In file included from include/linux/bitops.h:136, [ 191s] from include/common.h:26, [ 191s] from drivers/mmc/dw_mmc.c:9: [ 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 common/console.o [ 192s] LD drivers/mtd/nand/spi/spinand.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from common/console.c:7: [ 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] LD drivers/mtd/nand/spi/built-in.o [ 192s] LD drivers/mtd/nand/built-in.o [ 192s] CC drivers/mtd/spi/sf_probe.o [ 192s] CC drivers/serial/ns16550.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from drivers/mtd/spi/sf_probe.c:10: [ 192s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 192s] CC cmd/load.o [ 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 drivers/rtc/rtc-lib.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from drivers/serial/ns16550.c:7: [ 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 cmd/load.c:10: [ 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 drivers/rtc/rtc-lib.c:13: [ 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 common/dlmalloc.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from common/dlmalloc.c:1: [ 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 drivers/mtd/spi/spi-nor-ids.o [ 192s] CC drivers/mmc/snps_dw_mmc.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from drivers/mtd/spi/spi-nor-ids.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 drivers/mmc/snps_dw_mmc.c:10: [ 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] LD drivers/rtc/built-in.o [ 192s] LD drivers/serial/built-in.o [ 192s] CC drivers/spi/spi-uclass.o [ 192s] CC common/malloc_simple.o [ 192s] LD drivers/scsi/built-in.o [ 192s] CC common/image.o [ 192s] In file included from include/linux/bitops.h:136, [ 192s] from include/common.h:26, [ 192s] from drivers/spi/spi-uclass.c:6: [ 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 common/malloc_simple.c:10: [ 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 drivers/mtd/spi/spi-nor-core.o [ 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 drivers/spi/spi-mem.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from common/image.c:10: [ 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 drivers/mtd/spi/spi-nor-core.c:12: [ 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 drivers/mmc/rpmb.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from include/spi.h:12, [ 193s] from drivers/spi/spi-mem.c:14: [ 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 cmd/mem.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from drivers/mmc/rpmb.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] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from cmd/mem.c:13: [ 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 drivers/mmc/sdhci.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from drivers/mmc/sdhci.c:10: [ 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 cmd/mii.o [ 193s] CC drivers/spi/designware_spi.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from cmd/mii.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] CC drivers/mtd/mtd_uboot.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from drivers/spi/designware_spi.c:12: [ 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 drivers/mtd/mtd_uboot.c:6: [ 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 drivers/mtd/mtd-uclass.o [ 193s] CC common/image-fdt.o [ 193s] In file included from include/linux/bitops.h:136, [ 193s] from include/common.h:26, [ 193s] from drivers/mtd/mtd-uclass.c:6: [ 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] | ^~~~~ [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from common/image-fdt.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] LD drivers/mtd/spi/spi-nor.o [ 194s] LD drivers/mtd/spi/built-in.o [ 194s] CC drivers/spi/designware_qspi.o [ 194s] CC drivers/mmc/snps_sdhci.o [ 194s] CC common/memsize.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from drivers/spi/designware_qspi.c:12: [ 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 common/stdio.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from common/memsize.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] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from drivers/mmc/snps_sdhci.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] CC drivers/mtd/mtdpart.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from common/stdio.c:12: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from drivers/mtd/mtdpart.c:20: [ 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] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/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 cmd/mdio.o [ 194s] CC common/cli.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from cmd/mdio.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] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from common/cli.c:11: [ 194s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 194s] LD drivers/usb/cdns3/built-in.o [ 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 drivers/smem/built-in.o [ 194s] LD drivers/soc/built-in.o [ 194s] LD drivers/sound/built-in.o [ 194s] LD drivers/usb/common/built-in.o [ 194s] CC cmd/misc.o [ 194s] CC common/command.o [ 194s] LD drivers/spmi/built-in.o [ 194s] LD drivers/mmc/built-in.o [ 194s] CC cmd/mmc.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from cmd/misc.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] LD drivers/thermal/built-in.o [ 194s] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from common/command.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] In file included from include/linux/bitops.h:136, [ 194s] from include/common.h:26, [ 194s] from cmd/mmc.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] LD drivers/spi/built-in.o [ 194s] CC drivers/timer/timer-uclass.o [ 194s] LD drivers/ufs/built-in.o [ 195s] CC cmd/mtd.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from drivers/timer/timer-uclass.c:6: [ 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 drivers/timer/riscv_timer.o [ 195s] common/command.c: At top level: [ 195s] 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] [ 195s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 195s] | ^~~~~~~~~~~ [ 195s] In file included from include/image.h:45, [ 195s] from include/common.h:40: [ 195s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 195s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 195s] | ^~~~~~~~~~~ [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from cmd/mtd.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 drivers/timer/riscv_timer.c:14: [ 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 common/s_record.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from common/s_record.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] | ^~~~~ [ 195s] CC common/xyzModem.o [ 195s] CC drivers/video/bridge/video-bridge-uclass.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from common/xyzModem.c:24: [ 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 drivers/video/bridge/video-bridge-uclass.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] | ^~~~~ [ 195s] LD drivers/timer/built-in.o [ 195s] LD drivers/mtd/mtd.o [ 195s] LD drivers/mtd/built-in.o [ 195s] LD drivers/watchdog/built-in.o [ 195s] CC drivers/usb/dwc3/core.o [ 195s] CC drivers/usb/dwc3/gadget.o [ 195s] LD drivers/usb/emul/built-in.o [ 195s] LD drivers/video/bridge/built-in.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from drivers/usb/dwc3/core.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 drivers/usb/dwc3/gadget.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] CC drivers/usb/dwc3/ep0.o [ 195s] LD drivers/video/sunxi/built-in.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from drivers/usb/dwc3/ep0.c:15: [ 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 drivers/video/light/vs_dpu.o [ 195s] CC drivers/video/light/dw_dsi_light.o [ 195s] In file included from include/linux/bitops.h:136, [ 195s] from include/common.h:26, [ 195s] from drivers/video/light/vs_dpu.c:3: [ 195s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from drivers/video/light/dw_dsi_light.c:3: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC drivers/video/console_normal.o [ 196s] LD common/built-in.o [ 196s] CC cmd/legacy-mtd-utils.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from drivers/video/console_normal.c:10: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC cmd/net.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from cmd/legacy-mtd-utils.c:3: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC drivers/video/backlight-uclass.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from cmd/net.c:10: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from drivers/video/backlight-uclass.c:7: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC drivers/video/light/dw_dsi_host.o [ 196s] CC drivers/video/light/phy-dw-dphy.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from drivers/video/light/dw_dsi_host.c:3: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] LD drivers/usb/eth/built-in.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from drivers/video/light/phy-dw-dphy.c:3: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC drivers/video/dsi-host-uclass.o [ 196s] LD drivers/usb/dwc3/dwc3.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from drivers/video/dsi-host-uclass.c:8: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC drivers/video/panel-uclass.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from drivers/video/panel-uclass.c:7: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] CC drivers/usb/gadget/epautoconf.o [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] CC drivers/usb/gadget/udc/udc-core.o [ 196s] CC cmd/part.o [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from drivers/usb/gadget/epautoconf.c:11: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from cmd/part.c:18: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 196s] In file included from include/linux/bitops.h:136, [ 196s] from include/common.h:26, [ 196s] from /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/dma-mapping.h:13, [ 196s] from drivers/usb/gadget/udc/udc-core.c:19: [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 196s] 98 | out = __test_and_clear_bit(nr, addr); [ 196s] | ^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 196s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 196s] | ~~~~~~^~~~ [ 196s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 196s] 95 | unsigned long flags = 0; [ 196s] | ^~~~~ [ 197s] CC cmd/pxe.o [ 197s] CC cmd/pxe_utils.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from cmd/pxe.c:7: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from cmd/pxe_utils.c:7: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC drivers/usb/gadget/config.o [ 197s] CC drivers/usb/gadget/usbstring.o [ 197s] CC drivers/usb/gadget/udc/udc-uclass.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/usb/gadget/config.c:11: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/usb/gadget/usbstring.c:9: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC drivers/video/simple_panel.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/usb/gadget/udc/udc-uclass.c:7: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/video/simple_panel.c:7: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] LD drivers/video/light/built-in.o [ 197s] CC cmd/sf.o [ 197s] CC drivers/video/video-uclass.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from cmd/sf.c:8: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/video/video-uclass.c:6: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] CC drivers/video/vidconsole-uclass.o [ 197s] CC drivers/usb/gadget/g_dnl.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/usb/gadget/g_dnl.c:9: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/video/vidconsole-uclass.c:10: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] LD drivers/usb/gadget/udc/built-in.o [ 197s] CC drivers/usb/gadget/f_mass_storage.o [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/usb/gadget/f_mass_storage.c:245: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] CC drivers/video/video_bmp.o [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] In file included from include/linux/bitops.h:136, [ 197s] from include/common.h:26, [ 197s] from drivers/video/video_bmp.c:6: [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 197s] 98 | out = __test_and_clear_bit(nr, addr); [ 197s] | ^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 197s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 197s] | ~~~~~~^~~~ [ 197s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 197s] 95 | unsigned long flags = 0; [ 197s] | ^~~~~ [ 197s] LD drivers/usb/host/built-in.o [ 197s] CC drivers/usb/gadget/f_fastboot.o [ 197s] LD drivers/usb/dwc3/built-in.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from drivers/usb/gadget/f_fastboot.c:14: [ 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] CC drivers/video/ilitek-ili9881c.o [ 198s] CC cmd/setexpr.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from cmd/setexpr.c:11: [ 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 drivers/video/ilitek-ili9881c.c:3: [ 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 drivers/usb/musb/built-in.o [ 198s] CC drivers/video/mipi_dsi.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from drivers/video/mipi_dsi.c:35: [ 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] CC cmd/spi.o [ 198s] LD drivers/usb/phy/built-in.o [ 198s] CC cmd/sysboot.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from cmd/spi.c:11: [ 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 drivers/usb/musb-new/built-in.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from cmd/sysboot.c:3: [ 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] CC cmd/test.o [ 198s] CC cmd/unzip.o [ 198s] LD drivers/usb/ulpi/built-in.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from cmd/test.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 cmd/unzip.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] DTC arch/riscv/dts/light-a-ref.dtb [ 198s] DTC arch/riscv/dts/light-b-ref.dtb [ 198s] DTC arch/riscv/dts/light-a-val.dtb [ 198s] CC cmd/lzmadec.o [ 198s] LD drivers/video/built-in.o [ 198s] CC cmd/fastboot.o [ 198s] In file included from include/linux/bitops.h:136, [ 198s] from include/common.h:26, [ 198s] from cmd/lzmadec.c:12: [ 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 drivers/built-in.o [ 199s] DTC arch/riscv/dts/light-b-product.dtb [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from cmd/fastboot.c:9: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] DTC arch/riscv/dts/light-a-product.dtb [ 199s] CC cmd/usb_mass_storage.o [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from cmd/usb_mass_storage.c:10: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] CC env/common.o [ 199s] DTC arch/riscv/dts/light-ant-ref.dtb [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from env/common.c:10: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] CC cmd/ximg.o [ 199s] CC fs/ext4/ext4fs.o [ 199s] CC fs/ext4/ext4_common.o [ 199s] CC fs/fat/fat_write.o [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from fs/ext4/ext4fs.c:23: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from cmd/ximg.c:14: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] LD drivers/usb/gadget/built-in.o [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from fs/ext4/ext4_common.c:21: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from fs/fat/fat_write.c:8: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] CC fs/fs.o [ 199s] DTC arch/riscv/dts/light-beagle.dtb [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from fs/fs.c:8: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] CC env/env.o [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from env/env.c:7: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] CC cmd/gpt.o [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from cmd/gpt.c:13: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 199s] DTC arch/riscv/dts/light-b-power.dtb [ 199s] CC env/attr.o [ 199s] In file included from include/linux/bitops.h:136, [ 199s] from include/common.h:26, [ 199s] from env/attr.c:12: [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 199s] 98 | out = __test_and_clear_bit(nr, addr); [ 199s] | ^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 199s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 199s] | ~~~~~~^~~~ [ 199s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 199s] 95 | unsigned long flags = 0; [ 199s] | ^~~~~ [ 200s] CC fs/ext4/dev.o [ 200s] In file included from include/linux/bitops.h:136, [ 200s] from include/common.h:26, [ 200s] from fs/ext4/dev.c:25: [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 200s] 98 | out = __test_and_clear_bit(nr, addr); [ 200s] | ^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 200s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 200s] | ~~~~~~^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 200s] 95 | unsigned long flags = 0; [ 200s] | ^~~~~ [ 200s] CC env/callback.o [ 200s] CC cmd/ddrscan.o [ 200s] In file included from include/linux/bitops.h:136, [ 200s] from include/common.h:26, [ 200s] from env/callback.c:7: [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 200s] 98 | out = __test_and_clear_bit(nr, addr); [ 200s] | ^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 200s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 200s] | ~~~~~~^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 200s] 95 | unsigned long flags = 0; [ 200s] | ^~~~~ [ 200s] In file included from include/linux/bitops.h:136, [ 200s] from include/common.h:26, [ 200s] from cmd/ddrscan.c:11: [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 200s] 98 | out = __test_and_clear_bit(nr, addr); [ 200s] | ^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 200s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 200s] | ~~~~~~^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 200s] 95 | unsigned long flags = 0; [ 200s] | ^~~~~ [ 200s] DTC arch/riscv/dts/light-lpi4a.dtb [ 200s] LD lib/crypto/built-in.o [ 200s] CC cmd/nvedit.o [ 200s] CC fs/ext4/ext4_write.o [ 200s] In file included from include/linux/bitops.h:136, [ 200s] from include/common.h:26, [ 200s] from cmd/nvedit.c:26: [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 200s] 98 | out = __test_and_clear_bit(nr, addr); [ 200s] | ^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 200s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 200s] | ~~~~~~^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 200s] 95 | unsigned long flags = 0; [ 200s] | ^~~~~ [ 200s] In file included from include/linux/bitops.h:136, [ 200s] from include/common.h:26, [ 200s] from fs/ext4/ext4_write.c:24: [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 200s] 98 | out = __test_and_clear_bit(nr, addr); [ 200s] | ^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 200s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 200s] | ~~~~~~^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 200s] 95 | unsigned long flags = 0; [ 200s] | ^~~~~ [ 200s] CC env/flags.o [ 200s] CC lib/libfdt/fdt.o [ 200s] In file included from include/linux/bitops.h:136, [ 200s] from include/common.h:26, [ 200s] from env/flags.c:21: [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 200s] 98 | out = __test_and_clear_bit(nr, addr); [ 200s] | ^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 200s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 200s] | ~~~~~~^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 200s] 95 | unsigned long flags = 0; [ 200s] | ^~~~~ [ 200s] DTC arch/riscv/dts/light-milkv-meles.dtb [ 200s] CC env/fat.o [ 200s] In file included from include/linux/bitops.h:136, [ 200s] from include/common.h:26, [ 200s] from env/fat.c:9: [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 200s] 98 | out = __test_and_clear_bit(nr, addr); [ 200s] | ^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 200s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 200s] | ~~~~~~^~~~ [ 200s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 200s] 95 | unsigned long flags = 0; [ 200s] | ^~~~~ [ 200s] CC fs/fs_internal.o [ 200s] DTC arch/riscv/dts/light-lpi4a-laptop.dtb [ 201s] In file included from include/linux/bitops.h:136, [ 201s] from include/common.h:26, [ 201s] from fs/fs_internal.c:8: [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 201s] 98 | out = __test_and_clear_bit(nr, addr); [ 201s] | ^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 201s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 201s] | ~~~~~~^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 201s] 95 | unsigned long flags = 0; [ 201s] | ^~~~~ [ 201s] CC lib/libfdt/fdt_wip.o [ 201s] CC lib/libfdt/fdt_strerror.o [ 201s] LD env/built-in.o [ 201s] LD cmd/built-in.o [ 201s] SHIPPED dts/dt.dtb [ 201s] CC lib/libfdt/fdt_sw.o [ 201s] DTB dts/dt.dtb.S [ 201s] AS dts/dt.dtb.o [ 201s] CC lib/lzma/LzmaDec.o [ 201s] In file included from include/linux/bitops.h:136, [ 201s] from include/common.h:26, [ 201s] from lib/lzma/LzmaDec.c:5: [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 201s] 98 | out = __test_and_clear_bit(nr, addr); [ 201s] | ^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 201s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 201s] | ~~~~~~^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 201s] 95 | unsigned long flags = 0; [ 201s] | ^~~~~ [ 201s] CC fs/ext4/ext4_journal.o [ 201s] LD dts/built-in.o [ 201s] In file included from include/linux/bitops.h:136, [ 201s] from include/common.h:26, [ 201s] from fs/ext4/ext4_journal.c:16: [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 201s] 98 | out = __test_and_clear_bit(nr, addr); [ 201s] | ^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 201s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 201s] | ~~~~~~^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 201s] 95 | unsigned long flags = 0; [ 201s] | ^~~~~ [ 201s] CC fs/ext4/crc16.o [ 201s] CC lib/lzma/LzmaTools.o [ 201s] CC net/checksum.o [ 201s] In file included from include/linux/bitops.h:136, [ 201s] from include/common.h:26, [ 201s] from lib/lzma/LzmaTools.c:21: [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 201s] In file included from include/linux/bitops.h:136, [ 201s] from include/common.h:26, [ 201s] from fs/ext4/crc16.c:8: [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 201s] 98 | out = __test_and_clear_bit(nr, addr); [ 201s] | ^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 201s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 201s] | ~~~~~~^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 201s] 95 | unsigned long flags = 0; [ 201s] | ^~~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 201s] 98 | out = __test_and_clear_bit(nr, addr); [ 201s] | ^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 201s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 201s] | ~~~~~~^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 201s] 95 | unsigned long flags = 0; [ 201s] | ^~~~~ [ 201s] In file included from include/linux/bitops.h:136, [ 201s] from include/common.h:26, [ 201s] from net/checksum.c:10: [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 201s] 98 | out = __test_and_clear_bit(nr, addr); [ 201s] | ^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 201s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 201s] | ~~~~~~^~~~ [ 201s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 201s] 95 | unsigned long flags = 0; [ 201s] | ^~~~~ [ 201s] CC lib/libfdt/fdt_rw.o [ 201s] CC lib/libfdt/fdt_empty_tree.o [ 201s] CC net/arp.o [ 201s] LD fs/fat/built-in.o [ 201s] LD fs/ext4/built-in.o [ 202s] CC net/bootp.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from net/arp.c:12: [ 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 net/bootp.c:11: [ 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 fs/built-in.o [ 202s] CC lib/zlib/zlib.o [ 202s] CC lib/libfdt/fdt_addresses.o [ 202s] CC lib/libfdt/fdt_ro.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from lib/zlib/zlib.c:15: [ 202s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 202s] CC net/eth-uclass.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 net/eth-uclass.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] CC net/eth_common.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from net/eth_common.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] CC lib/libfdt/fdt_region.o [ 202s] CC net/net.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from net/net.c:90: [ 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 lib/crc7.o [ 202s] CC lib/crc8.o [ 202s] CC net/nfs.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from lib/crc8.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 lib/crc16.o [ 202s] CC lib/image-sparse.o [ 202s] In file included from include/linux/bitops.h:136, [ 202s] from include/common.h:26, [ 202s] from lib/image-sparse.c:38: [ 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 lib/crc16.c:28: [ 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 net/nfs.c:29: [ 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 lib/ldiv.o [ 203s] LD lib/libfdt/built-in.o [ 203s] CC net/ping.o [ 203s] CC net/tftp.o [ 203s] CC lib/net_utils.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from net/tftp.c:9: [ 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 net/ping.h:15, [ 203s] from net/ping.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 lib/rc4.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from lib/rc4.c:11: [ 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] LD lib/lzma/built-in.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from lib/net_utils.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 lib/sha256.o [ 203s] CC lib/list_sort.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from lib/list_sort.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 lib/sha256.c:9: [ 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 lib/gunzip.o [ 203s] CC net/fastboot.o [ 203s] CC lib/fdtdec_common.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from lib/gunzip.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 net/fastboot.c:6: [ 203s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from lib/fdtdec_common.c:11: [ 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] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/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 lib/fdtdec.o [ 203s] CC lib/qsort.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from lib/qsort.c:19: [ 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 lib/fdtdec.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] CC lib/hashtable.o [ 203s] CC lib/errno.o [ 203s] In file included from include/linux/bitops.h:136, [ 203s] from include/common.h:26, [ 203s] from lib/hashtable.c:32: [ 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 lib/display_options.o [ 204s] CC lib/crc32.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from lib/display_options.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 net/built-in.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from lib/crc32.c:15: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] CC lib/ctype.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] CC lib/div64.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/linux/math64.h:5, [ 204s] from lib/div64.c:22: [ 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 lib/hang.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from lib/hang.c:10: [ 204s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 204s] CC lib/linux_compat.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] CC lib/linux_string.o [ 204s] CC lib/lmb.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from lib/linux_compat.c:2: [ 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 lib/lmb.c:9: [ 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 lib/membuff.o [ 204s] LD lib/zlib/built-in.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from lib/membuff.c:9: [ 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 lib/slre.o [ 204s] CC lib/string.o [ 204s] CC lib/tables_csum.o [ 204s] CC lib/time.o [ 204s] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from lib/slre.c:23: [ 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 lib/tables_csum.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] In file included from include/linux/bitops.h:136, [ 204s] from include/common.h:26, [ 204s] from lib/time.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 lib/hexdump.o [ 205s] CC lib/uuid.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from lib/hexdump.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 lib/rand.o [ 205s] CC lib/panic.o [ 205s] CC lib/vsprintf.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from lib/rand.c:10: [ 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 lib/uuid.c:6: [ 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 lib/vsprintf.c:16: [ 205s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 205s] CC lib/strto.o [ 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 lib/abuf.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from lib/panic.c:12: [ 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 lib/strto.c:12: [ 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 lib/abuf.c:10: [ 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 lib/date.o [ 205s] In file included from include/linux/bitops.h:136, [ 205s] from include/common.h:26, [ 205s] from lib/date.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] | ^~~~~ [ 207s] LD lib/built-in.o [ 207s] CC examples/standalone/hello_world.o [ 207s] CC examples/standalone/stubs.o [ 207s] In file included from include/linux/bitops.h:136, [ 207s] from include/common.h:26, [ 207s] from examples/standalone/stubs.c:1: [ 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 examples/standalone/hello_world.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] LD examples/standalone/libstubs.o [ 208s] LD examples/standalone/hello_world [ 208s] OBJCOPY examples/standalone/hello_world.srec [ 208s] OBJCOPY examples/standalone/hello_world.bin [ 209s] LD u-boot [ 210s] ld.bfd: warning: u-boot has a LOAD segment with RWX permissions [ 210s] OBJCOPY u-boot.srec [ 210s] OBJCOPY u-boot-nodtb.bin [ 210s] FDTGREP dts/dt-spl.dtb [ 210s] SYM u-boot.sym [ 211s] COPY u-boot.bin [ 211s] CC spl/arch/riscv/cpu/cpu.o [ 211s] AS spl/arch/riscv/cpu/mtrap.o [ 211s] CC spl/board/thead/common/board_common.o [ 211s] CC spl/common/init/board_init.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/cpu/cpu.c:6: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/arch/riscv/cpu/c9xx/dram.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from board/thead/common/board_common.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] CC spl/common/spl/spl.o [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/cpu/c9xx/dram.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from common/init/board_init.c:9: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/common/spl/spl_mmc.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from common/spl/spl.c:9: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from common/spl/spl_mmc.c:8: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/arch/riscv/lib/bootm.o [ 211s] AS spl/arch/riscv/cpu/start.o [ 211s] CC spl/board/thead/light-c910/spl.o [ 211s] LD spl/board/thead/common/built-in.o [ 211s] CC spl/arch/riscv/lib/image.o [ 211s] common/spl/spl.c: In function 'print_ruyisdk_logo': [ 211s] common/spl/spl.c:744:9: warning: multi-line comment [-Wcomment] [ 211s] 744 | // | | \ \ |_| | |_| | |____) | |__| | . \ [ 211s] | ^ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/lib/bootm.c:9: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from board/thead/light-c910/spl.c:8: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/arch/riscv/cpu/c9xx/cpu.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/lib/image.c:9: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] arch/riscv/lib/bootm.c: At top level: [ 211s] arch/riscv/lib/bootm.c:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 211s] 34 | extern void secondary_entry(); [ 211s] | ^~~~~~ [ 211s] LD spl/arch/riscv/cpu/built-in.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/cpu/c9xx/cpu.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/arch/riscv/cpu/c9xx/feature.o [ 211s] LD spl/common/init/built-in.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/cpu/c9xx/feature.c:1: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/arch/riscv/lib/boot.o [ 211s] CC spl/arch/riscv/lib/cache.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/lib/cache.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/lib/boot.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/board/thead/light-c910/sys_clk.o [ 211s] CC spl/arch/riscv/lib/thead_ipi.o [ 211s] CC spl/common/spl/spl_ram.o [ 211s] CC spl/board/thead/light-c910/lpddr-regu/ddr_regu.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from board/thead/light-c910/sys_clk.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from common/spl/spl_ram.c:12: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] CC spl/arch/riscv/lib/rdtime.o [ 211s] CC spl/common/fdt_support.o [ 211s] CC spl/arch/riscv/lib/interrupts.o [ 211s] LD spl/arch/riscv/cpu/c9xx/built-in.o [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/lib/rdtime.c:10: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from board/thead/light-c910/lpddr-regu/ddr_regu.c:7: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from arch/riscv/lib/interrupts.c:10: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] In file included from include/linux/bitops.h:136, [ 211s] from include/common.h:26, [ 211s] from common/fdt_support.c:9: [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 211s] 98 | out = __test_and_clear_bit(nr, addr); [ 211s] | ^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 211s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 211s] | ~~~~~~^~~~ [ 211s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 211s] 95 | unsigned long flags = 0; [ 211s] | ^~~~~ [ 211s] board/thead/light-c910/lpddr-regu/ddr_regu.c: At top level: [ 211s] board/thead/light-c910/lpddr-regu/ddr_regu.c:144:33: warning: 'g_regu_id_list' defined but not used [-Wunused-const-variable=] [ 211s] 144 | static const struct regulator_t g_regu_id_list[] = { [ 211s] | ^~~~~~~~~~~~~~ [ 211s] CC spl/cmd/nvedit.o [ 212s] LD spl/common/spl/built-in.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from cmd/nvedit.c:26: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/arch/riscv/lib/reset.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from arch/riscv/lib/reset.c:6: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] AS spl/arch/riscv/lib/setjmp.o [ 212s] CC spl/env/common.o [ 212s] CC spl/disk/part.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from env/common.c:10: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from disk/part.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] LD spl/cmd/built-in.o [ 212s] CC spl/arch/riscv/lib/smp.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from arch/riscv/lib/smp.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/board/thead/light-c910/lpddr-regu/dw_iic_ll.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from board/thead/light-c910/lpddr-regu/dw_iic_ll.c:5: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/arch/riscv/lib/spl.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from arch/riscv/lib/spl.c:6: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/drivers/block/blk-uclass.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from drivers/block/blk-uclass.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] CC spl/board/thead/light-c910/lpddr4/src/init_ddr.o [ 212s] CC spl/arch/riscv/lib/locks.o [ 212s] CC spl/lib/libfdt/fdt.o [ 212s] CC spl/env/env.o [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] CC spl/common/bouncebuf.o [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from env/env.c:7: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] In file included from include/linux/bitops.h:136, [ 212s] from include/common.h:26, [ 212s] from common/bouncebuf.c:8: [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 212s] 98 | out = __test_and_clear_bit(nr, addr); [ 212s] | ^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 212s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 212s] | ~~~~~~^~~~ [ 212s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 212s] 95 | unsigned long flags = 0; [ 212s] | ^~~~~ [ 212s] LD spl/drivers/clk/analogbits/built-in.o [ 212s] LD spl/arch/riscv/lib/built-in.o [ 212s] CC spl/board/thead/light-c910/lpddr4/src/pinmux.o [ 212s] CC spl/disk/part_efi.o [ 212s] CC spl/lib/libfdt/fdt_wip.o [ 212s] LD spl/drivers/clk/imx/built-in.o [ 213s] CC spl/lib/libfdt/fdt_strerror.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from disk/part_efi.c:13: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/common/console.o [ 213s] LD spl/env/built-in.o [ 213s] CC spl/board/thead/light-c910/lpddr4/src/waitfwdone.o [ 213s] LD spl/drivers/clk/tegra/built-in.o [ 213s] CC spl/drivers/clk/clk-uclass.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from common/console.c:7: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/lib/libfdt/fdt_sw.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from drivers/clk/clk-uclass.c:9: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/lib/fdtdec_common.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/fdtdec_common.c:11: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/drivers/core/device.o [ 213s] CC spl/board/thead/light-c910/lpddr4/src/ddr_common_func.o [ 213s] CC spl/common/dlmalloc.o [ 213s] LD spl/drivers/block/built-in.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from drivers/core/device.c:11: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] CC spl/lib/fdtdec.o [ 213s] CC spl/board/thead/light-c910/lpddr4/src/common_lib.o [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from common/dlmalloc.c:1: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/drivers/clk/clk_fixed_rate.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from drivers/clk/clk_fixed_rate.c:6: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from lib/fdtdec.c:7: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] CC spl/drivers/cpu/cpu-uclass.o [ 213s] CC spl/drivers/clk/clk_fixed_factor.o [ 213s] CC spl/lib/libfdt/fdt_rw.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from drivers/clk/clk_fixed_factor.c:8: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from drivers/cpu/cpu-uclass.c:7: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 213s] LD spl/disk/built-in.o [ 213s] LD spl/drivers/clk/built-in.o [ 213s] CC spl/lib/libfdt/fdt_empty_tree.o [ 213s] CC spl/drivers/cpu/riscv_cpu.o [ 213s] In file included from include/linux/bitops.h:136, [ 213s] from include/common.h:26, [ 213s] from drivers/cpu/riscv_cpu.c:6: [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 213s] 98 | out = __test_and_clear_bit(nr, addr); [ 213s] | ^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 213s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 213s] | ~~~~~~^~~~ [ 213s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 213s] 95 | unsigned long flags = 0; [ 213s] | ^~~~~ [ 214s] CC spl/common/malloc_simple.o [ 214s] CC spl/drivers/mmc/mmc.o [ 214s] CC spl/drivers/mmc/mmc-uclass.o [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from drivers/mmc/mmc.c:10: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from common/malloc_simple.c:10: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] CC spl/lib/libfdt/fdt_addresses.o [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from drivers/mmc/mmc-uclass.c:7: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] CC spl/lib/libfdt/fdt_ro.o [ 214s] CC spl/common/image.o [ 214s] LD spl/drivers/cpu/built-in.o [ 214s] CC spl/lib/libfdt/fdt_region.o [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from common/image.c:10: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] CC spl/drivers/core/fdtaddr.o [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from drivers/core/fdtaddr.c:11: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] CC spl/drivers/mmc/mmc_boot.o [ 214s] CC spl/drivers/core/lists.o [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from drivers/mmc/mmc_boot.c:7: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from drivers/core/lists.c:11: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] FDTGREP spl/dts/dt-spl.dtb [ 214s] CC spl/common/image-fdt.o [ 214s] CC spl/fs/fs_internal.o [ 214s] DTB spl/dts/dt-spl.dtb.S [ 214s] CC spl/drivers/mmc/dw_mmc.o [ 214s] AS spl/dts/dt-spl.dtb.o [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from fs/fs_internal.c:8: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from common/image-fdt.c:11: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] In file included from include/linux/bitops.h:136, [ 214s] from include/common.h:26, [ 214s] from drivers/mmc/dw_mmc.c:9: [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 214s] 98 | out = __test_and_clear_bit(nr, addr); [ 214s] | ^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 214s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 214s] | ~~~~~~^~~~ [ 214s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 214s] 95 | unsigned long flags = 0; [ 214s] | ^~~~~ [ 214s] CC spl/board/thead/light-c910/lpddr4/src/lpddr4_init.o [ 214s] LD spl/dts/built-in.o [ 214s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:7:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 214s] 7 | int dwc_ddrphy_phyinit_regInterface(); [ 214s] | ^~~ [ 214s] board/thead/light-c910/lpddr4/src/lpddr4_init.c:995:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 214s] 995 | int dwc_ddrphy_phyinit_regInterface() { [ 214s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 215s] LD spl/lib/libfdt/built-in.o [ 215s] CC spl/drivers/mmc/snps_dw_mmc.o [ 215s] CC spl/drivers/mmc/rpmb.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/mmc/snps_dw_mmc.c:10: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] LD spl/fs/built-in.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/mmc/rpmb.c:11: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] CC spl/board/thead/light-c910/lpddr4/src/ddr_phy_fw/lp4x_3733_phy_train1d2d_dualrank.o [ 215s] CC spl/common/memsize.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from common/memsize.c:7: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] CC spl/drivers/core/root.o [ 215s] LD spl/drivers/mtd/built-in.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/core/root.c:9: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] CC spl/drivers/core/uclass.o [ 215s] CC spl/drivers/mmc/sdhci.o [ 215s] CC spl/lib/qsort.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/core/uclass.c:11: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] CC spl/common/stdio.o [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/mmc/sdhci.c:10: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from lib/qsort.c:19: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] CC spl/drivers/serial/serial-uclass.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from common/stdio.c:12: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] CC spl/common/cli.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/serial/serial-uclass.c:6: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from common/cli.c:11: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] CC spl/drivers/serial/ns16550.o [ 215s] CC spl/lib/hashtable.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/serial/ns16550.c:7: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from lib/hashtable.c:32: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] LDS spl/u-boot-spl.lds [ 215s] CC spl/common/command.o [ 215s] CC spl/common/s_record.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from common/command.c:11: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from common/s_record.c:7: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] CC spl/drivers/mmc/snps_sdhci.o [ 215s] LD spl/drivers/serial/built-in.o [ 215s] common/command.c: At top level: [ 215s] 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] [ 215s] 582 | enum command_ret_t cmd_process(int flag, int argc, char * const argv[], [ 215s] | ^~~~~~~~~~~ [ 215s] In file included from include/image.h:45, [ 215s] from include/common.h:40: [ 215s] include/command.h:184:5: note: previous declaration of 'cmd_process' with type 'int(int, int, char * const*, int *, long unsigned int *)' [ 215s] 184 | int cmd_process(int flag, int argc, char * const argv[], [ 215s] | ^~~~~~~~~~~ [ 215s] CC spl/drivers/core/util.o [ 215s] CC spl/common/xyzModem.o [ 215s] CC spl/drivers/timer/timer-uclass.o [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/mmc/snps_sdhci.c:6: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from common/xyzModem.c:24: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/core/util.c:6: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] In file included from include/linux/bitops.h:136, [ 215s] from include/common.h:26, [ 215s] from drivers/timer/timer-uclass.c:6: [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 215s] 98 | out = __test_and_clear_bit(nr, addr); [ 215s] | ^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 215s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 215s] | ~~~~~~^~~~ [ 215s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 215s] 95 | unsigned long flags = 0; [ 215s] | ^~~~~ [ 215s] CC spl/lib/errno.o [ 215s] LD spl/board/thead/light-c910/built-in.o [ 215s] CC spl/drivers/core/simple-bus.o [ 216s] CC spl/lib/display_options.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/display_options.c:7: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from drivers/core/simple-bus.c:6: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/lib/crc32.o [ 216s] CC spl/drivers/core/dump.o [ 216s] MKIMAGE u-boot.img [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from drivers/core/dump.c:6: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/drivers/timer/riscv_timer.o [ 216s] CC spl/drivers/core/of_extra.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/crc32.c:15: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] LD spl/common/built-in.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from drivers/timer/riscv_timer.c:14: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/drivers/core/ofnode.o [ 216s] LD spl/drivers/mmc/built-in.o [ 216s] CC spl/lib/ctype.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from drivers/core/ofnode.c:7: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from drivers/core/of_extra.c:7: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/lib/div64.o [ 216s] CC spl/drivers/core/read_extra.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/linux/math64.h:5, [ 216s] from lib/div64.c:22: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/lib/hang.o [ 216s] LD spl/drivers/timer/built-in.o [ 216s] CC spl/lib/linux_compat.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/hang.c:10: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] CC spl/lib/linux_string.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/linux_compat.c:2: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/lib/lmb.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from drivers/core/read_extra.c:7: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/lib/membuff.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/lmb.c:9: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/membuff.c:9: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/lib/slre.o [ 216s] CC spl/lib/string.o [ 216s] CC spl/lib/tables_csum.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/slre.c:23: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/lib/time.o [ 216s] CC spl/lib/hexdump.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/tables_csum.c:6: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/time.c:7: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/hexdump.c:11: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 216s] CC spl/lib/uuid.o [ 216s] LD spl/drivers/core/built-in.o [ 216s] CC spl/lib/rand.o [ 216s] LD spl/drivers/built-in.o [ 216s] In file included from include/linux/bitops.h:136, [ 216s] from include/common.h:26, [ 216s] from lib/uuid.c:6: [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 216s] 98 | out = __test_and_clear_bit(nr, addr); [ 216s] | ^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 216s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 216s] | ~~~~~~^~~~ [ 216s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 216s] 95 | unsigned long flags = 0; [ 216s] | ^~~~~ [ 217s] CC spl/lib/panic.o [ 217s] In file included from include/linux/bitops.h:136, [ 217s] from include/common.h:26, [ 217s] from lib/rand.c:10: [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 217s] 98 | out = __test_and_clear_bit(nr, addr); [ 217s] | ^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 217s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 217s] | ~~~~~~^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 217s] 95 | unsigned long flags = 0; [ 217s] | ^~~~~ [ 217s] CC spl/lib/vsprintf.o [ 217s] CC spl/lib/strto.o [ 217s] CC spl/lib/abuf.o [ 217s] In file included from include/linux/bitops.h:136, [ 217s] from include/common.h:26, [ 217s] from lib/panic.c:12: [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 217s] 98 | out = __test_and_clear_bit(nr, addr); [ 217s] | ^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 217s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 217s] | ~~~~~~^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 217s] 95 | unsigned long flags = 0; [ 217s] | ^~~~~ [ 217s] In file included from include/linux/bitops.h:136, [ 217s] from include/common.h:26, [ 217s] from lib/vsprintf.c:16: [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 217s] 98 | out = __test_and_clear_bit(nr, addr); [ 217s] | ^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 217s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 217s] | ~~~~~~^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 217s] 95 | unsigned long flags = 0; [ 217s] | ^~~~~ [ 217s] In file included from include/linux/bitops.h:136, [ 217s] from include/common.h:26, [ 217s] from lib/abuf.c:10: [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 217s] 98 | out = __test_and_clear_bit(nr, addr); [ 217s] | ^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 217s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 217s] | ~~~~~~^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 217s] 95 | unsigned long flags = 0; [ 217s] | ^~~~~ [ 217s] In file included from include/linux/bitops.h:136, [ 217s] from include/common.h:26, [ 217s] from lib/strto.c:12: [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 217s] 98 | out = __test_and_clear_bit(nr, addr); [ 217s] | ^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 217s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 217s] | ~~~~~~^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 217s] 95 | unsigned long flags = 0; [ 217s] | ^~~~~ [ 217s] CC spl/lib/date.o [ 217s] In file included from include/linux/bitops.h:136, [ 217s] from include/common.h:26, [ 217s] from lib/date.c:7: [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h: In function 'test_and_clear_bit': [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:98:40: warning: passing argument 2 of '__test_and_clear_bit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 217s] 98 | out = __test_and_clear_bit(nr, addr); [ 217s] | ^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:81:54: note: expected 'void *' but argument is of type 'volatile void *' [ 217s] 81 | static inline int __test_and_clear_bit(int nr, void *addr) [ 217s] | ~~~~~~^~~~ [ 217s] /home/abuild/rpmbuild/BUILD/u-boot-2020.01/arch/riscv/include/asm/bitops.h:95:23: warning: unused variable 'flags' [-Wunused-variable] [ 217s] 95 | unsigned long flags = 0; [ 217s] | ^~~~~ [ 218s] LD spl/lib/built-in.o [ 218s] LD spl/u-boot-spl [ 218s] ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions [ 218s] OBJCOPY spl/u-boot-spl-nodtb.bin [ 218s] COPY spl/u-boot-spl.bin [ 219s] CAT u-boot-with-spl.bin [ 219s] ===================== WARNING ====================== [ 219s] This board does not use CONFIG_DM_USB. Please update [ 219s] the board to use CONFIG_DM_USB before the v2019.07 release. [ 219s] Failure to update by the deadline may result in board removal. [ 219s] See doc/driver-model/MIGRATION.txt for more info. [ 219s] ==================================================== [ 219s] ===================== WARNING ====================== [ 219s] CONFIG_OF_EMBED is enabled. This option should only [ 219s] be used for debugging purposes. Please use [ 219s] CONFIG_OF_SEPARATE for boards in mainline. [ 219s] See doc/README.fdt-control for more info. [ 219s] ==================================================== [ 219s] CFGCHK u-boot.cfg [ 219s] + ./scripts/get_default_envs.sh [ 220s] + mkenvimage -s 16384 -o uboot.env default_envs.txt [ 220s] + rm default_envs.txt [ 220s] + mkimage -A riscv -T script -C none -n 'Tizen LicheePi4A Board Script' -d ./tizen/bootscript/tizen-boot-lpi4a.scr ./boot.scr.uimg [ 220s] Image Name: Tizen LicheePi4A Board Script [ 220s] Created: Fri Dec 27 07:00:25 2024 [ 220s] Image Type: RISC-V Linux Script (uncompressed) [ 220s] Data Size: 4158 Bytes = 4.06 KiB = 0.00 MiB [ 220s] Load Address: 00000000 [ 220s] Entry Point: 00000000 [ 220s] Contents: [ 220s] Image 0: 4150 Bytes = 4.05 KiB = 0.00 MiB [ 220s] + exit 0 [ 220s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B19g4B [ 220s] + umask 022 [ 220s] + cd /home/abuild/rpmbuild/BUILD [ 220s] + cd u-boot-2020.01 [ 220s] + LANG=C [ 220s] + export LANG [ 220s] + unset DISPLAY [ 220s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 220s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 220s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 220s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot [ 220s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp [ 220s] + install -m 755 u-boot-with-spl.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 220s] + install -m 755 board/thead/light-c910/tizen/bootcode.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/var/tmp/ [ 220s] + install -m 755 uboot.env /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 220s] + install -m 755 boot.scr.uimg /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 220s] + install -m 755 lpi4a/fw_dynamic.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 220s] + install -m 755 lpi4a/light_aon_fpga.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 220s] + install -m 755 lpi4a/light_c906_audio.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64/boot/ [ 220s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 2020.01-0 --unique-debug-src-base u-boot-lpi4a-16g-2020.01-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/u-boot-2020.01 [ 221s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debuginfo.manifest [ 221s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-2020.01/u-boot-lpi4a-16g-debugsource.manifest [ 221s] + /usr/lib/rpm/check-buildroot [ 221s] + /usr/lib/rpm//brp-compress [ 221s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 222s] + /usr/lib/rpm/brp-python-hardlink [ 222s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 222s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/u-boot-2020.01/isu.list [ 222s] ~/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 ~/rpmbuild/BUILD/u-boot-2020.01 [ 222s] ~/rpmbuild/BUILD/u-boot-2020.01 [ 222s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 226s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 226s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 226s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 226s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 226s] error: Unable to open /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 226s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec: No such file or directory [ 226s] error: query of specfile /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-8g.spec [ 226s] /home/abuild/rpmbuild/SOURCES/u-boot-lpi4a-16g.spec failed, can't parse [ 226s] Processing files: u-boot-lpi4a-16g-2020.01-0.riscv64 [ 226s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 226s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 226s] [ 226s] Provides: u-boot-lpi4a-16g = 2020.01-0 u-boot-lpi4a-16g(riscv-64) = 2020.01-0 [ 226s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 226s] Processing files: u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64 [ 226s] warning: Empty %files file /home/abuild/rpmbuild/BUILD/u-boot-2020.01/debugsourcefiles.list [ 226s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 226s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 226s] [ 226s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 229s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-lpi4a-16g-2020.01-0.src.rpm [ 234s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-2020.01-0.riscv64.rpm [ 234s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/u-boot-lpi4a-16g-debugsource-2020.01-0.riscv64.rpm [ 234s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Bwf4B0 [ 234s] + umask 022 [ 234s] + cd /home/abuild/rpmbuild/BUILD [ 234s] + cd u-boot-2020.01 [ 234s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-lpi4a-16g-2020.01-0.riscv64 [ 234s] + exit 0 [ 234s] ... checking for files with abuild user/group [ 234s] ... creating baselibs [ 236s] [ 236s] ip-192-168-56-120 finished "build u-boot-lpi4a-16g.spec" at Fri Dec 27 07:00:41 UTC 2024. [ 236s]